diff --git a/stage0/src/Init/Lean/Elab/BuiltinNotation.lean b/stage0/src/Init/Lean/Elab/BuiltinNotation.lean index 8fcede142c..3cd8325824 100644 --- a/stage0/src/Init/Lean/Elab/BuiltinNotation.lean +++ b/stage0/src/Init/Lean/Elab/BuiltinNotation.lean @@ -13,8 +13,9 @@ namespace Term @[builtinTermElab dollar] def elabDollar : TermElab := adaptExpander $ fun stx => match_syntax stx with -| `($f $ $a) => `($f $a) -| _ => throwUnsupportedSyntax +| `($f $args* $ $a) => let args := args.push a; `($f $args*) +| `($f $ $a) => `($f $a) +| _ => throwUnsupportedSyntax @[builtinTermElab dollarProj] def elabDollarProj : TermElab := adaptExpander $ fun stx => match_syntax stx with diff --git a/stage0/src/Init/Lean/Elab/Term.lean b/stage0/src/Init/Lean/Elab/Term.lean index 84ba1ad973..02a1e77f7f 100644 --- a/stage0/src/Init/Lean/Elab/Term.lean +++ b/stage0/src/Init/Lean/Elab/Term.lean @@ -355,17 +355,10 @@ let instIdx := s.instImplicitIdx; modify $ fun s => { instImplicitIdx := s.instImplicitIdx + 1, .. s}; pure $ (`_inst).appendIndexAfter instIdx -/-- - Return true if the given syntax is a `Lean.Parser.Term.cdot` or - is a `Lean.Parser.Term.app` containing a `cdot`. - We use this function as a filter to skip `expandCDotAux` (the expensive part) - at `expandCDot?` -/ -private partial def hasCDot : Syntax → Bool -| stx => - match_syntax stx with - | `(·) => true - | `($f $a) => hasCDot f || hasCDot a - | _ => false +private partial def isCDot (stx : Syntax) : Bool := +match_syntax stx with +| `(·) => true +| _ => false /-- Auxiliary function for expandind the `·` notation. @@ -381,37 +374,29 @@ withFreshMacroScope $ pure id | _ => pure stx -/-- - Auxiliary function for expanding `·`s occurring as arguments of - applications (i.e., `Lean.Parser.Term.app` nodes). - Example: `foo · s` should expand into `foo _a_ s` where - `_a_` is a fresh identifier. -/ -private partial def expandCDotInApp : Syntax → StateT (Array Syntax) TermElabM Syntax -| n => - match_syntax n with - | `($f $a) => do f ← expandCDotInApp f; a ← expandCDot a; `($f $a) - | n => pure n - /-- Return `some` if succeeded expanding `·` notation occurring in the given syntax. Otherwise, return `none`. Examples: - `· + 1` => `fun _a_1 => _a_1 + 1` - `f · · b` => `fun _a_1 _a_2 => f _a_1 _a_2 b` -/ -def expandCDot? : Syntax → TermElabM (Option Syntax) -| n@(Syntax.node k args) => - if args.any hasCDot then - if k == `Lean.Parser.Term.app then do - (newNode, binders) ← (expandCDotInApp n).run #[]; - `(fun $binders* => $newNode) - else do { +def expandCDot? (stx : Syntax) : TermElabM (Option Syntax) := +match_syntax stx with +| `($f $args*) => + if args.any isCDot then do + (args, binders) ← (args.mapM expandCDot).run #[]; + `(fun $binders* => $f $args*) + else + pure none +| _ => match stx with + | Syntax.node k args => + if args.any isCDot then do (args, binders) ← (args.mapM expandCDot).run #[]; let newNode := Syntax.node k args; `(fun $binders* => $newNode) - } - else - pure none -| _ => pure none + else + pure none + | _ => pure none private def exceptionToSorry (ref : Syntax) (errMsg : Message) (expectedType? : Option Expr) : TermElabM Expr := do expectedType : Expr ← match expectedType? with diff --git a/stage0/src/Init/Lean/Elab/TermApp.lean b/stage0/src/Init/Lean/Elab/TermApp.lean index 4c55fc4853..28903ef5a2 100644 --- a/stage0/src/Init/Lean/Elab/TermApp.lean +++ b/stage0/src/Init/Lean/Elab/TermApp.lean @@ -381,17 +381,21 @@ else else mergeFailures candidates f -private partial def expandApp : Syntax → TermElabM (Syntax × Array NamedArg × Array Arg) -| stx => match_syntax stx with - | `($fn ($id := $arg)) => do - (stx, namedArgs, args) ← expandApp fn; - namedArgs ← addNamedArg id namedArgs { name := id.getId, val := Arg.stx arg }; - pure (stx, namedArgs, args) - | `($fn $arg) => do - (stx, namedArgs, args) ← expandApp fn; - let args := args.push $ Arg.stx arg; - pure (stx, namedArgs, args) - | _ => pure (stx, #[], #[]) +private partial def expandApp (stx : Syntax) : TermElabM (Syntax × Array NamedArg × Array Arg) := do +let f := stx.getArg 0; +(namedArgs, args) ← (stx.getArg 1).getArgs.foldlM + (fun (acc : Array NamedArg × Array Arg) (stx : Syntax) => do + let (namedArgs, args) := acc; + if stx.getKind == `Lean.Parser.Term.namedArgument then do + -- tparser! try ("(" >> ident >> " := ") >> termParser >> ")" + let name := (stx.getArg 1).getId; + let val := stx.getArg 3; + namedArgs ← addNamedArg stx namedArgs { name := name, val := Arg.stx val }; + pure (namedArgs, args) + else + pure (namedArgs, args.push $ Arg.stx stx)) + (#[], #[]); +pure (f, namedArgs, args) @[builtinTermElab app] def elabApp : TermElab := fun stx expectedType? => do @@ -405,11 +409,14 @@ fun stx expectedType? => let args := args.map Arg.stx; elabAppAux stx f #[] args expectedType? -@[builtinTermElab «id»] def elabId : TermElab := elabApp -@[builtinTermElab explicit] def elabExplicit : TermElab := elabApp -@[builtinTermElab choice] def elabChoice : TermElab := elabApp -@[builtinTermElab proj] def elabProj : TermElab := elabApp -@[builtinTermElab arrayRef] def elabArrayRef : TermElab := elabApp +def elabAtom : TermElab := +fun stx expectedType? => elabAppAux stx stx #[] #[] expectedType? + +@[builtinTermElab «id»] def elabId : TermElab := elabAtom +@[builtinTermElab explicit] def elabExplicit : TermElab := elabAtom +@[builtinTermElab choice] def elabChoice : TermElab := elabAtom +@[builtinTermElab proj] def elabProj : TermElab := elabAtom +@[builtinTermElab arrayRef] def elabArrayRef : TermElab := elabAtom @[builtinTermElab sortApp] def elabSortApp : TermElab := fun stx _ => do diff --git a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c index 486ec5c76a..b794b30299 100644 --- a/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Init/Lean/Elab/BuiltinNotation.c @@ -86,6 +86,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabShow___closed__2; lean_object* l_Lean_Elab_Term_elabDollar___lambda__1___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_seqLeft___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabseqLeft___closed__3; +extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAnd(lean_object*); extern lean_object* l_Lean_Parser_Term_where___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; @@ -355,9 +356,9 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppend___closed__2; lean_object* l_Lean_Elab_Term_elabWhere___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabPow___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMapConst___closed__3; -extern lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabModN___closed__3; lean_object* l_Lean_Elab_Term_elabGE(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLT___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabMapRev___closed__3; lean_object* l_Lean_Elab_Term_elabMapConstRev___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -578,7 +579,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabIf___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabLE___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBind___closed__2; extern lean_object* l_Lean_Parser_Term_modN___elambda__1___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabEquiv___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAndM___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAnoymousCtor___closed__2; @@ -586,6 +586,7 @@ lean_object* l_Lean_Elab_Term_elabNe___closed__2; extern lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__7; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabOrM(lean_object*); +extern lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAnoymousCtor(lean_object*); lean_object* l_Lean_Elab_Term_elabNe(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; @@ -627,125 +628,184 @@ lean_object* l_Lean_Elab_Term_elabAndM___boxed(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Term_elabDollar___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; +uint8_t x_4; lean_object* x_71; uint8_t x_72; +x_71 = l_Lean_Parser_Term_dollar___elambda__1___closed__2; lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +x_72 = l_Lean_Syntax_isOfKind(x_1, x_71); +if (x_72 == 0) +{ +uint8_t x_73; +x_73 = 0; +x_4 = x_73; +goto block_70; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +x_74 = l_Lean_Syntax_getArgs(x_1); +x_75 = lean_array_get_size(x_74); +lean_dec(x_74); +x_76 = lean_unsigned_to_nat(3u); +x_77 = lean_nat_dec_eq(x_75, x_76); +lean_dec(x_75); +x_4 = x_77; +goto block_70; +} +block_70: +{ +uint8_t x_5; +x_5 = l_coeDecidableEq(x_4); if (x_5 == 0) { -uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; -if (x_6 == 0) -{ -lean_object* x_7; +lean_object* x_6; lean_dec(x_1); -x_7 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); -return x_7; +x_6 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); +return x_6; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(2u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_63; uint8_t x_64; +x_7 = lean_unsigned_to_nat(0u); +x_8 = l_Lean_Syntax_getArg(x_1, x_7); +x_63 = l_Lean_Parser_Term_app___elambda__1___closed__2; +lean_inc(x_8); +x_64 = l_Lean_Syntax_isOfKind(x_8, x_63); +if (x_64 == 0) +{ +uint8_t x_65; +x_65 = 0; +x_9 = x_65; +goto block_62; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; +x_66 = l_Lean_Syntax_getArgs(x_8); +x_67 = lean_array_get_size(x_66); +lean_dec(x_66); +x_68 = lean_unsigned_to_nat(2u); +x_69 = lean_nat_dec_eq(x_67, x_68); +lean_dec(x_67); +x_9 = x_69; +goto block_62; +} +block_62: +{ +uint8_t x_10; +x_10 = l_coeDecidableEq(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_unsigned_to_nat(2u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); lean_dec(x_1); -x_12 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) +x_13 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_14 = lean_ctor_get(x_12, 0); -lean_dec(x_14); -x_15 = l_Array_empty___closed__1; -x_16 = lean_array_push(x_15, x_9); -x_17 = lean_array_push(x_16, x_11); -x_18 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_17); -lean_ctor_set(x_12, 0, x_19); -return x_12; +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_15 = lean_ctor_get(x_13, 0); +lean_dec(x_15); +x_16 = l_Array_empty___closed__1; +x_17 = lean_array_push(x_16, x_8); +x_18 = lean_array_push(x_16, x_12); +x_19 = l_Lean_nullKind___closed__2; +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_18); +x_21 = lean_array_push(x_17, x_20); +x_22 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_21); +lean_ctor_set(x_13, 0, x_23); +return x_13; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_20 = lean_ctor_get(x_12, 1); -lean_inc(x_20); -lean_dec(x_12); -x_21 = l_Array_empty___closed__1; -x_22 = lean_array_push(x_21, x_9); -x_23 = lean_array_push(x_22, x_11); -x_24 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_20); -return x_26; -} +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_24 = lean_ctor_get(x_13, 1); +lean_inc(x_24); +lean_dec(x_13); +x_25 = l_Array_empty___closed__1; +x_26 = lean_array_push(x_25, x_8); +x_27 = lean_array_push(x_25, x_12); +x_28 = l_Lean_nullKind___closed__2; +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +x_30 = lean_array_push(x_26, x_29); +x_31 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_24); +return x_33; } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; uint8_t x_31; -x_27 = l_Lean_Syntax_getArgs(x_1); -x_28 = lean_array_get_size(x_27); -lean_dec(x_27); -x_29 = lean_unsigned_to_nat(3u); -x_30 = lean_nat_dec_eq(x_28, x_29); -lean_dec(x_28); -x_31 = l_coeDecidableEq(x_30); -if (x_31 == 0) -{ -lean_object* x_32; +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_34 = l_Lean_Syntax_getArg(x_8, x_7); +x_35 = lean_unsigned_to_nat(1u); +x_36 = l_Lean_Syntax_getArg(x_8, x_35); +lean_dec(x_8); +x_37 = lean_unsigned_to_nat(2u); +x_38 = l_Lean_Syntax_getArg(x_1, x_37); lean_dec(x_1); -x_32 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); -return x_32; -} -else +x_39 = l_Lean_Syntax_getArgs(x_36); +lean_dec(x_36); +x_40 = lean_array_push(x_39, x_38); +x_41 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_33 = lean_unsigned_to_nat(0u); -x_34 = l_Lean_Syntax_getArg(x_1, x_33); -x_35 = lean_unsigned_to_nat(2u); -x_36 = l_Lean_Syntax_getArg(x_1, x_35); -lean_dec(x_1); -x_37 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_39 = lean_ctor_get(x_37, 0); -lean_dec(x_39); -x_40 = l_Array_empty___closed__1; -x_41 = lean_array_push(x_40, x_34); -x_42 = lean_array_push(x_41, x_36); -x_43 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_42); -lean_ctor_set(x_37, 0, x_44); -return x_37; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_45 = lean_ctor_get(x_37, 1); -lean_inc(x_45); -lean_dec(x_37); -x_46 = l_Array_empty___closed__1; -x_47 = lean_array_push(x_46, x_34); -x_48 = lean_array_push(x_47, x_36); -x_49 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_48); -x_51 = lean_alloc_ctor(0, 2, 0); +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_43 = lean_ctor_get(x_41, 0); +lean_dec(x_43); +x_44 = l_Array_empty___closed__1; +x_45 = lean_array_push(x_44, x_34); +x_46 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_40, x_40, x_7, x_44); +lean_dec(x_40); +x_47 = l_Lean_nullKind___closed__2; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +x_49 = lean_array_push(x_45, x_48); +x_50 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_45); -return x_51; +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_41, 0, x_51); +return x_41; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_52 = lean_ctor_get(x_41, 1); +lean_inc(x_52); +lean_dec(x_41); +x_53 = l_Array_empty___closed__1; +x_54 = lean_array_push(x_53, x_34); +x_55 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_40, x_40, x_7, x_53); +lean_dec(x_40); +x_56 = l_Lean_nullKind___closed__2; +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_55); +x_58 = lean_array_push(x_54, x_57); +x_59 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_52); +return x_61; +} +} } } } @@ -836,7 +896,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -1126,30 +1186,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabIf___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_196; uint8_t x_197; -x_196 = l_Lean_Parser_Term_if___elambda__1___closed__2; +uint8_t x_4; lean_object* x_190; uint8_t x_191; +x_190 = l_Lean_Parser_Term_if___elambda__1___closed__2; lean_inc(x_1); -x_197 = l_Lean_Syntax_isOfKind(x_1, x_196); -if (x_197 == 0) +x_191 = l_Lean_Syntax_isOfKind(x_1, x_190); +if (x_191 == 0) { -uint8_t x_198; -x_198 = 0; -x_4 = x_198; -goto block_195; +uint8_t x_192; +x_192 = 0; +x_4 = x_192; +goto block_189; } else { -lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_199 = l_Lean_Syntax_getArgs(x_1); -x_200 = lean_array_get_size(x_199); -lean_dec(x_199); -x_201 = lean_unsigned_to_nat(7u); -x_202 = lean_nat_dec_eq(x_200, x_201); -lean_dec(x_200); -x_4 = x_202; -goto block_195; +lean_object* x_193; lean_object* x_194; lean_object* x_195; uint8_t x_196; +x_193 = l_Lean_Syntax_getArgs(x_1); +x_194 = lean_array_get_size(x_193); +lean_dec(x_193); +x_195 = lean_unsigned_to_nat(7u); +x_196 = lean_nat_dec_eq(x_194, x_195); +lean_dec(x_194); +x_4 = x_196; +goto block_189; } -block_195: +block_189: { uint8_t x_5; x_5 = l_coeDecidableEq(x_4); @@ -1162,32 +1222,32 @@ return x_6; } else { -lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_69; uint8_t x_70; uint8_t x_71; +lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_67; uint8_t x_68; uint8_t x_69; x_7 = lean_unsigned_to_nat(1u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_69 = l_Lean_nullKind___closed__2; +x_67 = l_Lean_nullKind___closed__2; lean_inc(x_8); -x_70 = l_Lean_Syntax_isOfKind(x_8, x_69); -if (x_70 == 0) +x_68 = l_Lean_Syntax_isOfKind(x_8, x_67); +if (x_68 == 0) { -uint8_t x_190; -x_190 = 0; -x_71 = x_190; -goto block_189; +uint8_t x_184; +x_184 = 0; +x_69 = x_184; +goto block_183; } else { -lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t x_194; -x_191 = l_Lean_Syntax_getArgs(x_8); -x_192 = lean_array_get_size(x_191); -lean_dec(x_191); -x_193 = lean_unsigned_to_nat(2u); -x_194 = lean_nat_dec_eq(x_192, x_193); -lean_dec(x_192); -x_71 = x_194; -goto block_189; +lean_object* x_185; lean_object* x_186; lean_object* x_187; uint8_t x_188; +x_185 = l_Lean_Syntax_getArgs(x_8); +x_186 = lean_array_get_size(x_185); +lean_dec(x_185); +x_187 = lean_unsigned_to_nat(2u); +x_188 = lean_nat_dec_eq(x_186, x_187); +lean_dec(x_186); +x_69 = x_188; +goto block_183; } -block_68: +block_66: { uint8_t x_10; x_10 = l_coeDecidableEq(x_9); @@ -1212,7 +1272,7 @@ x_18 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_20 = lean_ctor_get(x_18, 0); x_21 = lean_box(0); x_22 = l_Lean_Elab_Term_elabIf___lambda__1___closed__1; @@ -1233,286 +1293,272 @@ x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); x_33 = lean_array_push(x_27, x_32); -x_34 = lean_array_push(x_33, x_13); -x_35 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_array_push(x_27, x_36); -x_38 = lean_array_push(x_37, x_15); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_38); -x_40 = lean_array_push(x_27, x_39); -x_41 = lean_array_push(x_40, x_17); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_35); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_18, 0, x_42); +x_34 = lean_array_push(x_27, x_13); +x_35 = lean_array_push(x_34, x_15); +x_36 = lean_array_push(x_35, x_17); +x_37 = l_Lean_nullKind___closed__2; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_array_push(x_33, x_38); +x_40 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +lean_ctor_set(x_18, 0, x_41); return x_18; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_43 = lean_ctor_get(x_18, 0); -x_44 = lean_ctor_get(x_18, 1); -lean_inc(x_44); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_42 = lean_ctor_get(x_18, 0); +x_43 = lean_ctor_get(x_18, 1); lean_inc(x_43); +lean_inc(x_42); lean_dec(x_18); -x_45 = lean_box(0); -x_46 = l_Lean_Elab_Term_elabIf___lambda__1___closed__1; -x_47 = lean_name_mk_numeral(x_46, x_43); -x_48 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___closed__3; -x_49 = l_Lean_Elab_Term_elabIf___lambda__1___closed__3; -x_50 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_50, 0, x_45); -lean_ctor_set(x_50, 1, x_48); -lean_ctor_set(x_50, 2, x_47); -lean_ctor_set(x_50, 3, x_49); -x_51 = l_Array_empty___closed__1; -x_52 = lean_array_push(x_51, x_50); -x_53 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_54 = lean_array_push(x_52, x_53); -x_55 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = lean_array_push(x_51, x_56); -x_58 = lean_array_push(x_57, x_13); -x_59 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_58); -x_61 = lean_array_push(x_51, x_60); -x_62 = lean_array_push(x_61, x_15); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_59); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_array_push(x_51, x_63); -x_65 = lean_array_push(x_64, x_17); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_59); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_44); -return x_67; +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Term_elabIf___lambda__1___closed__1; +x_46 = lean_name_mk_numeral(x_45, x_42); +x_47 = l___private_Init_Lean_Elab_Quotation_14__toPreterm___main___lambda__3___closed__3; +x_48 = l_Lean_Elab_Term_elabIf___lambda__1___closed__3; +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_48); +x_50 = l_Array_empty___closed__1; +x_51 = lean_array_push(x_50, x_49); +x_52 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_53 = lean_array_push(x_51, x_52); +x_54 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_array_push(x_50, x_55); +x_57 = lean_array_push(x_50, x_13); +x_58 = lean_array_push(x_57, x_15); +x_59 = lean_array_push(x_58, x_17); +x_60 = l_Lean_nullKind___closed__2; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_array_push(x_56, x_61); +x_63 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_43); +return x_65; } } } -block_189: -{ -uint8_t x_72; -x_72 = l_coeDecidableEq(x_71); -if (x_72 == 0) +block_183: { +uint8_t x_70; +x_70 = l_coeDecidableEq(x_69); if (x_70 == 0) { -uint8_t x_73; +if (x_68 == 0) +{ +uint8_t x_71; lean_dec(x_8); -x_73 = 0; -x_9 = x_73; -goto block_68; +x_71 = 0; +x_9 = x_71; +goto block_66; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; -x_74 = l_Lean_Syntax_getArgs(x_8); +lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_72 = l_Lean_Syntax_getArgs(x_8); lean_dec(x_8); -x_75 = lean_array_get_size(x_74); -lean_dec(x_74); +x_73 = lean_array_get_size(x_72); +lean_dec(x_72); +x_74 = lean_unsigned_to_nat(0u); +x_75 = lean_nat_dec_eq(x_73, x_74); +lean_dec(x_73); +x_9 = x_75; +goto block_66; +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t x_86; x_76 = lean_unsigned_to_nat(0u); -x_77 = lean_nat_dec_eq(x_75, x_76); -lean_dec(x_75); -x_9 = x_77; -goto block_68; -} -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; -x_78 = lean_unsigned_to_nat(0u); -x_79 = l_Lean_Syntax_getArg(x_8, x_78); +x_77 = l_Lean_Syntax_getArg(x_8, x_76); lean_dec(x_8); -x_80 = lean_unsigned_to_nat(2u); +x_78 = lean_unsigned_to_nat(2u); +x_79 = l_Lean_Syntax_getArg(x_1, x_78); +x_80 = lean_unsigned_to_nat(4u); x_81 = l_Lean_Syntax_getArg(x_1, x_80); -x_82 = lean_unsigned_to_nat(4u); +x_82 = lean_unsigned_to_nat(6u); x_83 = l_Lean_Syntax_getArg(x_1, x_82); -x_84 = lean_unsigned_to_nat(6u); -x_85 = l_Lean_Syntax_getArg(x_1, x_84); lean_dec(x_1); -x_86 = l_Lean_mkTermIdFromIdent(x_79); -x_87 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) +x_84 = l_Lean_mkTermIdFromIdent(x_77); +x_85 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_89 = lean_ctor_get(x_87, 0); -x_90 = lean_box(0); -x_91 = l_Lean_Elab_Term_elabIf___lambda__1___closed__7; -x_92 = lean_name_mk_numeral(x_91, x_89); -x_93 = l_Lean_Elab_Term_elabIf___lambda__1___closed__6; -x_94 = l_Lean_Elab_Term_elabIf___lambda__1___closed__9; -x_95 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_95, 0, x_90); -lean_ctor_set(x_95, 1, x_93); -lean_ctor_set(x_95, 2, x_92); -lean_ctor_set(x_95, 3, x_94); -x_96 = l_Array_empty___closed__1; -x_97 = lean_array_push(x_96, x_95); -x_98 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_99 = lean_array_push(x_97, x_98); -x_100 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = lean_array_push(x_96, x_101); -x_103 = lean_array_push(x_102, x_81); -x_104 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = lean_array_push(x_96, x_105); -x_107 = lean_array_push(x_96, x_86); -x_108 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_108, 0, x_69); -lean_ctor_set(x_108, 1, x_107); -x_109 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_110 = lean_array_push(x_109, x_108); -x_111 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_112 = lean_array_push(x_110, x_111); -lean_inc(x_112); -x_113 = lean_array_push(x_112, x_83); -x_114 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_113); -x_116 = lean_array_push(x_96, x_115); -x_117 = lean_array_push(x_116, x_98); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_69); -lean_ctor_set(x_118, 1, x_117); -x_119 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_120 = lean_array_push(x_119, x_118); -x_121 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_122 = lean_array_push(x_120, x_121); -x_123 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_124 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_122); -x_125 = lean_array_push(x_106, x_124); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_104); -lean_ctor_set(x_126, 1, x_125); -x_127 = lean_array_push(x_96, x_126); -x_128 = lean_array_push(x_112, x_85); -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_114); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_96, x_129); -x_131 = lean_array_push(x_130, x_98); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_69); -lean_ctor_set(x_132, 1, x_131); -x_133 = lean_array_push(x_119, x_132); -x_134 = lean_array_push(x_133, x_121); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_123); -lean_ctor_set(x_135, 1, x_134); -x_136 = lean_array_push(x_127, x_135); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_104); -lean_ctor_set(x_137, 1, x_136); -lean_ctor_set(x_87, 0, x_137); -return x_87; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_87 = lean_ctor_get(x_85, 0); +x_88 = lean_box(0); +x_89 = l_Lean_Elab_Term_elabIf___lambda__1___closed__7; +x_90 = lean_name_mk_numeral(x_89, x_87); +x_91 = l_Lean_Elab_Term_elabIf___lambda__1___closed__6; +x_92 = l_Lean_Elab_Term_elabIf___lambda__1___closed__9; +x_93 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_93, 0, x_88); +lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 2, x_90); +lean_ctor_set(x_93, 3, x_92); +x_94 = l_Array_empty___closed__1; +x_95 = lean_array_push(x_94, x_93); +x_96 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_97 = lean_array_push(x_95, x_96); +x_98 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_99 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = lean_array_push(x_94, x_99); +x_101 = lean_array_push(x_94, x_79); +x_102 = lean_array_push(x_94, x_84); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_67); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_105 = lean_array_push(x_104, x_103); +x_106 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_107 = lean_array_push(x_105, x_106); +lean_inc(x_107); +x_108 = lean_array_push(x_107, x_81); +x_109 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_array_push(x_94, x_110); +x_112 = lean_array_push(x_111, x_96); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_67); +lean_ctor_set(x_113, 1, x_112); +x_114 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_115 = lean_array_push(x_114, x_113); +x_116 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_117 = lean_array_push(x_115, x_116); +x_118 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_117); +x_120 = lean_array_push(x_101, x_119); +x_121 = lean_array_push(x_107, x_83); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_109); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_94, x_122); +x_124 = lean_array_push(x_123, x_96); +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_67); +lean_ctor_set(x_125, 1, x_124); +x_126 = lean_array_push(x_114, x_125); +x_127 = lean_array_push(x_126, x_116); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_118); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_120, x_128); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_67); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_array_push(x_100, x_130); +x_132 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +lean_ctor_set(x_85, 0, x_133); +return x_85; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -x_138 = lean_ctor_get(x_87, 0); -x_139 = lean_ctor_get(x_87, 1); -lean_inc(x_139); -lean_inc(x_138); -lean_dec(x_87); -x_140 = lean_box(0); -x_141 = l_Lean_Elab_Term_elabIf___lambda__1___closed__7; -x_142 = lean_name_mk_numeral(x_141, x_138); -x_143 = l_Lean_Elab_Term_elabIf___lambda__1___closed__6; -x_144 = l_Lean_Elab_Term_elabIf___lambda__1___closed__9; -x_145 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_145, 0, x_140); -lean_ctor_set(x_145, 1, x_143); -lean_ctor_set(x_145, 2, x_142); -lean_ctor_set(x_145, 3, x_144); -x_146 = l_Array_empty___closed__1; -x_147 = lean_array_push(x_146, x_145); -x_148 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_149 = lean_array_push(x_147, x_148); -x_150 = l_Lean_Parser_Term_id___elambda__1___closed__2; +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; +x_134 = lean_ctor_get(x_85, 0); +x_135 = lean_ctor_get(x_85, 1); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_85); +x_136 = lean_box(0); +x_137 = l_Lean_Elab_Term_elabIf___lambda__1___closed__7; +x_138 = lean_name_mk_numeral(x_137, x_134); +x_139 = l_Lean_Elab_Term_elabIf___lambda__1___closed__6; +x_140 = l_Lean_Elab_Term_elabIf___lambda__1___closed__9; +x_141 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_141, 0, x_136); +lean_ctor_set(x_141, 1, x_139); +lean_ctor_set(x_141, 2, x_138); +lean_ctor_set(x_141, 3, x_140); +x_142 = l_Array_empty___closed__1; +x_143 = lean_array_push(x_142, x_141); +x_144 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_145 = lean_array_push(x_143, x_144); +x_146 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_147 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +x_148 = lean_array_push(x_142, x_147); +x_149 = lean_array_push(x_142, x_79); +x_150 = lean_array_push(x_142, x_84); x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -x_152 = lean_array_push(x_146, x_151); -x_153 = lean_array_push(x_152, x_81); -x_154 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_array_push(x_146, x_155); -x_157 = lean_array_push(x_146, x_86); +lean_ctor_set(x_151, 0, x_67); +lean_ctor_set(x_151, 1, x_150); +x_152 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_153 = lean_array_push(x_152, x_151); +x_154 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_155 = lean_array_push(x_153, x_154); +lean_inc(x_155); +x_156 = lean_array_push(x_155, x_81); +x_157 = l_Lean_Parser_Term_fun___elambda__1___closed__2; x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_69); -lean_ctor_set(x_158, 1, x_157); -x_159 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_160 = lean_array_push(x_159, x_158); -x_161 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_162 = lean_array_push(x_160, x_161); -lean_inc(x_162); -x_163 = lean_array_push(x_162, x_83); -x_164 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -x_166 = lean_array_push(x_146, x_165); -x_167 = lean_array_push(x_166, x_148); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_69); -lean_ctor_set(x_168, 1, x_167); -x_169 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_170 = lean_array_push(x_169, x_168); -x_171 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_172 = lean_array_push(x_170, x_171); -x_173 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = lean_array_push(x_156, x_174); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = lean_array_push(x_142, x_158); +x_160 = lean_array_push(x_159, x_144); +x_161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_161, 0, x_67); +lean_ctor_set(x_161, 1, x_160); +x_162 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_163 = lean_array_push(x_162, x_161); +x_164 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_165 = lean_array_push(x_163, x_164); +x_166 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = lean_array_push(x_149, x_167); +x_169 = lean_array_push(x_155, x_83); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_157); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_array_push(x_142, x_170); +x_172 = lean_array_push(x_171, x_144); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_67); +lean_ctor_set(x_173, 1, x_172); +x_174 = lean_array_push(x_162, x_173); +x_175 = lean_array_push(x_174, x_164); x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_154); +lean_ctor_set(x_176, 0, x_166); lean_ctor_set(x_176, 1, x_175); -x_177 = lean_array_push(x_146, x_176); -x_178 = lean_array_push(x_162, x_85); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_164); -lean_ctor_set(x_179, 1, x_178); -x_180 = lean_array_push(x_146, x_179); -x_181 = lean_array_push(x_180, x_148); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_69); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_array_push(x_169, x_182); -x_184 = lean_array_push(x_183, x_171); -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_173); -lean_ctor_set(x_185, 1, x_184); -x_186 = lean_array_push(x_177, x_185); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_154); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_188, 0, x_187); -lean_ctor_set(x_188, 1, x_139); -return x_188; +x_177 = lean_array_push(x_168, x_176); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_67); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_array_push(x_148, x_178); +x_180 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_181 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_179); +x_182 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_182, 0, x_181); +lean_ctor_set(x_182, 1, x_135); +return x_182; } } } @@ -1717,30 +1763,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabSubtype___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_237; uint8_t x_238; -x_237 = l_Lean_Parser_Term_subtype___elambda__1___closed__2; +uint8_t x_4; lean_object* x_245; uint8_t x_246; +x_245 = l_Lean_Parser_Term_subtype___elambda__1___closed__2; lean_inc(x_1); -x_238 = l_Lean_Syntax_isOfKind(x_1, x_237); -if (x_238 == 0) +x_246 = l_Lean_Syntax_isOfKind(x_1, x_245); +if (x_246 == 0) { -uint8_t x_239; -x_239 = 0; -x_4 = x_239; -goto block_236; +uint8_t x_247; +x_247 = 0; +x_4 = x_247; +goto block_244; } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; -x_240 = l_Lean_Syntax_getArgs(x_1); -x_241 = lean_array_get_size(x_240); -lean_dec(x_240); -x_242 = lean_unsigned_to_nat(6u); -x_243 = lean_nat_dec_eq(x_241, x_242); -lean_dec(x_241); -x_4 = x_243; -goto block_236; +lean_object* x_248; lean_object* x_249; lean_object* x_250; uint8_t x_251; +x_248 = l_Lean_Syntax_getArgs(x_1); +x_249 = lean_array_get_size(x_248); +lean_dec(x_248); +x_250 = lean_unsigned_to_nat(6u); +x_251 = lean_nat_dec_eq(x_249, x_250); +lean_dec(x_249); +x_4 = x_251; +goto block_244; } -block_236: +block_244: { uint8_t x_5; x_5 = l_coeDecidableEq(x_4); @@ -1753,33 +1799,33 @@ return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_108; uint8_t x_109; uint8_t x_110; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_112; uint8_t x_113; uint8_t x_114; x_7 = lean_unsigned_to_nat(1u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); x_9 = lean_unsigned_to_nat(2u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_108 = l_Lean_nullKind___closed__2; +x_112 = l_Lean_nullKind___closed__2; lean_inc(x_10); -x_109 = l_Lean_Syntax_isOfKind(x_10, x_108); -if (x_109 == 0) +x_113 = l_Lean_Syntax_isOfKind(x_10, x_112); +if (x_113 == 0) { -uint8_t x_232; -x_232 = 0; -x_110 = x_232; -goto block_231; +uint8_t x_240; +x_240 = 0; +x_114 = x_240; +goto block_239; } else { -lean_object* x_233; lean_object* x_234; uint8_t x_235; -x_233 = l_Lean_Syntax_getArgs(x_10); -x_234 = lean_array_get_size(x_233); -lean_dec(x_233); -x_235 = lean_nat_dec_eq(x_234, x_7); -lean_dec(x_234); -x_110 = x_235; -goto block_231; +lean_object* x_241; lean_object* x_242; uint8_t x_243; +x_241 = l_Lean_Syntax_getArgs(x_10); +x_242 = lean_array_get_size(x_241); +lean_dec(x_241); +x_243 = lean_nat_dec_eq(x_242, x_7); +lean_dec(x_242); +x_114 = x_243; +goto block_239; } -block_107: +block_111: { uint8_t x_12; x_12 = l_coeDecidableEq(x_11); @@ -1802,7 +1848,7 @@ x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; x_19 = lean_ctor_get(x_17, 0); x_20 = lean_box(0); x_21 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; @@ -1861,329 +1907,345 @@ x_57 = lean_array_push(x_56, x_40); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_42); lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_32, x_58); -x_60 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -lean_ctor_set(x_17, 0, x_61); +x_59 = lean_array_push(x_26, x_58); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_36); +lean_ctor_set(x_60, 1, x_59); +x_61 = lean_array_push(x_32, x_60); +x_62 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_17, 0, x_63); return x_17; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_62 = lean_ctor_get(x_17, 0); -x_63 = lean_ctor_get(x_17, 1); -lean_inc(x_63); -lean_inc(x_62); +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_64 = lean_ctor_get(x_17, 0); +x_65 = lean_ctor_get(x_17, 1); +lean_inc(x_65); +lean_inc(x_64); lean_dec(x_17); -x_64 = lean_box(0); -x_65 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; -x_66 = lean_name_mk_numeral(x_65, x_62); -x_67 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__3; -x_68 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__6; -x_69 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_69, 0, x_64); -lean_ctor_set(x_69, 1, x_67); -lean_ctor_set(x_69, 2, x_66); -lean_ctor_set(x_69, 3, x_68); -x_70 = l_Array_empty___closed__1; -x_71 = lean_array_push(x_70, x_69); -x_72 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_73 = lean_array_push(x_71, x_72); -x_74 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = lean_array_push(x_70, x_75); -x_77 = lean_array_push(x_70, x_16); -x_78 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__12; -x_79 = lean_array_push(x_77, x_78); -x_80 = l_Lean_nullKind___closed__2; -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -x_82 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_83 = lean_array_push(x_82, x_81); -x_84 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_85 = lean_array_push(x_83, x_84); -x_86 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -x_88 = lean_array_push(x_70, x_87); +x_66 = lean_box(0); +x_67 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; +x_68 = lean_name_mk_numeral(x_67, x_64); +x_69 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__3; +x_70 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__6; +x_71 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_71, 0, x_66); +lean_ctor_set(x_71, 1, x_69); +lean_ctor_set(x_71, 2, x_68); +lean_ctor_set(x_71, 3, x_70); +x_72 = l_Array_empty___closed__1; +x_73 = lean_array_push(x_72, x_71); +x_74 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_75 = lean_array_push(x_73, x_74); +x_76 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +x_78 = lean_array_push(x_72, x_77); +x_79 = lean_array_push(x_72, x_16); +x_80 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__12; +x_81 = lean_array_push(x_79, x_80); +x_82 = l_Lean_nullKind___closed__2; +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_81); +x_84 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_85 = lean_array_push(x_84, x_83); +x_86 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_87 = lean_array_push(x_85, x_86); +x_88 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_80); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_91 = lean_array_push(x_90, x_89); -x_92 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_93 = lean_array_push(x_91, x_92); -x_94 = lean_array_push(x_93, x_15); -x_95 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = lean_array_push(x_70, x_96); -x_98 = lean_array_push(x_97, x_72); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_80); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_82, x_99); -x_101 = lean_array_push(x_100, x_84); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_86); -lean_ctor_set(x_102, 1, x_101); -x_103 = lean_array_push(x_76, x_102); -x_104 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_63); -return x_106; +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = lean_array_push(x_72, x_89); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_82); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_93 = lean_array_push(x_92, x_91); +x_94 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_95 = lean_array_push(x_93, x_94); +x_96 = lean_array_push(x_95, x_15); +x_97 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = lean_array_push(x_72, x_98); +x_100 = lean_array_push(x_99, x_74); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_82); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_array_push(x_84, x_101); +x_103 = lean_array_push(x_102, x_86); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_88); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_array_push(x_72, x_104); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_82); +lean_ctor_set(x_106, 1, x_105); +x_107 = lean_array_push(x_78, x_106); +x_108 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_107); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_65); +return x_110; } } } -block_231: +block_239: { -uint8_t x_111; -x_111 = l_coeDecidableEq(x_110); -if (x_111 == 0) +uint8_t x_115; +x_115 = l_coeDecidableEq(x_114); +if (x_115 == 0) { -if (x_109 == 0) +if (x_113 == 0) { -uint8_t x_112; +uint8_t x_116; lean_dec(x_10); -x_112 = 0; -x_11 = x_112; -goto block_107; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_113 = l_Lean_Syntax_getArgs(x_10); -lean_dec(x_10); -x_114 = lean_array_get_size(x_113); -lean_dec(x_113); -x_115 = lean_unsigned_to_nat(0u); -x_116 = lean_nat_dec_eq(x_114, x_115); -lean_dec(x_114); +x_116 = 0; x_11 = x_116; -goto block_107; -} +goto block_111; } else { -lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_225; uint8_t x_226; -x_117 = lean_unsigned_to_nat(0u); -x_118 = l_Lean_Syntax_getArg(x_10, x_117); +lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_117 = l_Lean_Syntax_getArgs(x_10); lean_dec(x_10); -x_225 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; -lean_inc(x_118); -x_226 = l_Lean_Syntax_isOfKind(x_118, x_225); -if (x_226 == 0) -{ -uint8_t x_227; -x_227 = 0; -x_119 = x_227; -goto block_224; +x_118 = lean_array_get_size(x_117); +lean_dec(x_117); +x_119 = lean_unsigned_to_nat(0u); +x_120 = lean_nat_dec_eq(x_118, x_119); +lean_dec(x_118); +x_11 = x_120; +goto block_111; +} } else { -lean_object* x_228; lean_object* x_229; uint8_t x_230; -x_228 = l_Lean_Syntax_getArgs(x_118); -x_229 = lean_array_get_size(x_228); -lean_dec(x_228); -x_230 = lean_nat_dec_eq(x_229, x_9); -lean_dec(x_229); -x_119 = x_230; -goto block_224; +lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_233; uint8_t x_234; +x_121 = lean_unsigned_to_nat(0u); +x_122 = l_Lean_Syntax_getArg(x_10, x_121); +lean_dec(x_10); +x_233 = l_Lean_Parser_Term_typeSpec___elambda__1___closed__2; +lean_inc(x_122); +x_234 = l_Lean_Syntax_isOfKind(x_122, x_233); +if (x_234 == 0) +{ +uint8_t x_235; +x_235 = 0; +x_123 = x_235; +goto block_232; } -block_224: +else { -uint8_t x_120; -x_120 = l_coeDecidableEq(x_119); -if (x_120 == 0) +lean_object* x_236; lean_object* x_237; uint8_t x_238; +x_236 = l_Lean_Syntax_getArgs(x_122); +x_237 = lean_array_get_size(x_236); +lean_dec(x_236); +x_238 = lean_nat_dec_eq(x_237, x_9); +lean_dec(x_237); +x_123 = x_238; +goto block_232; +} +block_232: { -lean_object* x_121; -lean_dec(x_118); +uint8_t x_124; +x_124 = l_coeDecidableEq(x_123); +if (x_124 == 0) +{ +lean_object* x_125; +lean_dec(x_122); lean_dec(x_8); lean_dec(x_1); -x_121 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); -return x_121; +x_125 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); +return x_125; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; -x_122 = l_Lean_Syntax_getArg(x_118, x_7); -lean_dec(x_118); -x_123 = lean_unsigned_to_nat(4u); -x_124 = l_Lean_Syntax_getArg(x_1, x_123); +lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; +x_126 = l_Lean_Syntax_getArg(x_122, x_7); +lean_dec(x_122); +x_127 = lean_unsigned_to_nat(4u); +x_128 = l_Lean_Syntax_getArg(x_1, x_127); lean_dec(x_1); -x_125 = l_Lean_mkTermIdFromIdent(x_8); -x_126 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -x_127 = !lean_is_exclusive(x_126); -if (x_127 == 0) +x_129 = l_Lean_mkTermIdFromIdent(x_8); +x_130 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); +x_131 = !lean_is_exclusive(x_130); +if (x_131 == 0) { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_128 = lean_ctor_get(x_126, 0); -x_129 = lean_box(0); -x_130 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; -x_131 = lean_name_mk_numeral(x_130, x_128); -x_132 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__3; -x_133 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__6; -x_134 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_134, 0, x_129); -lean_ctor_set(x_134, 1, x_132); -lean_ctor_set(x_134, 2, x_131); -lean_ctor_set(x_134, 3, x_133); -x_135 = l_Array_empty___closed__1; -x_136 = lean_array_push(x_135, x_134); -x_137 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_138 = lean_array_push(x_136, x_137); -x_139 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_138); -x_141 = lean_array_push(x_135, x_140); -x_142 = lean_array_push(x_135, x_125); -x_143 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_144 = lean_array_push(x_143, x_122); -x_145 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_144); -x_147 = lean_array_push(x_135, x_146); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_108); -lean_ctor_set(x_148, 1, x_147); -x_149 = lean_array_push(x_142, x_148); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_132 = lean_ctor_get(x_130, 0); +x_133 = lean_box(0); +x_134 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; +x_135 = lean_name_mk_numeral(x_134, x_132); +x_136 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__3; +x_137 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__6; +x_138 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_138, 0, x_133); +lean_ctor_set(x_138, 1, x_136); +lean_ctor_set(x_138, 2, x_135); +lean_ctor_set(x_138, 3, x_137); +x_139 = l_Array_empty___closed__1; +x_140 = lean_array_push(x_139, x_138); +x_141 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_142 = lean_array_push(x_140, x_141); +x_143 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_142); +x_145 = lean_array_push(x_139, x_144); +x_146 = lean_array_push(x_139, x_129); +x_147 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_148 = lean_array_push(x_147, x_126); +x_149 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; x_150 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_150, 0, x_108); -lean_ctor_set(x_150, 1, x_149); -x_151 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_152 = lean_array_push(x_151, x_150); -x_153 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_154 = lean_array_push(x_152, x_153); -x_155 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -x_157 = lean_array_push(x_135, x_156); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_108); -lean_ctor_set(x_158, 1, x_157); -x_159 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_160 = lean_array_push(x_159, x_158); -x_161 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_162 = lean_array_push(x_160, x_161); -x_163 = lean_array_push(x_162, x_124); -x_164 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_165 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_163); -x_166 = lean_array_push(x_135, x_165); -x_167 = lean_array_push(x_166, x_137); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_108); -lean_ctor_set(x_168, 1, x_167); -x_169 = lean_array_push(x_151, x_168); -x_170 = lean_array_push(x_169, x_153); -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_155); -lean_ctor_set(x_171, 1, x_170); -x_172 = lean_array_push(x_141, x_171); -x_173 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -lean_ctor_set(x_126, 0, x_174); -return x_126; +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_148); +x_151 = lean_array_push(x_139, x_150); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_112); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_array_push(x_146, x_152); +x_154 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_154, 0, x_112); +lean_ctor_set(x_154, 1, x_153); +x_155 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_156 = lean_array_push(x_155, x_154); +x_157 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_158 = lean_array_push(x_156, x_157); +x_159 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +x_161 = lean_array_push(x_139, x_160); +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_112); +lean_ctor_set(x_162, 1, x_161); +x_163 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_164 = lean_array_push(x_163, x_162); +x_165 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_166 = lean_array_push(x_164, x_165); +x_167 = lean_array_push(x_166, x_128); +x_168 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_167); +x_170 = lean_array_push(x_139, x_169); +x_171 = lean_array_push(x_170, x_141); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_112); +lean_ctor_set(x_172, 1, x_171); +x_173 = lean_array_push(x_155, x_172); +x_174 = lean_array_push(x_173, x_157); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_159); +lean_ctor_set(x_175, 1, x_174); +x_176 = lean_array_push(x_139, x_175); +x_177 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_177, 0, x_112); +lean_ctor_set(x_177, 1, x_176); +x_178 = lean_array_push(x_145, x_177); +x_179 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +lean_ctor_set(x_130, 0, x_180); +return x_130; } else { -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -x_175 = lean_ctor_get(x_126, 0); -x_176 = lean_ctor_get(x_126, 1); -lean_inc(x_176); -lean_inc(x_175); -lean_dec(x_126); -x_177 = lean_box(0); -x_178 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; -x_179 = lean_name_mk_numeral(x_178, x_175); -x_180 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__3; -x_181 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__6; -x_182 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_182, 0, x_177); -lean_ctor_set(x_182, 1, x_180); -lean_ctor_set(x_182, 2, x_179); -lean_ctor_set(x_182, 3, x_181); -x_183 = l_Array_empty___closed__1; -x_184 = lean_array_push(x_183, x_182); -x_185 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_186 = lean_array_push(x_184, x_185); -x_187 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_188, 0, x_187); +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_181 = lean_ctor_get(x_130, 0); +x_182 = lean_ctor_get(x_130, 1); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_130); +x_183 = lean_box(0); +x_184 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__4; +x_185 = lean_name_mk_numeral(x_184, x_181); +x_186 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__3; +x_187 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__6; +x_188 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_188, 0, x_183); lean_ctor_set(x_188, 1, x_186); -x_189 = lean_array_push(x_183, x_188); -x_190 = lean_array_push(x_183, x_125); -x_191 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_192 = lean_array_push(x_191, x_122); -x_193 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +lean_ctor_set(x_188, 2, x_185); +lean_ctor_set(x_188, 3, x_187); +x_189 = l_Array_empty___closed__1; +x_190 = lean_array_push(x_189, x_188); +x_191 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_192 = lean_array_push(x_190, x_191); +x_193 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_194 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_194, 0, x_193); lean_ctor_set(x_194, 1, x_192); -x_195 = lean_array_push(x_183, x_194); -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_108); -lean_ctor_set(x_196, 1, x_195); -x_197 = lean_array_push(x_190, x_196); -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_108); -lean_ctor_set(x_198, 1, x_197); -x_199 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_200 = lean_array_push(x_199, x_198); -x_201 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_202 = lean_array_push(x_200, x_201); -x_203 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_195 = lean_array_push(x_189, x_194); +x_196 = lean_array_push(x_189, x_129); +x_197 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_198 = lean_array_push(x_197, x_126); +x_199 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_198); +x_201 = lean_array_push(x_189, x_200); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_112); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_196, x_202); x_204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_202); -x_205 = lean_array_push(x_183, x_204); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_108); -lean_ctor_set(x_206, 1, x_205); -x_207 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_208 = lean_array_push(x_207, x_206); -x_209 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_210 = lean_array_push(x_208, x_209); -x_211 = lean_array_push(x_210, x_124); -x_212 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_211); -x_214 = lean_array_push(x_183, x_213); -x_215 = lean_array_push(x_214, x_185); -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_108); -lean_ctor_set(x_216, 1, x_215); -x_217 = lean_array_push(x_199, x_216); -x_218 = lean_array_push(x_217, x_201); +lean_ctor_set(x_204, 0, x_112); +lean_ctor_set(x_204, 1, x_203); +x_205 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_206 = lean_array_push(x_205, x_204); +x_207 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_208 = lean_array_push(x_206, x_207); +x_209 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_208); +x_211 = lean_array_push(x_189, x_210); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_112); +lean_ctor_set(x_212, 1, x_211); +x_213 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_214 = lean_array_push(x_213, x_212); +x_215 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_216 = lean_array_push(x_214, x_215); +x_217 = lean_array_push(x_216, x_128); +x_218 = l_Lean_Parser_Term_fun___elambda__1___closed__2; x_219 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_219, 0, x_203); -lean_ctor_set(x_219, 1, x_218); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_217); x_220 = lean_array_push(x_189, x_219); -x_221 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_221 = lean_array_push(x_220, x_191); x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_220); -x_223 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_223, 0, x_222); -lean_ctor_set(x_223, 1, x_176); -return x_223; +lean_ctor_set(x_222, 0, x_112); +lean_ctor_set(x_222, 1, x_221); +x_223 = lean_array_push(x_205, x_222); +x_224 = lean_array_push(x_223, x_207); +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_209); +lean_ctor_set(x_225, 1, x_224); +x_226 = lean_array_push(x_189, x_225); +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_112); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_array_push(x_195, x_227); +x_229 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_182); +return x_231; } } } @@ -2737,30 +2799,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabShow___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_104; uint8_t x_105; -x_104 = l_Lean_Parser_Term_show___elambda__1___closed__2; +uint8_t x_4; lean_object* x_108; uint8_t x_109; +x_108 = l_Lean_Parser_Term_show___elambda__1___closed__2; lean_inc(x_1); -x_105 = l_Lean_Syntax_isOfKind(x_1, x_104); -if (x_105 == 0) +x_109 = l_Lean_Syntax_isOfKind(x_1, x_108); +if (x_109 == 0) { -uint8_t x_106; -x_106 = 0; -x_4 = x_106; -goto block_103; +uint8_t x_110; +x_110 = 0; +x_4 = x_110; +goto block_107; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_107 = l_Lean_Syntax_getArgs(x_1); -x_108 = lean_array_get_size(x_107); -lean_dec(x_107); -x_109 = lean_unsigned_to_nat(3u); -x_110 = lean_nat_dec_eq(x_108, x_109); -lean_dec(x_108); -x_4 = x_110; -goto block_103; +lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; +x_111 = l_Lean_Syntax_getArgs(x_1); +x_112 = lean_array_get_size(x_111); +lean_dec(x_111); +x_113 = lean_unsigned_to_nat(3u); +x_114 = lean_nat_dec_eq(x_112, x_113); +lean_dec(x_112); +x_4 = x_114; +goto block_107; } -block_103: +block_107: { uint8_t x_5; x_5 = l_coeDecidableEq(x_4); @@ -2773,33 +2835,33 @@ return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_97; uint8_t x_98; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_101; uint8_t x_102; x_7 = lean_unsigned_to_nat(1u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); x_9 = lean_unsigned_to_nat(2u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_97 = l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; +x_101 = l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; lean_inc(x_10); -x_98 = l_Lean_Syntax_isOfKind(x_10, x_97); -if (x_98 == 0) +x_102 = l_Lean_Syntax_isOfKind(x_10, x_101); +if (x_102 == 0) { -uint8_t x_99; -x_99 = 0; -x_11 = x_99; -goto block_96; +uint8_t x_103; +x_103 = 0; +x_11 = x_103; +goto block_100; } else { -lean_object* x_100; lean_object* x_101; uint8_t x_102; -x_100 = l_Lean_Syntax_getArgs(x_10); -x_101 = lean_array_get_size(x_100); -lean_dec(x_100); -x_102 = lean_nat_dec_eq(x_101, x_9); -lean_dec(x_101); -x_11 = x_102; -goto block_96; +lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_104 = l_Lean_Syntax_getArgs(x_10); +x_105 = lean_array_get_size(x_104); +lean_dec(x_104); +x_106 = lean_nat_dec_eq(x_105, x_9); +lean_dec(x_105); +x_11 = x_106; +goto block_100; } -block_96: +block_100: { uint8_t x_12; x_12 = l_coeDecidableEq(x_11); @@ -2824,7 +2886,7 @@ x_17 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; x_19 = lean_ctor_get(x_17, 0); lean_dec(x_19); x_20 = l_Array_empty___closed__1; @@ -2878,80 +2940,88 @@ x_52 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_52, 0, x_35); lean_ctor_set(x_52, 1, x_51); x_53 = lean_array_push(x_20, x_52); -x_54 = lean_array_push(x_53, x_14); -x_55 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -lean_ctor_set(x_17, 0, x_56); +x_54 = lean_array_push(x_20, x_14); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_27); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_53, x_55); +x_57 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_17, 0, x_58); return x_17; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_57 = lean_ctor_get(x_17, 1); -lean_inc(x_57); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_59 = lean_ctor_get(x_17, 1); +lean_inc(x_59); lean_dec(x_17); -x_58 = l_Array_empty___closed__1; +x_60 = l_Array_empty___closed__1; lean_inc(x_16); -x_59 = lean_array_push(x_58, x_16); -x_60 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_61 = lean_array_push(x_60, x_8); -x_62 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_61); -x_64 = lean_array_push(x_58, x_63); -x_65 = l_Lean_nullKind___closed__2; -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_64); -x_67 = lean_array_push(x_59, x_66); +x_61 = lean_array_push(x_60, x_16); +x_62 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_63 = lean_array_push(x_62, x_8); +x_64 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_63); +x_66 = lean_array_push(x_60, x_65); +x_67 = l_Lean_nullKind___closed__2; x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_65); -lean_ctor_set(x_68, 1, x_67); -x_69 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_70 = lean_array_push(x_69, x_68); -x_71 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_72 = lean_array_push(x_70, x_71); -x_73 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = lean_array_push(x_58, x_74); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_66); +x_69 = lean_array_push(x_61, x_68); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_67); +lean_ctor_set(x_70, 1, x_69); +x_71 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_72 = lean_array_push(x_71, x_70); +x_73 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_74 = lean_array_push(x_72, x_73); +x_75 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_65); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_78 = lean_array_push(x_77, x_76); -x_79 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_80 = lean_array_push(x_78, x_79); -x_81 = lean_array_push(x_80, x_16); -x_82 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_82); -lean_ctor_set(x_83, 1, x_81); -x_84 = lean_array_push(x_58, x_83); -x_85 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_86 = lean_array_push(x_84, x_85); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_65); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_array_push(x_69, x_87); -x_89 = lean_array_push(x_88, x_71); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_73); -lean_ctor_set(x_90, 1, x_89); -x_91 = lean_array_push(x_58, x_90); -x_92 = lean_array_push(x_91, x_14); -x_93 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_92); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_57); -return x_95; +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_60, x_76); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_67); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_80 = lean_array_push(x_79, x_78); +x_81 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_82 = lean_array_push(x_80, x_81); +x_83 = lean_array_push(x_82, x_16); +x_84 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = lean_array_push(x_60, x_85); +x_87 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_88 = lean_array_push(x_86, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_67); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_71, x_89); +x_91 = lean_array_push(x_90, x_73); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_75); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_60, x_92); +x_94 = lean_array_push(x_60, x_14); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_67); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_93, x_95); +x_97 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_59); +return x_99; } } } @@ -3025,30 +3095,30 @@ return x_5; lean_object* l_Lean_Elab_Term_elabHave___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_407; uint8_t x_408; -x_407 = l_Lean_Parser_Term_have___elambda__1___closed__2; +uint8_t x_4; lean_object* x_423; uint8_t x_424; +x_423 = l_Lean_Parser_Term_have___elambda__1___closed__2; lean_inc(x_1); -x_408 = l_Lean_Syntax_isOfKind(x_1, x_407); -if (x_408 == 0) +x_424 = l_Lean_Syntax_isOfKind(x_1, x_423); +if (x_424 == 0) { -uint8_t x_409; -x_409 = 0; -x_4 = x_409; -goto block_406; +uint8_t x_425; +x_425 = 0; +x_4 = x_425; +goto block_422; } else { -lean_object* x_410; lean_object* x_411; lean_object* x_412; uint8_t x_413; -x_410 = l_Lean_Syntax_getArgs(x_1); -x_411 = lean_array_get_size(x_410); -lean_dec(x_410); -x_412 = lean_unsigned_to_nat(6u); -x_413 = lean_nat_dec_eq(x_411, x_412); -lean_dec(x_411); -x_4 = x_413; -goto block_406; +lean_object* x_426; lean_object* x_427; lean_object* x_428; uint8_t x_429; +x_426 = l_Lean_Syntax_getArgs(x_1); +x_427 = lean_array_get_size(x_426); +lean_dec(x_426); +x_428 = lean_unsigned_to_nat(6u); +x_429 = lean_nat_dec_eq(x_427, x_428); +lean_dec(x_427); +x_4 = x_429; +goto block_422; } -block_406: +block_422: { uint8_t x_5; x_5 = l_coeDecidableEq(x_4); @@ -3061,32 +3131,32 @@ return x_6; } else { -lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_204; uint8_t x_205; uint8_t x_206; +lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_212; uint8_t x_213; uint8_t x_214; x_7 = lean_unsigned_to_nat(1u); x_8 = l_Lean_Syntax_getArg(x_1, x_7); -x_204 = l_Lean_nullKind___closed__2; +x_212 = l_Lean_nullKind___closed__2; lean_inc(x_8); -x_205 = l_Lean_Syntax_isOfKind(x_8, x_204); -if (x_205 == 0) +x_213 = l_Lean_Syntax_isOfKind(x_8, x_212); +if (x_213 == 0) { -uint8_t x_401; -x_401 = 0; -x_206 = x_401; -goto block_400; +uint8_t x_417; +x_417 = 0; +x_214 = x_417; +goto block_416; } else { -lean_object* x_402; lean_object* x_403; lean_object* x_404; uint8_t x_405; -x_402 = l_Lean_Syntax_getArgs(x_8); -x_403 = lean_array_get_size(x_402); -lean_dec(x_402); -x_404 = lean_unsigned_to_nat(0u); -x_405 = lean_nat_dec_eq(x_403, x_404); -lean_dec(x_403); -x_206 = x_405; -goto block_400; +lean_object* x_418; lean_object* x_419; lean_object* x_420; uint8_t x_421; +x_418 = l_Lean_Syntax_getArgs(x_8); +x_419 = lean_array_get_size(x_418); +lean_dec(x_418); +x_420 = lean_unsigned_to_nat(0u); +x_421 = lean_nat_dec_eq(x_419, x_420); +lean_dec(x_419); +x_214 = x_421; +goto block_416; } -block_203: +block_211: { uint8_t x_10; x_10 = l_coeDecidableEq(x_9); @@ -3100,7 +3170,7 @@ return x_11; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_105; lean_object* x_197; uint8_t x_198; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_109; lean_object* x_205; uint8_t x_206; x_12 = lean_unsigned_to_nat(0u); x_13 = l_Lean_Syntax_getArg(x_8, x_12); lean_dec(x_8); @@ -3108,28 +3178,28 @@ x_14 = lean_unsigned_to_nat(2u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = lean_unsigned_to_nat(3u); x_17 = l_Lean_Syntax_getArg(x_1, x_16); -x_197 = l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; +x_205 = l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; lean_inc(x_17); -x_198 = l_Lean_Syntax_isOfKind(x_17, x_197); -if (x_198 == 0) +x_206 = l_Lean_Syntax_isOfKind(x_17, x_205); +if (x_206 == 0) { -uint8_t x_199; -x_199 = 0; -x_105 = x_199; -goto block_196; +uint8_t x_207; +x_207 = 0; +x_109 = x_207; +goto block_204; } else { -lean_object* x_200; lean_object* x_201; uint8_t x_202; -x_200 = l_Lean_Syntax_getArgs(x_17); -x_201 = lean_array_get_size(x_200); -lean_dec(x_200); -x_202 = lean_nat_dec_eq(x_201, x_14); -lean_dec(x_201); -x_105 = x_202; -goto block_196; +lean_object* x_208; lean_object* x_209; uint8_t x_210; +x_208 = l_Lean_Syntax_getArgs(x_17); +x_209 = lean_array_get_size(x_208); +lean_dec(x_208); +x_210 = lean_nat_dec_eq(x_209, x_14); +lean_dec(x_209); +x_109 = x_210; +goto block_204; } -block_104: +block_108: { uint8_t x_19; x_19 = l_coeDecidableEq(x_18); @@ -3156,7 +3226,7 @@ x_25 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); x_26 = !lean_is_exclusive(x_25); if (x_26 == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; x_27 = lean_ctor_get(x_25, 0); lean_dec(x_27); x_28 = l_Array_empty___closed__1; @@ -3209,631 +3279,663 @@ x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_43); lean_ctor_set(x_60, 1, x_59); x_61 = lean_array_push(x_28, x_60); -x_62 = lean_array_push(x_61, x_21); -x_63 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_62); -lean_ctor_set(x_25, 0, x_64); +x_62 = lean_array_push(x_28, x_21); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_35); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_array_push(x_61, x_63); +x_65 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +lean_ctor_set(x_25, 0, x_66); return x_25; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_65 = lean_ctor_get(x_25, 1); -lean_inc(x_65); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_67 = lean_ctor_get(x_25, 1); +lean_inc(x_67); lean_dec(x_25); -x_66 = l_Array_empty___closed__1; -x_67 = lean_array_push(x_66, x_24); -x_68 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_69 = lean_array_push(x_68, x_15); -x_70 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_69); -x_72 = lean_array_push(x_66, x_71); -x_73 = l_Lean_nullKind___closed__2; -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_72); -x_75 = lean_array_push(x_67, x_74); +x_68 = l_Array_empty___closed__1; +x_69 = lean_array_push(x_68, x_24); +x_70 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_71 = lean_array_push(x_70, x_15); +x_72 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_array_push(x_68, x_73); +x_75 = l_Lean_nullKind___closed__2; x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_75); -x_77 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_78 = lean_array_push(x_77, x_76); -x_79 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_80 = lean_array_push(x_78, x_79); -x_81 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = lean_array_push(x_66, x_82); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_74); +x_77 = lean_array_push(x_69, x_76); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_75); +lean_ctor_set(x_78, 1, x_77); +x_79 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_80 = lean_array_push(x_79, x_78); +x_81 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_82 = lean_array_push(x_80, x_81); +x_83 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_73); -lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_86 = lean_array_push(x_85, x_84); -x_87 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_88 = lean_array_push(x_86, x_87); -x_89 = lean_array_push(x_88, x_23); -x_90 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = lean_array_push(x_66, x_91); -x_93 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_94 = lean_array_push(x_92, x_93); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_73); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_array_push(x_77, x_95); -x_97 = lean_array_push(x_96, x_79); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_81); -lean_ctor_set(x_98, 1, x_97); -x_99 = lean_array_push(x_66, x_98); -x_100 = lean_array_push(x_99, x_21); -x_101 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_103, 0, x_102); -lean_ctor_set(x_103, 1, x_65); -return x_103; +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_82); +x_85 = lean_array_push(x_68, x_84); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_75); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_88 = lean_array_push(x_87, x_86); +x_89 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_90 = lean_array_push(x_88, x_89); +x_91 = lean_array_push(x_90, x_23); +x_92 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_91); +x_94 = lean_array_push(x_68, x_93); +x_95 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_96 = lean_array_push(x_94, x_95); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_75); +lean_ctor_set(x_97, 1, x_96); +x_98 = lean_array_push(x_79, x_97); +x_99 = lean_array_push(x_98, x_81); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_83); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_array_push(x_68, x_100); +x_102 = lean_array_push(x_68, x_21); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_75); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_array_push(x_101, x_103); +x_105 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_104); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_67); +return x_107; } } } -block_196: +block_204: { -uint8_t x_106; -x_106 = l_coeDecidableEq(x_105); -if (x_106 == 0) +uint8_t x_110; +x_110 = l_coeDecidableEq(x_109); +if (x_110 == 0) { -lean_object* x_107; uint8_t x_108; -x_107 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; +lean_object* x_111; uint8_t x_112; +x_111 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; lean_inc(x_17); -x_108 = l_Lean_Syntax_isOfKind(x_17, x_107); -if (x_108 == 0) +x_112 = l_Lean_Syntax_isOfKind(x_17, x_111); +if (x_112 == 0) { -uint8_t x_109; -x_109 = 0; -x_18 = x_109; -goto block_104; +uint8_t x_113; +x_113 = 0; +x_18 = x_113; +goto block_108; } else { -lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_110 = l_Lean_Syntax_getArgs(x_17); -x_111 = lean_array_get_size(x_110); -lean_dec(x_110); -x_112 = lean_nat_dec_eq(x_111, x_14); -lean_dec(x_111); -x_18 = x_112; -goto block_104; +lean_object* x_114; lean_object* x_115; uint8_t x_116; +x_114 = l_Lean_Syntax_getArgs(x_17); +x_115 = lean_array_get_size(x_114); +lean_dec(x_114); +x_116 = lean_nat_dec_eq(x_115, x_14); +lean_dec(x_115); +x_18 = x_116; +goto block_108; } } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_113 = l_Lean_Syntax_getArg(x_17, x_7); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; +x_117 = l_Lean_Syntax_getArg(x_17, x_7); lean_dec(x_17); -x_114 = lean_unsigned_to_nat(5u); -x_115 = l_Lean_Syntax_getArg(x_1, x_114); +x_118 = lean_unsigned_to_nat(5u); +x_119 = l_Lean_Syntax_getArg(x_1, x_118); lean_dec(x_1); -x_116 = l_Lean_mkTermIdFromIdent(x_13); -x_117 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -x_118 = !lean_is_exclusive(x_117); -if (x_118 == 0) +x_120 = l_Lean_mkTermIdFromIdent(x_13); +x_121 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); +x_122 = !lean_is_exclusive(x_121); +if (x_122 == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_119 = lean_ctor_get(x_117, 0); -lean_dec(x_119); -x_120 = l_Array_empty___closed__1; -x_121 = lean_array_push(x_120, x_116); -x_122 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_123 = lean_array_push(x_122, x_15); -x_124 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_123); -x_126 = lean_array_push(x_120, x_125); -x_127 = l_Lean_nullKind___closed__2; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = lean_array_push(x_121, x_128); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_127); -lean_ctor_set(x_130, 1, x_129); -x_131 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_132 = lean_array_push(x_131, x_130); -x_133 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_134 = lean_array_push(x_132, x_133); -x_135 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_134); -x_137 = lean_array_push(x_120, x_136); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_127); -lean_ctor_set(x_138, 1, x_137); -x_139 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_140 = lean_array_push(x_139, x_138); -x_141 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_142 = lean_array_push(x_140, x_141); -x_143 = lean_array_push(x_142, x_115); -x_144 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_145 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_array_push(x_120, x_145); -x_147 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_148 = lean_array_push(x_146, x_147); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; +x_123 = lean_ctor_get(x_121, 0); +lean_dec(x_123); +x_124 = l_Array_empty___closed__1; +x_125 = lean_array_push(x_124, x_120); +x_126 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_127 = lean_array_push(x_126, x_15); +x_128 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_array_push(x_124, x_129); +x_131 = l_Lean_nullKind___closed__2; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_array_push(x_125, x_132); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_133); +x_135 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_136 = lean_array_push(x_135, x_134); +x_137 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_138 = lean_array_push(x_136, x_137); +x_139 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = lean_array_push(x_124, x_140); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_131); +lean_ctor_set(x_142, 1, x_141); +x_143 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_144 = lean_array_push(x_143, x_142); +x_145 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_146 = lean_array_push(x_144, x_145); +x_147 = lean_array_push(x_146, x_119); +x_148 = l_Lean_Parser_Term_fun___elambda__1___closed__2; x_149 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_149, 0, x_127); -lean_ctor_set(x_149, 1, x_148); -x_150 = lean_array_push(x_131, x_149); -x_151 = lean_array_push(x_150, x_133); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_135); -lean_ctor_set(x_152, 1, x_151); -x_153 = lean_array_push(x_120, x_152); -x_154 = lean_array_push(x_153, x_113); -x_155 = l_Lean_Parser_Term_app___elambda__1___closed__2; +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_147); +x_150 = lean_array_push(x_124, x_149); +x_151 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_152 = lean_array_push(x_150, x_151); +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_131); +lean_ctor_set(x_153, 1, x_152); +x_154 = lean_array_push(x_135, x_153); +x_155 = lean_array_push(x_154, x_137); x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_154); -lean_ctor_set(x_117, 0, x_156); -return x_117; +lean_ctor_set(x_156, 0, x_139); +lean_ctor_set(x_156, 1, x_155); +x_157 = lean_array_push(x_124, x_156); +x_158 = lean_array_push(x_124, x_117); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_131); +lean_ctor_set(x_159, 1, x_158); +x_160 = lean_array_push(x_157, x_159); +x_161 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +lean_ctor_set(x_121, 0, x_162); +return x_121; } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; -x_157 = lean_ctor_get(x_117, 1); -lean_inc(x_157); -lean_dec(x_117); -x_158 = l_Array_empty___closed__1; -x_159 = lean_array_push(x_158, x_116); -x_160 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_161 = lean_array_push(x_160, x_15); -x_162 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_162); -lean_ctor_set(x_163, 1, x_161); -x_164 = lean_array_push(x_158, x_163); -x_165 = l_Lean_nullKind___closed__2; -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_164); -x_167 = lean_array_push(x_159, x_166); -x_168 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_168, 0, x_165); -lean_ctor_set(x_168, 1, x_167); -x_169 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_170 = lean_array_push(x_169, x_168); -x_171 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_172 = lean_array_push(x_170, x_171); -x_173 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_163 = lean_ctor_get(x_121, 1); +lean_inc(x_163); +lean_dec(x_121); +x_164 = l_Array_empty___closed__1; +x_165 = lean_array_push(x_164, x_120); +x_166 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_167 = lean_array_push(x_166, x_15); +x_168 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_167); +x_170 = lean_array_push(x_164, x_169); +x_171 = l_Lean_nullKind___closed__2; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_array_push(x_165, x_172); x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = lean_array_push(x_158, x_174); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_165); -lean_ctor_set(x_176, 1, x_175); -x_177 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_178 = lean_array_push(x_177, x_176); -x_179 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_180 = lean_array_push(x_178, x_179); -x_181 = lean_array_push(x_180, x_115); -x_182 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_183 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_183, 0, x_182); -lean_ctor_set(x_183, 1, x_181); -x_184 = lean_array_push(x_158, x_183); -x_185 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +lean_ctor_set(x_174, 0, x_171); +lean_ctor_set(x_174, 1, x_173); +x_175 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_176 = lean_array_push(x_175, x_174); +x_177 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_178 = lean_array_push(x_176, x_177); +x_179 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_178); +x_181 = lean_array_push(x_164, x_180); +x_182 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_182, 0, x_171); +lean_ctor_set(x_182, 1, x_181); +x_183 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_184 = lean_array_push(x_183, x_182); +x_185 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; x_186 = lean_array_push(x_184, x_185); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_165); -lean_ctor_set(x_187, 1, x_186); -x_188 = lean_array_push(x_169, x_187); -x_189 = lean_array_push(x_188, x_171); -x_190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_190, 0, x_173); -lean_ctor_set(x_190, 1, x_189); -x_191 = lean_array_push(x_158, x_190); -x_192 = lean_array_push(x_191, x_113); -x_193 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_193); -lean_ctor_set(x_194, 1, x_192); -x_195 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_157); -return x_195; +x_187 = lean_array_push(x_186, x_119); +x_188 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_187); +x_190 = lean_array_push(x_164, x_189); +x_191 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_192 = lean_array_push(x_190, x_191); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_171); +lean_ctor_set(x_193, 1, x_192); +x_194 = lean_array_push(x_175, x_193); +x_195 = lean_array_push(x_194, x_177); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_179); +lean_ctor_set(x_196, 1, x_195); +x_197 = lean_array_push(x_164, x_196); +x_198 = lean_array_push(x_164, x_117); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_171); +lean_ctor_set(x_199, 1, x_198); +x_200 = lean_array_push(x_197, x_199); +x_201 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_163); +return x_203; } } } } } -block_400: +block_416: { -uint8_t x_207; -x_207 = l_coeDecidableEq(x_206); -if (x_207 == 0) +uint8_t x_215; +x_215 = l_coeDecidableEq(x_214); +if (x_215 == 0) { -if (x_205 == 0) +if (x_213 == 0) { -uint8_t x_208; -x_208 = 0; -x_9 = x_208; -goto block_203; +uint8_t x_216; +x_216 = 0; +x_9 = x_216; +goto block_211; } else { -lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; -x_209 = l_Lean_Syntax_getArgs(x_8); -x_210 = lean_array_get_size(x_209); -lean_dec(x_209); -x_211 = lean_unsigned_to_nat(2u); -x_212 = lean_nat_dec_eq(x_210, x_211); -lean_dec(x_210); -x_9 = x_212; -goto block_203; +lean_object* x_217; lean_object* x_218; lean_object* x_219; uint8_t x_220; +x_217 = l_Lean_Syntax_getArgs(x_8); +x_218 = lean_array_get_size(x_217); +lean_dec(x_217); +x_219 = lean_unsigned_to_nat(2u); +x_220 = lean_nat_dec_eq(x_218, x_219); +lean_dec(x_218); +x_9 = x_220; +goto block_211; } } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; uint8_t x_303; lean_object* x_394; uint8_t x_395; +lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; uint8_t x_225; uint8_t x_315; lean_object* x_410; uint8_t x_411; lean_dec(x_8); -x_213 = lean_unsigned_to_nat(2u); -x_214 = l_Lean_Syntax_getArg(x_1, x_213); -x_215 = lean_unsigned_to_nat(3u); -x_216 = l_Lean_Syntax_getArg(x_1, x_215); -x_394 = l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; -lean_inc(x_216); -x_395 = l_Lean_Syntax_isOfKind(x_216, x_394); -if (x_395 == 0) -{ -uint8_t x_396; -x_396 = 0; -x_303 = x_396; -goto block_393; -} -else -{ -lean_object* x_397; lean_object* x_398; uint8_t x_399; -x_397 = l_Lean_Syntax_getArgs(x_216); -x_398 = lean_array_get_size(x_397); -lean_dec(x_397); -x_399 = lean_nat_dec_eq(x_398, x_213); -lean_dec(x_398); -x_303 = x_399; -goto block_393; -} -block_302: -{ -uint8_t x_218; -x_218 = l_coeDecidableEq(x_217); -if (x_218 == 0) -{ -lean_object* x_219; -lean_dec(x_216); -lean_dec(x_214); -lean_dec(x_1); -x_219 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); -return x_219; -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; uint8_t x_226; -x_220 = l_Lean_Syntax_getArg(x_216, x_7); -lean_dec(x_216); -x_221 = lean_unsigned_to_nat(5u); +x_221 = lean_unsigned_to_nat(2u); x_222 = l_Lean_Syntax_getArg(x_1, x_221); -x_223 = l_Lean_Elab_Term_elabShow___lambda__1___closed__2; -x_224 = l_Lean_mkTermIdFrom(x_1, x_223); -lean_dec(x_1); -x_225 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -x_226 = !lean_is_exclusive(x_225); +x_223 = lean_unsigned_to_nat(3u); +x_224 = l_Lean_Syntax_getArg(x_1, x_223); +x_410 = l_Lean_Parser_Term_fromTerm___elambda__1___closed__2; +lean_inc(x_224); +x_411 = l_Lean_Syntax_isOfKind(x_224, x_410); +if (x_411 == 0) +{ +uint8_t x_412; +x_412 = 0; +x_315 = x_412; +goto block_409; +} +else +{ +lean_object* x_413; lean_object* x_414; uint8_t x_415; +x_413 = l_Lean_Syntax_getArgs(x_224); +x_414 = lean_array_get_size(x_413); +lean_dec(x_413); +x_415 = lean_nat_dec_eq(x_414, x_221); +lean_dec(x_414); +x_315 = x_415; +goto block_409; +} +block_314: +{ +uint8_t x_226; +x_226 = l_coeDecidableEq(x_225); if (x_226 == 0) { -lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_227 = lean_ctor_get(x_225, 0); -lean_dec(x_227); -x_228 = l_Array_empty___closed__1; -x_229 = lean_array_push(x_228, x_224); -x_230 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_231 = lean_array_push(x_230, x_214); -x_232 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_231); -x_234 = lean_array_push(x_228, x_233); -x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_204); -lean_ctor_set(x_235, 1, x_234); -x_236 = lean_array_push(x_229, x_235); -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_204); -lean_ctor_set(x_237, 1, x_236); -x_238 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_239 = lean_array_push(x_238, x_237); -x_240 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_241 = lean_array_push(x_239, x_240); -x_242 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = lean_array_push(x_228, x_243); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_204); -lean_ctor_set(x_245, 1, x_244); -x_246 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_247 = lean_array_push(x_246, x_245); -x_248 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_249 = lean_array_push(x_247, x_248); -x_250 = lean_array_push(x_249, x_222); -x_251 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_250); -x_253 = lean_array_push(x_228, x_252); -x_254 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_255 = lean_array_push(x_253, x_254); -x_256 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_256, 0, x_204); -lean_ctor_set(x_256, 1, x_255); -x_257 = lean_array_push(x_238, x_256); -x_258 = lean_array_push(x_257, x_240); -x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_242); -lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_228, x_259); -x_261 = lean_array_push(x_260, x_220); -x_262 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_261); -lean_ctor_set(x_225, 0, x_263); -return x_225; +lean_object* x_227; +lean_dec(x_224); +lean_dec(x_222); +lean_dec(x_1); +x_227 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_3); +return x_227; } else { -lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; -x_264 = lean_ctor_get(x_225, 1); -lean_inc(x_264); -lean_dec(x_225); -x_265 = l_Array_empty___closed__1; -x_266 = lean_array_push(x_265, x_224); -x_267 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_268 = lean_array_push(x_267, x_214); -x_269 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; uint8_t x_234; +x_228 = l_Lean_Syntax_getArg(x_224, x_7); +lean_dec(x_224); +x_229 = lean_unsigned_to_nat(5u); +x_230 = l_Lean_Syntax_getArg(x_1, x_229); +x_231 = l_Lean_Elab_Term_elabShow___lambda__1___closed__2; +x_232 = l_Lean_mkTermIdFrom(x_1, x_231); +lean_dec(x_1); +x_233 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); +x_234 = !lean_is_exclusive(x_233); +if (x_234 == 0) +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; +x_235 = lean_ctor_get(x_233, 0); +lean_dec(x_235); +x_236 = l_Array_empty___closed__1; +x_237 = lean_array_push(x_236, x_232); +x_238 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_239 = lean_array_push(x_238, x_222); +x_240 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = lean_array_push(x_236, x_241); +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_212); +lean_ctor_set(x_243, 1, x_242); +x_244 = lean_array_push(x_237, x_243); +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_212); +lean_ctor_set(x_245, 1, x_244); +x_246 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_247 = lean_array_push(x_246, x_245); +x_248 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_249 = lean_array_push(x_247, x_248); +x_250 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_249); +x_252 = lean_array_push(x_236, x_251); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_212); +lean_ctor_set(x_253, 1, x_252); +x_254 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_255 = lean_array_push(x_254, x_253); +x_256 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_257 = lean_array_push(x_255, x_256); +x_258 = lean_array_push(x_257, x_230); +x_259 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_260 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_260, 0, x_259); +lean_ctor_set(x_260, 1, x_258); +x_261 = lean_array_push(x_236, x_260); +x_262 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_263 = lean_array_push(x_261, x_262); +x_264 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_264, 0, x_212); +lean_ctor_set(x_264, 1, x_263); +x_265 = lean_array_push(x_246, x_264); +x_266 = lean_array_push(x_265, x_248); +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_250); +lean_ctor_set(x_267, 1, x_266); +x_268 = lean_array_push(x_236, x_267); +x_269 = lean_array_push(x_236, x_228); x_270 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_268); -x_271 = lean_array_push(x_265, x_270); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_204); -lean_ctor_set(x_272, 1, x_271); -x_273 = lean_array_push(x_266, x_272); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_204); -lean_ctor_set(x_274, 1, x_273); -x_275 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_276 = lean_array_push(x_275, x_274); -x_277 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_278 = lean_array_push(x_276, x_277); -x_279 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +lean_ctor_set(x_270, 0, x_212); +lean_ctor_set(x_270, 1, x_269); +x_271 = lean_array_push(x_268, x_270); +x_272 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_273 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_273, 0, x_272); +lean_ctor_set(x_273, 1, x_271); +lean_ctor_set(x_233, 0, x_273); +return x_233; +} +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_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; +x_274 = lean_ctor_get(x_233, 1); +lean_inc(x_274); +lean_dec(x_233); +x_275 = l_Array_empty___closed__1; +x_276 = lean_array_push(x_275, x_232); +x_277 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_278 = lean_array_push(x_277, x_222); +x_279 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; x_280 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_280, 0, x_279); lean_ctor_set(x_280, 1, x_278); -x_281 = lean_array_push(x_265, x_280); +x_281 = lean_array_push(x_275, x_280); x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_204); +lean_ctor_set(x_282, 0, x_212); lean_ctor_set(x_282, 1, x_281); -x_283 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_284 = lean_array_push(x_283, x_282); -x_285 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_286 = lean_array_push(x_284, x_285); -x_287 = lean_array_push(x_286, x_222); -x_288 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_287); -x_290 = lean_array_push(x_265, x_289); -x_291 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_292 = lean_array_push(x_290, x_291); -x_293 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_293, 0, x_204); -lean_ctor_set(x_293, 1, x_292); -x_294 = lean_array_push(x_275, x_293); -x_295 = lean_array_push(x_294, x_277); -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_279); -lean_ctor_set(x_296, 1, x_295); -x_297 = lean_array_push(x_265, x_296); -x_298 = lean_array_push(x_297, x_220); -x_299 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_300 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_300, 0, x_299); -lean_ctor_set(x_300, 1, x_298); -x_301 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_301, 0, x_300); -lean_ctor_set(x_301, 1, x_264); -return x_301; +x_283 = lean_array_push(x_276, x_282); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_212); +lean_ctor_set(x_284, 1, x_283); +x_285 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_286 = lean_array_push(x_285, x_284); +x_287 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_288 = lean_array_push(x_286, x_287); +x_289 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_288); +x_291 = lean_array_push(x_275, x_290); +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_212); +lean_ctor_set(x_292, 1, x_291); +x_293 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_294 = lean_array_push(x_293, x_292); +x_295 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_296 = lean_array_push(x_294, x_295); +x_297 = lean_array_push(x_296, x_230); +x_298 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_299 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_297); +x_300 = lean_array_push(x_275, x_299); +x_301 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_302 = lean_array_push(x_300, x_301); +x_303 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_303, 0, x_212); +lean_ctor_set(x_303, 1, x_302); +x_304 = lean_array_push(x_285, x_303); +x_305 = lean_array_push(x_304, x_287); +x_306 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_306, 0, x_289); +lean_ctor_set(x_306, 1, x_305); +x_307 = lean_array_push(x_275, x_306); +x_308 = lean_array_push(x_275, x_228); +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_212); +lean_ctor_set(x_309, 1, x_308); +x_310 = lean_array_push(x_307, x_309); +x_311 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_312 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_310); +x_313 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_313, 0, x_312); +lean_ctor_set(x_313, 1, x_274); +return x_313; } } } -block_393: +block_409: { -uint8_t x_304; -x_304 = l_coeDecidableEq(x_303); -if (x_304 == 0) +uint8_t x_316; +x_316 = l_coeDecidableEq(x_315); +if (x_316 == 0) { -lean_object* x_305; uint8_t x_306; -x_305 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; -lean_inc(x_216); -x_306 = l_Lean_Syntax_isOfKind(x_216, x_305); -if (x_306 == 0) +lean_object* x_317; uint8_t x_318; +x_317 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__2; +lean_inc(x_224); +x_318 = l_Lean_Syntax_isOfKind(x_224, x_317); +if (x_318 == 0) { -uint8_t x_307; -x_307 = 0; -x_217 = x_307; -goto block_302; +uint8_t x_319; +x_319 = 0; +x_225 = x_319; +goto block_314; } else { -lean_object* x_308; lean_object* x_309; uint8_t x_310; -x_308 = l_Lean_Syntax_getArgs(x_216); -x_309 = lean_array_get_size(x_308); -lean_dec(x_308); -x_310 = lean_nat_dec_eq(x_309, x_213); -lean_dec(x_309); -x_217 = x_310; -goto block_302; +lean_object* x_320; lean_object* x_321; uint8_t x_322; +x_320 = l_Lean_Syntax_getArgs(x_224); +x_321 = lean_array_get_size(x_320); +lean_dec(x_320); +x_322 = lean_nat_dec_eq(x_321, x_221); +lean_dec(x_321); +x_225 = x_322; +goto block_314; } } else { -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; uint8_t x_317; -x_311 = l_Lean_Syntax_getArg(x_216, x_7); -lean_dec(x_216); -x_312 = lean_unsigned_to_nat(5u); -x_313 = l_Lean_Syntax_getArg(x_1, x_312); -x_314 = l_Lean_Elab_Term_elabShow___lambda__1___closed__2; -x_315 = l_Lean_mkTermIdFrom(x_1, x_314); +lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; uint8_t x_329; +x_323 = l_Lean_Syntax_getArg(x_224, x_7); +lean_dec(x_224); +x_324 = lean_unsigned_to_nat(5u); +x_325 = l_Lean_Syntax_getArg(x_1, x_324); +x_326 = l_Lean_Elab_Term_elabShow___lambda__1___closed__2; +x_327 = l_Lean_mkTermIdFrom(x_1, x_326); lean_dec(x_1); -x_316 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); -x_317 = !lean_is_exclusive(x_316); -if (x_317 == 0) +x_328 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_3); +x_329 = !lean_is_exclusive(x_328); +if (x_329 == 0) { -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; 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; -x_318 = lean_ctor_get(x_316, 0); -lean_dec(x_318); -x_319 = l_Array_empty___closed__1; -x_320 = lean_array_push(x_319, x_315); -x_321 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_322 = lean_array_push(x_321, x_214); -x_323 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_324 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_324, 0, x_323); -lean_ctor_set(x_324, 1, x_322); -x_325 = lean_array_push(x_319, x_324); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_204); -lean_ctor_set(x_326, 1, x_325); -x_327 = lean_array_push(x_320, x_326); -x_328 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_328, 0, x_204); -lean_ctor_set(x_328, 1, x_327); -x_329 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_330 = lean_array_push(x_329, x_328); -x_331 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_332 = lean_array_push(x_330, x_331); -x_333 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_334 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_334, 0, x_333); -lean_ctor_set(x_334, 1, x_332); -x_335 = lean_array_push(x_319, x_334); +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; 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; +x_330 = lean_ctor_get(x_328, 0); +lean_dec(x_330); +x_331 = l_Array_empty___closed__1; +x_332 = lean_array_push(x_331, x_327); +x_333 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_334 = lean_array_push(x_333, x_222); +x_335 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; x_336 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_336, 0, x_204); -lean_ctor_set(x_336, 1, x_335); -x_337 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_338 = lean_array_push(x_337, x_336); -x_339 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_340 = lean_array_push(x_338, x_339); -x_341 = lean_array_push(x_340, x_313); -x_342 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_342); -lean_ctor_set(x_343, 1, x_341); -x_344 = lean_array_push(x_319, x_343); -x_345 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; -x_346 = lean_array_push(x_344, x_345); -x_347 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_347, 0, x_204); -lean_ctor_set(x_347, 1, x_346); -x_348 = lean_array_push(x_329, x_347); -x_349 = lean_array_push(x_348, x_331); -x_350 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_350, 0, x_333); -lean_ctor_set(x_350, 1, x_349); -x_351 = lean_array_push(x_319, x_350); -x_352 = lean_array_push(x_351, x_311); -x_353 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_354 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_354, 0, x_353); -lean_ctor_set(x_354, 1, x_352); -lean_ctor_set(x_316, 0, x_354); -return x_316; +lean_ctor_set(x_336, 0, x_335); +lean_ctor_set(x_336, 1, x_334); +x_337 = lean_array_push(x_331, x_336); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_212); +lean_ctor_set(x_338, 1, x_337); +x_339 = lean_array_push(x_332, x_338); +x_340 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_340, 0, x_212); +lean_ctor_set(x_340, 1, x_339); +x_341 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_342 = lean_array_push(x_341, x_340); +x_343 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_344 = lean_array_push(x_342, x_343); +x_345 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_346 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_344); +x_347 = lean_array_push(x_331, x_346); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_212); +lean_ctor_set(x_348, 1, x_347); +x_349 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_350 = lean_array_push(x_349, x_348); +x_351 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_352 = lean_array_push(x_350, x_351); +x_353 = lean_array_push(x_352, x_325); +x_354 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_355 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_355, 0, x_354); +lean_ctor_set(x_355, 1, x_353); +x_356 = lean_array_push(x_331, x_355); +x_357 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_358 = lean_array_push(x_356, x_357); +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_212); +lean_ctor_set(x_359, 1, x_358); +x_360 = lean_array_push(x_341, x_359); +x_361 = lean_array_push(x_360, x_343); +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_345); +lean_ctor_set(x_362, 1, x_361); +x_363 = lean_array_push(x_331, x_362); +x_364 = lean_array_push(x_331, x_323); +x_365 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_365, 0, x_212); +lean_ctor_set(x_365, 1, x_364); +x_366 = lean_array_push(x_363, x_365); +x_367 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_367); +lean_ctor_set(x_368, 1, x_366); +lean_ctor_set(x_328, 0, x_368); +return x_328; } else { -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; -x_355 = lean_ctor_get(x_316, 1); -lean_inc(x_355); -lean_dec(x_316); -x_356 = l_Array_empty___closed__1; -x_357 = lean_array_push(x_356, x_315); -x_358 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; -x_359 = lean_array_push(x_358, x_214); -x_360 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; -x_361 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_361, 0, x_360); -lean_ctor_set(x_361, 1, x_359); -x_362 = lean_array_push(x_356, x_361); -x_363 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_363, 0, x_204); -lean_ctor_set(x_363, 1, x_362); -x_364 = lean_array_push(x_357, x_363); -x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_204); -lean_ctor_set(x_365, 1, x_364); -x_366 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_367 = lean_array_push(x_366, x_365); -x_368 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_369 = lean_array_push(x_367, x_368); -x_370 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -x_372 = lean_array_push(x_356, x_371); -x_373 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_373, 0, x_204); -lean_ctor_set(x_373, 1, x_372); -x_374 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_375 = lean_array_push(x_374, x_373); -x_376 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_377 = lean_array_push(x_375, x_376); -x_378 = lean_array_push(x_377, x_313); -x_379 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_380 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_380, 0, x_379); -lean_ctor_set(x_380, 1, x_378); -x_381 = lean_array_push(x_356, x_380); -x_382 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; +x_369 = lean_ctor_get(x_328, 1); +lean_inc(x_369); +lean_dec(x_328); +x_370 = l_Array_empty___closed__1; +x_371 = lean_array_push(x_370, x_327); +x_372 = l_Lean_Elab_Term_elabSubtype___lambda__1___closed__8; +x_373 = lean_array_push(x_372, x_222); +x_374 = l_Lean_Parser_Term_typeAscription___elambda__1___closed__2; +x_375 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_375, 0, x_374); +lean_ctor_set(x_375, 1, x_373); +x_376 = lean_array_push(x_370, x_375); +x_377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_377, 0, x_212); +lean_ctor_set(x_377, 1, x_376); +x_378 = lean_array_push(x_371, x_377); +x_379 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_379, 0, x_212); +lean_ctor_set(x_379, 1, x_378); +x_380 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_381 = lean_array_push(x_380, x_379); +x_382 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; x_383 = lean_array_push(x_381, x_382); -x_384 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_384, 0, x_204); -lean_ctor_set(x_384, 1, x_383); -x_385 = lean_array_push(x_366, x_384); -x_386 = lean_array_push(x_385, x_368); +x_384 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_384); +lean_ctor_set(x_385, 1, x_383); +x_386 = lean_array_push(x_370, x_385); x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_370); +lean_ctor_set(x_387, 0, x_212); lean_ctor_set(x_387, 1, x_386); -x_388 = lean_array_push(x_356, x_387); -x_389 = lean_array_push(x_388, x_311); -x_390 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_391, 0, x_390); -lean_ctor_set(x_391, 1, x_389); -x_392 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_355); -return x_392; +x_388 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_389 = lean_array_push(x_388, x_387); +x_390 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_391 = lean_array_push(x_389, x_390); +x_392 = lean_array_push(x_391, x_325); +x_393 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_394 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_394, 0, x_393); +lean_ctor_set(x_394, 1, x_392); +x_395 = lean_array_push(x_370, x_394); +x_396 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__17; +x_397 = lean_array_push(x_395, x_396); +x_398 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_398, 0, x_212); +lean_ctor_set(x_398, 1, x_397); +x_399 = lean_array_push(x_380, x_398); +x_400 = lean_array_push(x_399, x_382); +x_401 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_401, 0, x_384); +lean_ctor_set(x_401, 1, x_400); +x_402 = lean_array_push(x_370, x_401); +x_403 = lean_array_push(x_370, x_323); +x_404 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_404, 0, x_212); +lean_ctor_set(x_404, 1, x_403); +x_405 = lean_array_push(x_402, x_404); +x_406 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_406); +lean_ctor_set(x_407, 1, x_405); +x_408 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_408, 0, x_407); +lean_ctor_set(x_408, 1, x_369); +return x_408; } } } @@ -4456,30 +4558,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_267; uint8_t x_268; -x_267 = l_Lean_Parser_Term_parser_x21___elambda__1___closed__2; +uint8_t x_4; lean_object* x_266; uint8_t x_267; +x_266 = l_Lean_Parser_Term_parser_x21___elambda__1___closed__2; lean_inc(x_1); -x_268 = l_Lean_Syntax_isOfKind(x_1, x_267); -if (x_268 == 0) +x_267 = l_Lean_Syntax_isOfKind(x_1, x_266); +if (x_267 == 0) { -uint8_t x_269; -x_269 = 0; -x_4 = x_269; -goto block_266; +uint8_t x_268; +x_268 = 0; +x_4 = x_268; +goto block_265; } else { -lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; -x_270 = l_Lean_Syntax_getArgs(x_1); -x_271 = lean_array_get_size(x_270); +lean_object* x_269; lean_object* x_270; lean_object* x_271; uint8_t x_272; +x_269 = l_Lean_Syntax_getArgs(x_1); +x_270 = lean_array_get_size(x_269); +lean_dec(x_269); +x_271 = lean_unsigned_to_nat(2u); +x_272 = lean_nat_dec_eq(x_270, x_271); lean_dec(x_270); -x_272 = lean_unsigned_to_nat(2u); -x_273 = lean_nat_dec_eq(x_271, x_272); -lean_dec(x_271); -x_4 = x_273; -goto block_266; +x_4 = x_272; +goto block_265; } -block_266: +block_265: { uint8_t x_5; x_5 = l_coeDecidableEq(x_4); @@ -4526,7 +4628,7 @@ x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); if (lean_obj_tag(x_17) == 1) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; lean_dec(x_1); x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); @@ -4568,91 +4670,91 @@ x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); x_42 = lean_array_push(x_36, x_41); -lean_inc(x_20); -x_43 = lean_array_push(x_42, x_20); -x_44 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = lean_array_push(x_36, x_45); -x_47 = lean_array_push(x_46, x_8); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_44); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_List_beq___main___at_Lean_Elab_Term_elabParserMacro___spec__1(x_18, x_32); +x_43 = lean_array_push(x_36, x_20); +lean_inc(x_43); +x_44 = lean_array_push(x_43, x_8); +x_45 = l_Lean_nullKind___closed__2; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = lean_array_push(x_42, x_46); +x_48 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_47); +x_50 = l_List_beq___main___at_Lean_Elab_Term_elabParserMacro___spec__1(x_18, x_32); lean_dec(x_18); -if (x_49 == 0) +if (x_50 == 0) { -lean_object* x_50; uint8_t x_51; -lean_dec(x_20); -x_50 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_29); +lean_object* x_51; uint8_t x_52; +lean_dec(x_43); +x_51 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_29); lean_dec(x_2); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_52 = lean_ctor_get(x_50, 0); -x_53 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; -lean_inc(x_52); -x_54 = lean_name_mk_numeral(x_53, x_52); -x_55 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__16; -x_56 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__21; -x_57 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_57, 0, x_21); -lean_ctor_set(x_57, 1, x_55); -lean_ctor_set(x_57, 2, x_54); -lean_ctor_set(x_57, 3, x_56); -x_58 = lean_array_push(x_36, x_57); -x_59 = lean_array_push(x_58, x_38); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_40); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_array_push(x_36, x_60); -x_62 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__26; -lean_inc(x_52); -x_63 = lean_name_mk_numeral(x_62, x_52); -x_64 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__24; -x_65 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__28; -x_66 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_66, 0, x_21); -lean_ctor_set(x_66, 1, x_64); -lean_ctor_set(x_66, 2, x_63); -lean_ctor_set(x_66, 3, x_65); -x_67 = lean_array_push(x_36, x_66); -x_68 = lean_array_push(x_67, x_38); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_40); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_array_push(x_36, x_69); -x_71 = lean_array_push(x_70, x_26); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_44); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_36, x_72); -x_74 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__34; -x_75 = lean_name_mk_numeral(x_74, x_52); -x_76 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__33; -x_77 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__38; -x_78 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_78, 0, x_21); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 2, x_75); -lean_ctor_set(x_78, 3, x_77); -x_79 = lean_array_push(x_36, x_78); -x_80 = lean_array_push(x_79, x_38); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_40); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_array_push(x_73, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_44); -lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_36, x_83); -x_85 = lean_array_push(x_84, x_38); -x_86 = l_Lean_nullKind___closed__2; +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_53 = lean_ctor_get(x_51, 0); +x_54 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; +lean_inc(x_53); +x_55 = lean_name_mk_numeral(x_54, x_53); +x_56 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__16; +x_57 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__21; +x_58 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_58, 0, x_21); +lean_ctor_set(x_58, 1, x_56); +lean_ctor_set(x_58, 2, x_55); +lean_ctor_set(x_58, 3, x_57); +x_59 = lean_array_push(x_36, x_58); +x_60 = lean_array_push(x_59, x_38); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_40); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_array_push(x_36, x_61); +x_63 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__26; +lean_inc(x_53); +x_64 = lean_name_mk_numeral(x_63, x_53); +x_65 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__24; +x_66 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__28; +x_67 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_67, 0, x_21); +lean_ctor_set(x_67, 1, x_65); +lean_ctor_set(x_67, 2, x_64); +lean_ctor_set(x_67, 3, x_66); +x_68 = lean_array_push(x_36, x_67); +x_69 = lean_array_push(x_68, x_38); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_40); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_array_push(x_36, x_70); +x_72 = lean_array_push(x_36, x_26); +x_73 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__34; +x_74 = lean_name_mk_numeral(x_73, x_53); +x_75 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__33; +x_76 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__38; +x_77 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_77, 0, x_21); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_74); +lean_ctor_set(x_77, 3, x_76); +x_78 = lean_array_push(x_36, x_77); +x_79 = lean_array_push(x_78, x_38); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_40); +lean_ctor_set(x_80, 1, x_79); +x_81 = lean_array_push(x_72, x_80); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_45); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_array_push(x_71, x_82); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_48); +lean_ctor_set(x_84, 1, x_83); +x_85 = lean_array_push(x_36, x_84); +x_86 = lean_array_push(x_85, x_38); x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); +lean_ctor_set(x_87, 0, x_45); +lean_ctor_set(x_87, 1, x_86); x_88 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; x_89 = lean_array_push(x_88, x_87); x_90 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; @@ -4661,26 +4763,26 @@ x_92 = l_Lean_Parser_Term_paren___elambda__1___closed__1; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); -x_94 = lean_array_push(x_61, x_93); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_44); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_array_push(x_36, x_95); -x_97 = lean_array_push(x_96, x_48); +x_94 = lean_array_push(x_36, x_93); +x_95 = lean_array_push(x_94, x_49); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_45); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_array_push(x_62, x_96); x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_44); +lean_ctor_set(x_98, 0, x_48); lean_ctor_set(x_98, 1, x_97); -lean_ctor_set(x_50, 0, x_98); -return x_50; +lean_ctor_set(x_51, 0, x_98); +return x_51; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_99 = lean_ctor_get(x_50, 0); -x_100 = lean_ctor_get(x_50, 1); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_99 = lean_ctor_get(x_51, 0); +x_100 = lean_ctor_get(x_51, 1); lean_inc(x_100); lean_inc(x_99); -lean_dec(x_50); +lean_dec(x_51); x_101 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; lean_inc(x_99); x_102 = lean_name_mk_numeral(x_101, x_99); @@ -4713,283 +4815,286 @@ x_117 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_117, 0, x_40); lean_ctor_set(x_117, 1, x_116); x_118 = lean_array_push(x_36, x_117); -x_119 = lean_array_push(x_118, x_26); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_44); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_36, x_120); -x_122 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__34; -x_123 = lean_name_mk_numeral(x_122, x_99); -x_124 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__33; -x_125 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__38; -x_126 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_126, 0, x_21); -lean_ctor_set(x_126, 1, x_124); -lean_ctor_set(x_126, 2, x_123); -lean_ctor_set(x_126, 3, x_125); -x_127 = lean_array_push(x_36, x_126); -x_128 = lean_array_push(x_127, x_38); +x_119 = lean_array_push(x_36, x_26); +x_120 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__34; +x_121 = lean_name_mk_numeral(x_120, x_99); +x_122 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__33; +x_123 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__38; +x_124 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_124, 0, x_21); +lean_ctor_set(x_124, 1, x_122); +lean_ctor_set(x_124, 2, x_121); +lean_ctor_set(x_124, 3, x_123); +x_125 = lean_array_push(x_36, x_124); +x_126 = lean_array_push(x_125, x_38); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_40); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_119, x_127); x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_40); +lean_ctor_set(x_129, 0, x_45); lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_121, x_129); +x_130 = lean_array_push(x_118, x_129); x_131 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_131, 0, x_44); +lean_ctor_set(x_131, 0, x_48); lean_ctor_set(x_131, 1, x_130); x_132 = lean_array_push(x_36, x_131); x_133 = lean_array_push(x_132, x_38); -x_134 = l_Lean_nullKind___closed__2; -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_133); -x_136 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_137 = lean_array_push(x_136, x_135); -x_138 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_139 = lean_array_push(x_137, x_138); -x_140 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_139); -x_142 = lean_array_push(x_109, x_141); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_45); +lean_ctor_set(x_134, 1, x_133); +x_135 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_136 = lean_array_push(x_135, x_134); +x_137 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_138 = lean_array_push(x_136, x_137); +x_139 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = lean_array_push(x_36, x_140); +x_142 = lean_array_push(x_141, x_49); x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_44); +lean_ctor_set(x_143, 0, x_45); lean_ctor_set(x_143, 1, x_142); -x_144 = lean_array_push(x_36, x_143); -x_145 = lean_array_push(x_144, x_48); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_44); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_100); +x_144 = lean_array_push(x_109, x_143); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_48); +lean_ctor_set(x_145, 1, x_144); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_100); +return x_146; +} +} +else +{ +lean_object* x_147; uint8_t x_148; +x_147 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_29); +lean_dec(x_2); +x_148 = !lean_is_exclusive(x_147); +if (x_148 == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_149 = lean_ctor_get(x_147, 0); +x_150 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; +lean_inc(x_149); +x_151 = lean_name_mk_numeral(x_150, x_149); +x_152 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__16; +x_153 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__21; +x_154 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_154, 0, x_21); +lean_ctor_set(x_154, 1, x_152); +lean_ctor_set(x_154, 2, x_151); +lean_ctor_set(x_154, 3, x_153); +x_155 = lean_array_push(x_36, x_154); +x_156 = lean_array_push(x_155, x_38); +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_40); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_push(x_36, x_157); +x_159 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__26; +lean_inc(x_149); +x_160 = lean_name_mk_numeral(x_159, x_149); +x_161 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__24; +x_162 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__28; +x_163 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_163, 0, x_21); +lean_ctor_set(x_163, 1, x_161); +lean_ctor_set(x_163, 2, x_160); +lean_ctor_set(x_163, 3, x_162); +x_164 = lean_array_push(x_36, x_163); +x_165 = lean_array_push(x_164, x_38); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_40); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_array_push(x_36, x_166); +x_168 = lean_array_push(x_36, x_26); +x_169 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__31; +x_170 = lean_name_mk_numeral(x_169, x_149); +x_171 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__30; +x_172 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34; +x_173 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_173, 0, x_21); +lean_ctor_set(x_173, 1, x_171); +lean_ctor_set(x_173, 2, x_170); +lean_ctor_set(x_173, 3, x_172); +x_174 = lean_array_push(x_36, x_173); +x_175 = lean_array_push(x_174, x_38); +x_176 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_176, 0, x_40); +lean_ctor_set(x_176, 1, x_175); +x_177 = lean_array_push(x_36, x_176); +x_178 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_178, 0, x_45); +lean_ctor_set(x_178, 1, x_43); +x_179 = lean_array_push(x_177, x_178); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_48); +lean_ctor_set(x_180, 1, x_179); +x_181 = lean_array_push(x_36, x_180); +x_182 = lean_array_push(x_181, x_38); +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_45); +lean_ctor_set(x_183, 1, x_182); +x_184 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_185 = lean_array_push(x_184, x_183); +x_186 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_187 = lean_array_push(x_185, x_186); +x_188 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_187); +x_190 = lean_array_push(x_168, x_189); +x_191 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_191, 0, x_45); +lean_ctor_set(x_191, 1, x_190); +x_192 = lean_array_push(x_167, x_191); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_48); +lean_ctor_set(x_193, 1, x_192); +x_194 = lean_array_push(x_36, x_193); +x_195 = lean_array_push(x_194, x_38); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_45); +lean_ctor_set(x_196, 1, x_195); +x_197 = lean_array_push(x_184, x_196); +x_198 = lean_array_push(x_197, x_186); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_188); +lean_ctor_set(x_199, 1, x_198); +x_200 = lean_array_push(x_36, x_199); +x_201 = lean_array_push(x_200, x_49); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_45); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_array_push(x_158, x_202); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_48); +lean_ctor_set(x_204, 1, x_203); +lean_ctor_set(x_147, 0, x_204); return x_147; } -} else { -lean_object* x_148; uint8_t x_149; -x_148 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_29); -lean_dec(x_2); -x_149 = !lean_is_exclusive(x_148); -if (x_149 == 0) -{ -lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_150 = lean_ctor_get(x_148, 0); -x_151 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; -lean_inc(x_150); -x_152 = lean_name_mk_numeral(x_151, x_150); -x_153 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__16; -x_154 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__21; -x_155 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_155, 0, x_21); -lean_ctor_set(x_155, 1, x_153); -lean_ctor_set(x_155, 2, x_152); -lean_ctor_set(x_155, 3, x_154); -x_156 = lean_array_push(x_36, x_155); -x_157 = lean_array_push(x_156, x_38); -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_40); -lean_ctor_set(x_158, 1, x_157); -x_159 = lean_array_push(x_36, x_158); -x_160 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__26; -lean_inc(x_150); -x_161 = lean_name_mk_numeral(x_160, x_150); -x_162 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__24; -x_163 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__28; -x_164 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_164, 0, x_21); -lean_ctor_set(x_164, 1, x_162); -lean_ctor_set(x_164, 2, x_161); -lean_ctor_set(x_164, 3, x_163); -x_165 = lean_array_push(x_36, x_164); -x_166 = lean_array_push(x_165, x_38); -x_167 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_167, 0, x_40); -lean_ctor_set(x_167, 1, x_166); -x_168 = lean_array_push(x_36, x_167); -x_169 = lean_array_push(x_168, x_26); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_44); -lean_ctor_set(x_170, 1, x_169); -x_171 = lean_array_push(x_36, x_170); -x_172 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__31; -x_173 = lean_name_mk_numeral(x_172, x_150); -x_174 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__30; -x_175 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34; -x_176 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_176, 0, x_21); -lean_ctor_set(x_176, 1, x_174); -lean_ctor_set(x_176, 2, x_173); -lean_ctor_set(x_176, 3, x_175); -x_177 = lean_array_push(x_36, x_176); -x_178 = lean_array_push(x_177, x_38); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_40); -lean_ctor_set(x_179, 1, x_178); -x_180 = lean_array_push(x_36, x_179); -x_181 = lean_array_push(x_180, x_20); -x_182 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_182, 0, x_44); -lean_ctor_set(x_182, 1, x_181); -x_183 = lean_array_push(x_36, x_182); -x_184 = lean_array_push(x_183, x_38); -x_185 = l_Lean_nullKind___closed__2; -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_184); -x_187 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_188 = lean_array_push(x_187, x_186); -x_189 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_190 = lean_array_push(x_188, x_189); -x_191 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_191); -lean_ctor_set(x_192, 1, x_190); -x_193 = lean_array_push(x_171, x_192); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_44); -lean_ctor_set(x_194, 1, x_193); -x_195 = lean_array_push(x_36, x_194); -x_196 = lean_array_push(x_195, x_38); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_185); -lean_ctor_set(x_197, 1, x_196); -x_198 = lean_array_push(x_187, x_197); -x_199 = lean_array_push(x_198, x_189); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_191); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_array_push(x_159, x_200); -x_202 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_202, 0, x_44); -lean_ctor_set(x_202, 1, x_201); -x_203 = lean_array_push(x_36, x_202); -x_204 = lean_array_push(x_203, x_48); -x_205 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_205, 0, x_44); -lean_ctor_set(x_205, 1, x_204); -lean_ctor_set(x_148, 0, x_205); -return x_148; -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; -x_206 = lean_ctor_get(x_148, 0); -x_207 = lean_ctor_get(x_148, 1); -lean_inc(x_207); +lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_205 = lean_ctor_get(x_147, 0); +x_206 = lean_ctor_get(x_147, 1); lean_inc(x_206); -lean_dec(x_148); -x_208 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; -lean_inc(x_206); -x_209 = lean_name_mk_numeral(x_208, x_206); -x_210 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__16; -x_211 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__21; -x_212 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_212, 0, x_21); -lean_ctor_set(x_212, 1, x_210); -lean_ctor_set(x_212, 2, x_209); -lean_ctor_set(x_212, 3, x_211); -x_213 = lean_array_push(x_36, x_212); -x_214 = lean_array_push(x_213, x_38); -x_215 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_215, 0, x_40); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_array_push(x_36, x_215); -x_217 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__26; -lean_inc(x_206); -x_218 = lean_name_mk_numeral(x_217, x_206); -x_219 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__24; -x_220 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__28; -x_221 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_221, 0, x_21); -lean_ctor_set(x_221, 1, x_219); -lean_ctor_set(x_221, 2, x_218); -lean_ctor_set(x_221, 3, x_220); -x_222 = lean_array_push(x_36, x_221); -x_223 = lean_array_push(x_222, x_38); -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_40); -lean_ctor_set(x_224, 1, x_223); -x_225 = lean_array_push(x_36, x_224); -x_226 = lean_array_push(x_225, x_26); -x_227 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_227, 0, x_44); -lean_ctor_set(x_227, 1, x_226); -x_228 = lean_array_push(x_36, x_227); -x_229 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__31; -x_230 = lean_name_mk_numeral(x_229, x_206); -x_231 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__30; -x_232 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34; -x_233 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_233, 0, x_21); -lean_ctor_set(x_233, 1, x_231); -lean_ctor_set(x_233, 2, x_230); -lean_ctor_set(x_233, 3, x_232); +lean_inc(x_205); +lean_dec(x_147); +x_207 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__19; +lean_inc(x_205); +x_208 = lean_name_mk_numeral(x_207, x_205); +x_209 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__16; +x_210 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__21; +x_211 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_211, 0, x_21); +lean_ctor_set(x_211, 1, x_209); +lean_ctor_set(x_211, 2, x_208); +lean_ctor_set(x_211, 3, x_210); +x_212 = lean_array_push(x_36, x_211); +x_213 = lean_array_push(x_212, x_38); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_40); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_array_push(x_36, x_214); +x_216 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__26; +lean_inc(x_205); +x_217 = lean_name_mk_numeral(x_216, x_205); +x_218 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__24; +x_219 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__28; +x_220 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_220, 0, x_21); +lean_ctor_set(x_220, 1, x_218); +lean_ctor_set(x_220, 2, x_217); +lean_ctor_set(x_220, 3, x_219); +x_221 = lean_array_push(x_36, x_220); +x_222 = lean_array_push(x_221, x_38); +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_40); +lean_ctor_set(x_223, 1, x_222); +x_224 = lean_array_push(x_36, x_223); +x_225 = lean_array_push(x_36, x_26); +x_226 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__31; +x_227 = lean_name_mk_numeral(x_226, x_205); +x_228 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__30; +x_229 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__34; +x_230 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_230, 0, x_21); +lean_ctor_set(x_230, 1, x_228); +lean_ctor_set(x_230, 2, x_227); +lean_ctor_set(x_230, 3, x_229); +x_231 = lean_array_push(x_36, x_230); +x_232 = lean_array_push(x_231, x_38); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_40); +lean_ctor_set(x_233, 1, x_232); x_234 = lean_array_push(x_36, x_233); -x_235 = lean_array_push(x_234, x_38); -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_40); -lean_ctor_set(x_236, 1, x_235); -x_237 = lean_array_push(x_36, x_236); -x_238 = lean_array_push(x_237, x_20); -x_239 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_239, 0, x_44); -lean_ctor_set(x_239, 1, x_238); -x_240 = lean_array_push(x_36, x_239); -x_241 = lean_array_push(x_240, x_38); -x_242 = l_Lean_nullKind___closed__2; -x_243 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_241); -x_244 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; -x_245 = lean_array_push(x_244, x_243); -x_246 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; -x_247 = lean_array_push(x_245, x_246); -x_248 = l_Lean_Parser_Term_paren___elambda__1___closed__1; -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = lean_array_push(x_228, x_249); -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_44); -lean_ctor_set(x_251, 1, x_250); -x_252 = lean_array_push(x_36, x_251); -x_253 = lean_array_push(x_252, x_38); -x_254 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_254, 0, x_242); -lean_ctor_set(x_254, 1, x_253); -x_255 = lean_array_push(x_244, x_254); -x_256 = lean_array_push(x_255, x_246); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_248); -lean_ctor_set(x_257, 1, x_256); -x_258 = lean_array_push(x_216, x_257); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_45); +lean_ctor_set(x_235, 1, x_43); +x_236 = lean_array_push(x_234, x_235); +x_237 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_237, 0, x_48); +lean_ctor_set(x_237, 1, x_236); +x_238 = lean_array_push(x_36, x_237); +x_239 = lean_array_push(x_238, x_38); +x_240 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_240, 0, x_45); +lean_ctor_set(x_240, 1, x_239); +x_241 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__47; +x_242 = lean_array_push(x_241, x_240); +x_243 = l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__59; +x_244 = lean_array_push(x_242, x_243); +x_245 = l_Lean_Parser_Term_paren___elambda__1___closed__1; +x_246 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_244); +x_247 = lean_array_push(x_225, x_246); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_45); +lean_ctor_set(x_248, 1, x_247); +x_249 = lean_array_push(x_224, x_248); +x_250 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_250, 0, x_48); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_array_push(x_36, x_250); +x_252 = lean_array_push(x_251, x_38); +x_253 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_253, 0, x_45); +lean_ctor_set(x_253, 1, x_252); +x_254 = lean_array_push(x_241, x_253); +x_255 = lean_array_push(x_254, x_243); +x_256 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_256, 0, x_245); +lean_ctor_set(x_256, 1, x_255); +x_257 = lean_array_push(x_36, x_256); +x_258 = lean_array_push(x_257, x_49); x_259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_259, 0, x_44); +lean_ctor_set(x_259, 0, x_45); lean_ctor_set(x_259, 1, x_258); -x_260 = lean_array_push(x_36, x_259); -x_261 = lean_array_push(x_260, x_48); -x_262 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_262, 0, x_44); -lean_ctor_set(x_262, 1, x_261); -x_263 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_263, 0, x_262); -lean_ctor_set(x_263, 1, x_207); -return x_263; +x_260 = lean_array_push(x_215, x_259); +x_261 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_261, 0, x_48); +lean_ctor_set(x_261, 1, x_260); +x_262 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_206); +return x_262; } } } else { -lean_object* x_264; lean_object* x_265; +lean_object* x_263; lean_object* x_264; lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_8); -x_264 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__6; -x_265 = l_Lean_Elab_Term_throwError___rarg(x_1, x_264, x_2, x_14); +x_263 = l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__6; +x_264 = l_Lean_Elab_Term_throwError___rarg(x_1, x_263, x_2, x_14); lean_dec(x_1); -return x_265; +return x_264; } } } @@ -5128,30 +5233,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -uint8_t x_4; lean_object* x_62; uint8_t x_63; -x_62 = l_Lean_Parser_Term_tparser_x21___elambda__1___closed__2; +uint8_t x_4; lean_object* x_64; uint8_t x_65; +x_64 = l_Lean_Parser_Term_tparser_x21___elambda__1___closed__2; lean_inc(x_1); -x_63 = l_Lean_Syntax_isOfKind(x_1, x_62); -if (x_63 == 0) +x_65 = l_Lean_Syntax_isOfKind(x_1, x_64); +if (x_65 == 0) { -uint8_t x_64; -x_64 = 0; -x_4 = x_64; -goto block_61; +uint8_t x_66; +x_66 = 0; +x_4 = x_66; +goto block_63; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_65 = l_Lean_Syntax_getArgs(x_1); -x_66 = lean_array_get_size(x_65); -lean_dec(x_65); -x_67 = lean_unsigned_to_nat(2u); -x_68 = lean_nat_dec_eq(x_66, x_67); -lean_dec(x_66); -x_4 = x_68; -goto block_61; +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = l_Lean_Syntax_getArgs(x_1); +x_68 = lean_array_get_size(x_67); +lean_dec(x_67); +x_69 = lean_unsigned_to_nat(2u); +x_70 = lean_nat_dec_eq(x_68, x_69); +lean_dec(x_68); +x_4 = x_70; +goto block_63; } -block_61: +block_63: { uint8_t x_5; x_5 = l_coeDecidableEq(x_4); @@ -5199,7 +5304,7 @@ lean_dec(x_2); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; x_19 = lean_ctor_get(x_17, 0); x_20 = lean_box(0); x_21 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__8; @@ -5220,60 +5325,62 @@ x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); x_32 = lean_array_push(x_26, x_31); -x_33 = lean_array_push(x_32, x_16); -x_34 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = lean_array_push(x_26, x_35); -x_37 = lean_array_push(x_36, x_8); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_17, 0, x_38); +x_33 = lean_array_push(x_26, x_16); +x_34 = lean_array_push(x_33, x_8); +x_35 = l_Lean_nullKind___closed__2; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = lean_array_push(x_32, x_36); +x_38 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +lean_ctor_set(x_17, 0, x_39); return x_17; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_39 = lean_ctor_get(x_17, 0); -x_40 = lean_ctor_get(x_17, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_40 = lean_ctor_get(x_17, 0); +x_41 = lean_ctor_get(x_17, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); lean_dec(x_17); -x_41 = lean_box(0); -x_42 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__8; -x_43 = lean_name_mk_numeral(x_42, x_39); -x_44 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__6; -x_45 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__10; -x_46 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_46, 0, x_41); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_43); -lean_ctor_set(x_46, 3, x_45); -x_47 = l_Array_empty___closed__1; -x_48 = lean_array_push(x_47, x_46); -x_49 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_50 = lean_array_push(x_48, x_49); -x_51 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -x_53 = lean_array_push(x_47, x_52); -x_54 = lean_array_push(x_53, x_16); -x_55 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_54); -x_57 = lean_array_push(x_47, x_56); -x_58 = lean_array_push(x_57, x_8); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_55); -lean_ctor_set(x_59, 1, x_58); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_40); -return x_60; +x_42 = lean_box(0); +x_43 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__8; +x_44 = lean_name_mk_numeral(x_43, x_40); +x_45 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__6; +x_46 = l_Lean_Elab_Term_elabTParserMacro___lambda__1___closed__10; +x_47 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_47, 0, x_42); +lean_ctor_set(x_47, 1, x_45); +lean_ctor_set(x_47, 2, x_44); +lean_ctor_set(x_47, 3, x_46); +x_48 = l_Array_empty___closed__1; +x_49 = lean_array_push(x_48, x_47); +x_50 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_51 = lean_array_push(x_49, x_50); +x_52 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_51); +x_54 = lean_array_push(x_48, x_53); +x_55 = lean_array_push(x_48, x_16); +x_56 = lean_array_push(x_55, x_8); +x_57 = l_Lean_nullKind___closed__2; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_56); +x_59 = lean_array_push(x_54, x_58); +x_60 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_41); +return x_62; } } } @@ -5348,7 +5455,7 @@ lean_object* l_Lean_Elab_Term_elabProd(lean_object* x_1, lean_object* x_2, lean_ _start: { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5; +x_5 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5; x_6 = l_Lean_Elab_Term_elabInfixOp(x_5, x_1, x_2, x_3, x_4); return x_6; } diff --git a/stage0/stdlib/Init/Lean/Elab/Command.c b/stage0/stdlib/Init/Lean/Elab/Command.c index 6a301e9805..96752c96bf 100644 --- a/stage0/stdlib/Init/Lean/Elab/Command.c +++ b/stage0/stdlib/Init/Lean/Elab/Command.c @@ -80,6 +80,7 @@ lean_object* l_Lean_Elab_Command_commandElabAttribute; lean_object* l_Lean_Elab_Command_elabUniverse(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withNamespace___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSetOption___closed__2; lean_object* l_Lean_Elab_Command_elabCheck___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -443,7 +444,6 @@ lean_object* l_Lean_Elab_Command_withNamespace___rarg(lean_object*, lean_object* lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_compileDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_logUnknownDecl___closed__1; -extern lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Command_State_inhabited; lean_object* l_Lean_Elab_Command_elabOpenHiding___boxed(lean_object*, lean_object*, lean_object*); @@ -543,9 +543,9 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_commandElabAttribute___closed__5; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabNamespace___closed__1; -extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* l_Lean_Elab_Command_CommandElabM_MonadQuotation___closed__3; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabSection___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; extern lean_object* l_Lean_initAttr; lean_object* l_Lean_Elab_Command_logTrace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4367,7 +4367,7 @@ x_10 = lean_unsigned_to_nat(2u); x_11 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; +x_12 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; x_13 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); @@ -8620,7 +8620,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_6 == 0) { lean_object* x_7; lean_object* x_8; @@ -8798,7 +8798,7 @@ if (x_11 == 0) { uint8_t x_14; lean_dec(x_9); -x_14 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_14 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_14 == 0) { lean_object* x_15; lean_object* x_16; diff --git a/stage0/stdlib/Init/Lean/Elab/Declaration.c b/stage0/stdlib/Init/Lean/Elab/Declaration.c index 8c187265f3..9a236df6b0 100644 --- a/stage0/stdlib/Init/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Init/Lean/Elab/Declaration.c @@ -67,6 +67,7 @@ extern lean_object* l_Lean_Parser_Term_id___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_elabStructure___rarg(lean_object*); lean_object* l_Lean_Elab_Command_elabAxiom(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabInstance___closed__1; +lean_object* l_Lean_Elab_Command_elabConstant___closed__11; extern lean_object* l_Lean_Parser_Command_def___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; extern lean_object* l_Lean_Meta_registerInstanceAttr___closed__1; @@ -95,7 +96,9 @@ extern lean_object* l_Lean_Elab_Command_withDeclId___closed__3; lean_object* l_Lean_Elab_Command_elabAxiom___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_sortDeclLevelParams(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabClassInductive___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_nullKind___closed__2; extern lean_object* l_Lean_mkReducibilityAttrs___closed__4; +lean_object* l_Lean_Elab_Command_elabConstant___closed__10; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Command_2__getState(lean_object*, lean_object*); lean_object* l_List_drop___main___rarg(lean_object*, lean_object*); @@ -459,6 +462,28 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } +lean_object* _init_l_Lean_Elab_Command_elabConstant___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Elab_Command_elabConstant___closed__9; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* _init_l_Lean_Elab_Command_elabConstant___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Lean_Elab_Command_elabConstant___closed__10; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} lean_object* l_Lean_Elab_Command_elabConstant(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -504,7 +529,7 @@ x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); x_28 = lean_array_push(x_22, x_27); -x_29 = l_Lean_Elab_Command_elabConstant___closed__9; +x_29 = l_Lean_Elab_Command_elabConstant___closed__11; x_30 = lean_array_push(x_28, x_29); x_31 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_32 = lean_alloc_ctor(1, 2, 0); @@ -4897,6 +4922,10 @@ l_Lean_Elab_Command_elabConstant___closed__8 = _init_l_Lean_Elab_Command_elabCon lean_mark_persistent(l_Lean_Elab_Command_elabConstant___closed__8); l_Lean_Elab_Command_elabConstant___closed__9 = _init_l_Lean_Elab_Command_elabConstant___closed__9(); lean_mark_persistent(l_Lean_Elab_Command_elabConstant___closed__9); +l_Lean_Elab_Command_elabConstant___closed__10 = _init_l_Lean_Elab_Command_elabConstant___closed__10(); +lean_mark_persistent(l_Lean_Elab_Command_elabConstant___closed__10); +l_Lean_Elab_Command_elabConstant___closed__11 = _init_l_Lean_Elab_Command_elabConstant___closed__11(); +lean_mark_persistent(l_Lean_Elab_Command_elabConstant___closed__11); l_Lean_Elab_Command_elabInstance___closed__1 = _init_l_Lean_Elab_Command_elabInstance___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_elabInstance___closed__1); l_Lean_Elab_Command_elabExample___closed__1 = _init_l_Lean_Elab_Command_elabExample___closed__1(); diff --git a/stage0/stdlib/Init/Lean/Elab/Quotation.c b/stage0/stdlib/Init/Lean/Elab/Quotation.c index 265c61312c..e4cd97cd0e 100644 --- a/stage0/stdlib/Init/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Init/Lean/Elab/Quotation.c @@ -17,6 +17,7 @@ lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Elab_Term_antiquotKind_x3f(lean_object*); lean_object* l_Lean_mkTermId(lean_object*); lean_object* l_List_head_x21___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__2___closed__2; +extern lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4; lean_object* l_Lean_Prod_hasQuote___rarg___closed__1; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__18; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); @@ -90,6 +91,7 @@ extern lean_object* l_Lean_nameToExprAux___main___closed__4; lean_object* l___private_Init_Lean_Elab_Quotation_7__getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__50; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__15; +extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_Quotation_7__getHeadInfo___spec__2___closed__1; lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__21; @@ -99,7 +101,6 @@ lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__5; lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__3; lean_object* l_Lean_Elab_Term_elabStxQuot___closed__1; extern lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; -extern lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6; lean_object* l_Lean_mkMVar(lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_10__getPatternVarsAux___main___spec__1(lean_object*, lean_object*, lean_object*); @@ -411,6 +412,7 @@ extern lean_object* l_Lean_Parser_Term_letPatDecl___elambda__1___closed__2; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__17; +extern lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); lean_object* l_List_head_x21___at___private_Init_Lean_Elab_Quotation_7__getHeadInfo___spec__1(lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__57; @@ -511,7 +513,6 @@ lean_object* l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___close lean_object* l_Lean_Elab_Term_stxQuot_expand___closed__11; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___spec__1___closed__1; extern lean_object* l_Lean_Syntax_getKind___closed__3; -extern lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabStxQuot(lean_object*); lean_object* l_Array_findMAux___main___at___private_Init_Lean_Elab_Quotation_4__elimAntiquotChoices___main___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___main___at___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___spec__8___closed__7; @@ -578,7 +579,6 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_9__compileStxMatch___main___closed__9; lean_object* l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__8; lean_object* l___private_Init_Lean_Elab_Quotation_5__quoteSyntax___main___closed__37; -extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; extern lean_object* l_Lean_Parser_Term_and___elambda__1___closed__1; lean_object* l_List_foldl___main___at___private_Init_Lean_Elab_Quotation_14__toPreterm___main___spec__13(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Quotation_1__quoteName___main___closed__2; @@ -843,7 +843,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_rootNamespace___closed__2; -x_2 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -853,7 +853,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Prod_hasQuote___rarg___closed__1; -x_2 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6; +x_2 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -5578,7 +5578,7 @@ x_68 = l_Lean_Syntax_isOfKind(x_66, x_67); if (x_68 == 0) { uint8_t x_69; -x_69 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_69 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_69 == 0) { lean_dec(x_66); @@ -5655,7 +5655,7 @@ if (x_86 == 0) { uint8_t x_87; lean_dec(x_85); -x_87 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_87 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_87 == 0) { lean_dec(x_84); @@ -10966,7 +10966,7 @@ x_45 = l_Lean_Syntax_isOfKind(x_43, x_44); if (x_45 == 0) { uint8_t x_46; -x_46 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_46 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_46 == 0) { lean_dec(x_43); @@ -11043,7 +11043,7 @@ if (x_63 == 0) { uint8_t x_64; lean_dec(x_62); -x_64 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_64 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_64 == 0) { lean_dec(x_61); diff --git a/stage0/stdlib/Init/Lean/Elab/Syntax.c b/stage0/stdlib/Init/Lean/Elab/Syntax.c index 8737fc64ac..93bdc2f2ae 100644 --- a/stage0/stdlib/Init/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Init/Lean/Elab/Syntax.c @@ -66,6 +66,7 @@ extern lean_object* l_Lean_nameToExprAux___main___closed__4; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabMacro___closed__3; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_elabNotation___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Lean_Elab_Command_runTermElabM___rarg___closed__1; lean_object* l_Lean_Elab_Command_elabSyntax___closed__7; extern lean_object* l_PersistentHashMap_mkCollisionNode___rarg___closed__1; @@ -173,7 +174,6 @@ lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l___private_Init_Lean_Elab_Syntax_8__antiquote___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__87; lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__68; -extern lean_object* l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__7; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__24; lean_object* l_Lean_Elab_Command_elabNotation___lambda__1___closed__3; lean_object* l_Lean_Syntax_isStrLit_x3f(lean_object*); @@ -409,6 +409,7 @@ lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__4; lean_object* l___regBuiltinCommandElab_Lean_Elab_Command_elabDeclareSyntaxCat___closed__3; lean_object* l_Array_umapMAux___main___at_Lean_Elab_Command_elabNotation___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__27; +extern lean_object* l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Syntax_2__mkParserSeq___spec__1___closed__9; extern lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; lean_object* l_Lean_mkStxLit(lean_object*, lean_object*, lean_object*); @@ -459,7 +460,6 @@ lean_object* l___private_Init_Lean_Elab_Command_7__mkTermState(lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___main___closed__35; extern lean_object* l_Lean_Parser_mkAntiquot___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; extern lean_object* l_Lean_Parser_Term_orelse___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___closed__2; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); @@ -641,7 +641,7 @@ return x_9; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_10 = lean_array_fget(x_2, x_3); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_3, x_11); @@ -671,18 +671,19 @@ x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); x_28 = lean_array_push(x_22, x_27); -x_29 = lean_array_push(x_28, x_4); -x_30 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = lean_array_push(x_22, x_31); -x_33 = lean_array_push(x_32, x_10); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_33); +x_29 = lean_array_push(x_22, x_4); +x_30 = lean_array_push(x_29, x_10); +x_31 = l_Lean_nullKind___closed__2; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_array_push(x_28, x_32); +x_34 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); x_3 = x_12; -x_4 = x_34; +x_4 = x_35; x_6 = x_15; goto _start; } @@ -2399,574 +2400,289 @@ x_9 = l_Lean_choiceKind; x_10 = lean_name_eq(x_6, x_9); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_111; lean_object* x_112; lean_object* x_178; lean_object* x_179; lean_object* x_245; lean_object* x_246; lean_object* x_345; lean_object* x_346; lean_object* x_445; lean_object* x_446; lean_object* x_512; lean_object* x_513; lean_object* x_579; lean_object* x_580; lean_object* x_646; lean_object* x_647; lean_object* x_680; uint8_t x_681; -x_680 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; -x_681 = lean_name_eq(x_6, x_680); -if (x_681 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_114; lean_object* x_115; lean_object* x_190; lean_object* x_191; lean_object* x_266; lean_object* x_267; lean_object* x_369; lean_object* x_370; lean_object* x_472; lean_object* x_473; lean_object* x_548; lean_object* x_549; lean_object* x_624; lean_object* x_625; lean_object* x_700; lean_object* x_701; lean_object* x_734; uint8_t x_735; +x_734 = l_Lean_Parser_Syntax_paren___elambda__1___closed__3; +x_735 = lean_name_eq(x_6, x_734); +if (x_735 == 0) { -lean_object* x_682; uint8_t x_683; -x_682 = l_Lean_Parser_Syntax_cat___elambda__1___closed__2; -x_683 = lean_name_eq(x_6, x_682); -if (x_683 == 0) +lean_object* x_736; uint8_t x_737; +x_736 = l_Lean_Parser_Syntax_cat___elambda__1___closed__2; +x_737 = lean_name_eq(x_6, x_736); +if (x_737 == 0) { -lean_object* x_684; uint8_t x_685; -x_684 = l_Lean_Parser_Syntax_atom___elambda__1___closed__2; -x_685 = lean_name_eq(x_6, x_684); -if (x_685 == 0) +lean_object* x_738; uint8_t x_739; +x_738 = l_Lean_Parser_Syntax_atom___elambda__1___closed__2; +x_739 = lean_name_eq(x_6, x_738); +if (x_739 == 0) { -lean_object* x_686; uint8_t x_687; -x_686 = l_Lean_Parser_Syntax_num___elambda__1___closed__1; -x_687 = lean_name_eq(x_6, x_686); -if (x_687 == 0) +lean_object* x_740; uint8_t x_741; +x_740 = l_Lean_Parser_Syntax_num___elambda__1___closed__1; +x_741 = lean_name_eq(x_6, x_740); +if (x_741 == 0) { -lean_object* x_688; uint8_t x_689; -x_688 = l_Lean_Parser_Syntax_str___elambda__1___closed__1; -x_689 = lean_name_eq(x_6, x_688); -if (x_689 == 0) +lean_object* x_742; uint8_t x_743; +x_742 = l_Lean_Parser_Syntax_str___elambda__1___closed__1; +x_743 = lean_name_eq(x_6, x_742); +if (x_743 == 0) { -lean_object* x_690; uint8_t x_691; -x_690 = l_Lean_Parser_Syntax_char___elambda__1___closed__1; -x_691 = lean_name_eq(x_6, x_690); -if (x_691 == 0) -{ -lean_object* x_692; uint8_t x_693; -x_692 = l_Lean_Parser_Syntax_ident___elambda__1___closed__1; -x_693 = lean_name_eq(x_6, x_692); -if (x_693 == 0) -{ -lean_object* x_694; uint8_t x_695; -x_694 = l_Lean_Parser_Syntax_try___elambda__1___closed__2; -x_695 = lean_name_eq(x_6, x_694); -if (x_695 == 0) -{ -lean_object* x_696; uint8_t x_697; -x_696 = l_Lean_Parser_Syntax_lookahead___elambda__1___closed__2; -x_697 = lean_name_eq(x_6, x_696); -if (x_697 == 0) -{ -lean_object* x_698; uint8_t x_699; -x_698 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; -x_699 = lean_name_eq(x_6, x_698); -if (x_699 == 0) -{ -lean_object* x_700; uint8_t x_701; -x_700 = l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; -x_701 = lean_name_eq(x_6, x_700); -if (x_701 == 0) -{ -lean_object* x_702; uint8_t x_703; -x_702 = l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; -x_703 = lean_name_eq(x_6, x_702); -if (x_703 == 0) -{ -lean_object* x_704; uint8_t x_705; -x_704 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; -x_705 = lean_name_eq(x_6, x_704); -if (x_705 == 0) -{ -lean_object* x_706; uint8_t x_707; -x_706 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; -x_707 = lean_name_eq(x_6, x_706); -if (x_707 == 0) -{ -lean_object* x_708; uint8_t x_709; -x_708 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; -x_709 = lean_name_eq(x_6, x_708); -lean_dec(x_6); -if (x_709 == 0) -{ -lean_object* x_710; uint8_t x_711; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_710 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_5); -x_711 = !lean_is_exclusive(x_710); -if (x_711 == 0) -{ -return x_710; -} -else -{ -lean_object* x_712; lean_object* x_713; lean_object* x_714; -x_712 = lean_ctor_get(x_710, 0); -x_713 = lean_ctor_get(x_710, 1); -lean_inc(x_713); -lean_inc(x_712); -lean_dec(x_710); -x_714 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_714, 0, x_712); -lean_ctor_set(x_714, 1, x_713); -return x_714; -} -} -else -{ -lean_object* x_715; lean_object* x_716; -x_715 = lean_unsigned_to_nat(0u); -x_716 = l_Lean_Syntax_getArg(x_1, x_715); -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_717; lean_object* x_718; -x_717 = lean_box(1); -lean_inc(x_4); -x_718 = l_Lean_Elab_Term_toParserDescrAux___main(x_716, x_717, x_3, x_4, x_5); -if (lean_obj_tag(x_718) == 0) -{ -lean_object* x_719; lean_object* x_720; -x_719 = lean_ctor_get(x_718, 0); -lean_inc(x_719); -x_720 = lean_ctor_get(x_718, 1); -lean_inc(x_720); -lean_dec(x_718); -x_11 = x_719; -x_12 = x_720; -goto block_110; -} -else -{ -uint8_t x_721; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_721 = !lean_is_exclusive(x_718); -if (x_721 == 0) -{ -return x_718; -} -else -{ -lean_object* x_722; lean_object* x_723; lean_object* x_724; -x_722 = lean_ctor_get(x_718, 0); -x_723 = lean_ctor_get(x_718, 1); -lean_inc(x_723); -lean_inc(x_722); -lean_dec(x_718); -x_724 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_724, 0, x_722); -lean_ctor_set(x_724, 1, x_723); -return x_724; -} -} -} -else -{ -lean_object* x_725; -lean_inc(x_4); -lean_inc(x_2); -x_725 = l_Lean_Elab_Term_toParserDescrAux___main(x_716, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_725) == 0) -{ -lean_object* x_726; lean_object* x_727; -x_726 = lean_ctor_get(x_725, 0); -lean_inc(x_726); -x_727 = lean_ctor_get(x_725, 1); -lean_inc(x_727); -lean_dec(x_725); -x_11 = x_726; -x_12 = x_727; -goto block_110; -} -else -{ -uint8_t x_728; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_728 = !lean_is_exclusive(x_725); -if (x_728 == 0) -{ -return x_725; -} -else -{ -lean_object* x_729; lean_object* x_730; lean_object* x_731; -x_729 = lean_ctor_get(x_725, 0); -x_730 = lean_ctor_get(x_725, 1); -lean_inc(x_730); -lean_inc(x_729); -lean_dec(x_725); -x_731 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_731, 0, x_729); -lean_ctor_set(x_731, 1, x_730); -return x_731; -} -} -} -} -} -else -{ -lean_object* x_732; lean_object* x_733; -lean_dec(x_6); -x_732 = lean_unsigned_to_nat(0u); -x_733 = l_Lean_Syntax_getArg(x_1, x_732); -lean_dec(x_1); -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_734; lean_object* x_735; -lean_dec(x_2); -x_734 = lean_box(1); -lean_inc(x_4); -x_735 = l_Lean_Elab_Term_toParserDescrAux___main(x_733, x_734, x_3, x_4, x_5); -if (lean_obj_tag(x_735) == 0) -{ -lean_object* x_736; lean_object* x_737; -x_736 = lean_ctor_get(x_735, 0); -lean_inc(x_736); -x_737 = lean_ctor_get(x_735, 1); -lean_inc(x_737); -lean_dec(x_735); -x_111 = x_736; -x_112 = x_737; -goto block_177; -} -else -{ -uint8_t x_738; -lean_dec(x_4); -x_738 = !lean_is_exclusive(x_735); -if (x_738 == 0) -{ -return x_735; -} -else -{ -lean_object* x_739; lean_object* x_740; lean_object* x_741; -x_739 = lean_ctor_get(x_735, 0); -x_740 = lean_ctor_get(x_735, 1); -lean_inc(x_740); -lean_inc(x_739); -lean_dec(x_735); -x_741 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_741, 0, x_739); -lean_ctor_set(x_741, 1, x_740); -return x_741; -} -} -} -else -{ -lean_object* x_742; -lean_inc(x_4); -x_742 = l_Lean_Elab_Term_toParserDescrAux___main(x_733, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_742) == 0) -{ -lean_object* x_743; lean_object* x_744; -x_743 = lean_ctor_get(x_742, 0); -lean_inc(x_743); -x_744 = lean_ctor_get(x_742, 1); -lean_inc(x_744); -lean_dec(x_742); -x_111 = x_743; -x_112 = x_744; -goto block_177; -} -else -{ -uint8_t x_745; -lean_dec(x_4); -x_745 = !lean_is_exclusive(x_742); +lean_object* x_744; uint8_t x_745; +x_744 = l_Lean_Parser_Syntax_char___elambda__1___closed__1; +x_745 = lean_name_eq(x_6, x_744); if (x_745 == 0) { -return x_742; -} -else +lean_object* x_746; uint8_t x_747; +x_746 = l_Lean_Parser_Syntax_ident___elambda__1___closed__1; +x_747 = lean_name_eq(x_6, x_746); +if (x_747 == 0) { -lean_object* x_746; lean_object* x_747; lean_object* x_748; -x_746 = lean_ctor_get(x_742, 0); -x_747 = lean_ctor_get(x_742, 1); -lean_inc(x_747); -lean_inc(x_746); -lean_dec(x_742); -x_748 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_748, 0, x_746); -lean_ctor_set(x_748, 1, x_747); -return x_748; -} -} -} -} -} -else +lean_object* x_748; uint8_t x_749; +x_748 = l_Lean_Parser_Syntax_try___elambda__1___closed__2; +x_749 = lean_name_eq(x_6, x_748); +if (x_749 == 0) { -lean_object* x_749; lean_object* x_750; -lean_dec(x_6); -x_749 = lean_unsigned_to_nat(0u); -x_750 = l_Lean_Syntax_getArg(x_1, x_749); -lean_dec(x_1); -if (lean_obj_tag(x_2) == 2) +lean_object* x_750; uint8_t x_751; +x_750 = l_Lean_Parser_Syntax_lookahead___elambda__1___closed__2; +x_751 = lean_name_eq(x_6, x_750); +if (x_751 == 0) { -lean_object* x_751; lean_object* x_752; -lean_dec(x_2); -x_751 = lean_box(1); -lean_inc(x_4); -x_752 = l_Lean_Elab_Term_toParserDescrAux___main(x_750, x_751, x_3, x_4, x_5); -if (lean_obj_tag(x_752) == 0) +lean_object* x_752; uint8_t x_753; +x_752 = l_Lean_Parser_Syntax_optional___elambda__1___closed__2; +x_753 = lean_name_eq(x_6, x_752); +if (x_753 == 0) { -lean_object* x_753; lean_object* x_754; -x_753 = lean_ctor_get(x_752, 0); -lean_inc(x_753); -x_754 = lean_ctor_get(x_752, 1); -lean_inc(x_754); -lean_dec(x_752); -x_178 = x_753; -x_179 = x_754; -goto block_244; -} -else -{ -uint8_t x_755; -lean_dec(x_4); -x_755 = !lean_is_exclusive(x_752); +lean_object* x_754; uint8_t x_755; +x_754 = l_Lean_Parser_Syntax_sepBy___elambda__1___closed__2; +x_755 = lean_name_eq(x_6, x_754); if (x_755 == 0) { -return x_752; -} -else +lean_object* x_756; uint8_t x_757; +x_756 = l_Lean_Parser_Syntax_sepBy1___elambda__1___closed__2; +x_757 = lean_name_eq(x_6, x_756); +if (x_757 == 0) { -lean_object* x_756; lean_object* x_757; lean_object* x_758; -x_756 = lean_ctor_get(x_752, 0); -x_757 = lean_ctor_get(x_752, 1); -lean_inc(x_757); -lean_inc(x_756); -lean_dec(x_752); -x_758 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_758, 0, x_756); -lean_ctor_set(x_758, 1, x_757); -return x_758; -} -} -} -else +lean_object* x_758; uint8_t x_759; +x_758 = l_Lean_Parser_Syntax_many___elambda__1___closed__2; +x_759 = lean_name_eq(x_6, x_758); +if (x_759 == 0) { -lean_object* x_759; -lean_inc(x_4); -x_759 = l_Lean_Elab_Term_toParserDescrAux___main(x_750, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_759) == 0) +lean_object* x_760; uint8_t x_761; +x_760 = l_Lean_Parser_Syntax_many1___elambda__1___closed__2; +x_761 = lean_name_eq(x_6, x_760); +if (x_761 == 0) { -lean_object* x_760; lean_object* x_761; -x_760 = lean_ctor_get(x_759, 0); -lean_inc(x_760); -x_761 = lean_ctor_get(x_759, 1); -lean_inc(x_761); -lean_dec(x_759); -x_178 = x_760; -x_179 = x_761; -goto block_244; -} -else -{ -uint8_t x_762; -lean_dec(x_4); -x_762 = !lean_is_exclusive(x_759); -if (x_762 == 0) -{ -return x_759; -} -else -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; -x_763 = lean_ctor_get(x_759, 0); -x_764 = lean_ctor_get(x_759, 1); -lean_inc(x_764); -lean_inc(x_763); -lean_dec(x_759); -x_765 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_765, 0, x_763); -lean_ctor_set(x_765, 1, x_764); -return x_765; -} -} -} -} -} -else -{ -lean_object* x_766; lean_object* x_767; +lean_object* x_762; uint8_t x_763; +x_762 = l_Lean_Parser_Syntax_orelse___elambda__1___closed__1; +x_763 = lean_name_eq(x_6, x_762); lean_dec(x_6); -x_766 = lean_unsigned_to_nat(1u); -x_767 = l_Lean_Syntax_getArg(x_1, x_766); -if (lean_obj_tag(x_2) == 2) +if (x_763 == 0) { -lean_object* x_768; lean_object* x_769; -x_768 = lean_box(1); -lean_inc(x_4); -x_769 = l_Lean_Elab_Term_toParserDescrAux___main(x_767, x_768, x_3, x_4, x_5); -if (lean_obj_tag(x_769) == 0) -{ -lean_object* x_770; lean_object* x_771; -x_770 = lean_ctor_get(x_769, 0); -lean_inc(x_770); -x_771 = lean_ctor_get(x_769, 1); -lean_inc(x_771); -lean_dec(x_769); -x_245 = x_770; -x_246 = x_771; -goto block_344; -} -else -{ -uint8_t x_772; +lean_object* x_764; uint8_t x_765; lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_772 = !lean_is_exclusive(x_769); -if (x_772 == 0) +x_764 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_5); +x_765 = !lean_is_exclusive(x_764); +if (x_765 == 0) { -return x_769; +return x_764; } else { -lean_object* x_773; lean_object* x_774; lean_object* x_775; -x_773 = lean_ctor_get(x_769, 0); -x_774 = lean_ctor_get(x_769, 1); -lean_inc(x_774); +lean_object* x_766; lean_object* x_767; lean_object* x_768; +x_766 = lean_ctor_get(x_764, 0); +x_767 = lean_ctor_get(x_764, 1); +lean_inc(x_767); +lean_inc(x_766); +lean_dec(x_764); +x_768 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_768, 0, x_766); +lean_ctor_set(x_768, 1, x_767); +return x_768; +} +} +else +{ +lean_object* x_769; lean_object* x_770; +x_769 = lean_unsigned_to_nat(0u); +x_770 = l_Lean_Syntax_getArg(x_1, x_769); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_771; lean_object* x_772; +x_771 = lean_box(1); +lean_inc(x_4); +x_772 = l_Lean_Elab_Term_toParserDescrAux___main(x_770, x_771, x_3, x_4, x_5); +if (lean_obj_tag(x_772) == 0) +{ +lean_object* x_773; lean_object* x_774; +x_773 = lean_ctor_get(x_772, 0); lean_inc(x_773); -lean_dec(x_769); -x_775 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_775, 0, x_773); -lean_ctor_set(x_775, 1, x_774); -return x_775; -} -} +x_774 = lean_ctor_get(x_772, 1); +lean_inc(x_774); +lean_dec(x_772); +x_11 = x_773; +x_12 = x_774; +goto block_113; } else { -lean_object* x_776; -lean_inc(x_4); -lean_inc(x_2); -x_776 = l_Lean_Elab_Term_toParserDescrAux___main(x_767, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_776) == 0) +uint8_t x_775; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_775 = !lean_is_exclusive(x_772); +if (x_775 == 0) { -lean_object* x_777; lean_object* x_778; -x_777 = lean_ctor_get(x_776, 0); +return x_772; +} +else +{ +lean_object* x_776; lean_object* x_777; lean_object* x_778; +x_776 = lean_ctor_get(x_772, 0); +x_777 = lean_ctor_get(x_772, 1); lean_inc(x_777); -x_778 = lean_ctor_get(x_776, 1); -lean_inc(x_778); -lean_dec(x_776); -x_245 = x_777; -x_246 = x_778; -goto block_344; -} -else -{ -uint8_t x_779; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_779 = !lean_is_exclusive(x_776); -if (x_779 == 0) -{ -return x_776; -} -else -{ -lean_object* x_780; lean_object* x_781; lean_object* x_782; -x_780 = lean_ctor_get(x_776, 0); -x_781 = lean_ctor_get(x_776, 1); -lean_inc(x_781); -lean_inc(x_780); -lean_dec(x_776); -x_782 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_782, 0, x_780); -lean_ctor_set(x_782, 1, x_781); -return x_782; -} -} -} -} -} -else -{ -lean_object* x_783; lean_object* x_784; -lean_dec(x_6); -x_783 = lean_unsigned_to_nat(1u); -x_784 = l_Lean_Syntax_getArg(x_1, x_783); -if (lean_obj_tag(x_2) == 2) -{ -lean_object* x_785; lean_object* x_786; -x_785 = lean_box(1); -lean_inc(x_4); -x_786 = l_Lean_Elab_Term_toParserDescrAux___main(x_784, x_785, x_3, x_4, x_5); -if (lean_obj_tag(x_786) == 0) -{ -lean_object* x_787; lean_object* x_788; -x_787 = lean_ctor_get(x_786, 0); -lean_inc(x_787); -x_788 = lean_ctor_get(x_786, 1); -lean_inc(x_788); -lean_dec(x_786); -x_345 = x_787; -x_346 = x_788; -goto block_444; -} -else -{ -uint8_t x_789; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_789 = !lean_is_exclusive(x_786); -if (x_789 == 0) -{ -return x_786; -} -else -{ -lean_object* x_790; lean_object* x_791; lean_object* x_792; -x_790 = lean_ctor_get(x_786, 0); -x_791 = lean_ctor_get(x_786, 1); -lean_inc(x_791); -lean_inc(x_790); -lean_dec(x_786); -x_792 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_792, 0, x_790); -lean_ctor_set(x_792, 1, x_791); -return x_792; +lean_inc(x_776); +lean_dec(x_772); +x_778 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_778, 0, x_776); +lean_ctor_set(x_778, 1, x_777); +return x_778; } } } else { -lean_object* x_793; +lean_object* x_779; lean_inc(x_4); lean_inc(x_2); -x_793 = l_Lean_Elab_Term_toParserDescrAux___main(x_784, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_793) == 0) +x_779 = l_Lean_Elab_Term_toParserDescrAux___main(x_770, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_779) == 0) { -lean_object* x_794; lean_object* x_795; -x_794 = lean_ctor_get(x_793, 0); +lean_object* x_780; lean_object* x_781; +x_780 = lean_ctor_get(x_779, 0); +lean_inc(x_780); +x_781 = lean_ctor_get(x_779, 1); +lean_inc(x_781); +lean_dec(x_779); +x_11 = x_780; +x_12 = x_781; +goto block_113; +} +else +{ +uint8_t x_782; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_782 = !lean_is_exclusive(x_779); +if (x_782 == 0) +{ +return x_779; +} +else +{ +lean_object* x_783; lean_object* x_784; lean_object* x_785; +x_783 = lean_ctor_get(x_779, 0); +x_784 = lean_ctor_get(x_779, 1); +lean_inc(x_784); +lean_inc(x_783); +lean_dec(x_779); +x_785 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_785, 0, x_783); +lean_ctor_set(x_785, 1, x_784); +return x_785; +} +} +} +} +} +else +{ +lean_object* x_786; lean_object* x_787; +lean_dec(x_6); +x_786 = lean_unsigned_to_nat(0u); +x_787 = l_Lean_Syntax_getArg(x_1, x_786); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_788; lean_object* x_789; +lean_dec(x_2); +x_788 = lean_box(1); +lean_inc(x_4); +x_789 = l_Lean_Elab_Term_toParserDescrAux___main(x_787, x_788, x_3, x_4, x_5); +if (lean_obj_tag(x_789) == 0) +{ +lean_object* x_790; lean_object* x_791; +x_790 = lean_ctor_get(x_789, 0); +lean_inc(x_790); +x_791 = lean_ctor_get(x_789, 1); +lean_inc(x_791); +lean_dec(x_789); +x_114 = x_790; +x_115 = x_791; +goto block_189; +} +else +{ +uint8_t x_792; +lean_dec(x_4); +x_792 = !lean_is_exclusive(x_789); +if (x_792 == 0) +{ +return x_789; +} +else +{ +lean_object* x_793; lean_object* x_794; lean_object* x_795; +x_793 = lean_ctor_get(x_789, 0); +x_794 = lean_ctor_get(x_789, 1); lean_inc(x_794); -x_795 = lean_ctor_get(x_793, 1); -lean_inc(x_795); -lean_dec(x_793); -x_345 = x_794; -x_346 = x_795; -goto block_444; +lean_inc(x_793); +lean_dec(x_789); +x_795 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_795, 0, x_793); +lean_ctor_set(x_795, 1, x_794); +return x_795; +} +} } else { -uint8_t x_796; -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_796 = !lean_is_exclusive(x_793); -if (x_796 == 0) +lean_object* x_796; +lean_inc(x_4); +x_796 = l_Lean_Elab_Term_toParserDescrAux___main(x_787, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_796) == 0) { -return x_793; -} -else -{ -lean_object* x_797; lean_object* x_798; lean_object* x_799; -x_797 = lean_ctor_get(x_793, 0); -x_798 = lean_ctor_get(x_793, 1); -lean_inc(x_798); +lean_object* x_797; lean_object* x_798; +x_797 = lean_ctor_get(x_796, 0); lean_inc(x_797); -lean_dec(x_793); -x_799 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_799, 0, x_797); -lean_ctor_set(x_799, 1, x_798); -return x_799; +x_798 = lean_ctor_get(x_796, 1); +lean_inc(x_798); +lean_dec(x_796); +x_114 = x_797; +x_115 = x_798; +goto block_189; +} +else +{ +uint8_t x_799; +lean_dec(x_4); +x_799 = !lean_is_exclusive(x_796); +if (x_799 == 0) +{ +return x_796; +} +else +{ +lean_object* x_800; lean_object* x_801; lean_object* x_802; +x_800 = lean_ctor_get(x_796, 0); +x_801 = lean_ctor_get(x_796, 1); +lean_inc(x_801); +lean_inc(x_800); +lean_dec(x_796); +x_802 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_802, 0, x_800); +lean_ctor_set(x_802, 1, x_801); +return x_802; } } } @@ -2974,92 +2690,92 @@ return x_799; } else { -lean_object* x_800; lean_object* x_801; +lean_object* x_803; lean_object* x_804; lean_dec(x_6); -x_800 = lean_unsigned_to_nat(1u); -x_801 = l_Lean_Syntax_getArg(x_1, x_800); +x_803 = lean_unsigned_to_nat(0u); +x_804 = l_Lean_Syntax_getArg(x_1, x_803); lean_dec(x_1); if (lean_obj_tag(x_2) == 2) { -lean_object* x_802; lean_object* x_803; +lean_object* x_805; lean_object* x_806; lean_dec(x_2); -x_802 = lean_box(1); +x_805 = lean_box(1); lean_inc(x_4); -x_803 = l_Lean_Elab_Term_toParserDescrAux___main(x_801, x_802, x_3, x_4, x_5); -if (lean_obj_tag(x_803) == 0) +x_806 = l_Lean_Elab_Term_toParserDescrAux___main(x_804, x_805, x_3, x_4, x_5); +if (lean_obj_tag(x_806) == 0) { -lean_object* x_804; lean_object* x_805; -x_804 = lean_ctor_get(x_803, 0); -lean_inc(x_804); -x_805 = lean_ctor_get(x_803, 1); -lean_inc(x_805); -lean_dec(x_803); -x_445 = x_804; -x_446 = x_805; -goto block_511; -} -else -{ -uint8_t x_806; -lean_dec(x_4); -x_806 = !lean_is_exclusive(x_803); -if (x_806 == 0) -{ -return x_803; -} -else -{ -lean_object* x_807; lean_object* x_808; lean_object* x_809; -x_807 = lean_ctor_get(x_803, 0); -x_808 = lean_ctor_get(x_803, 1); -lean_inc(x_808); +lean_object* x_807; lean_object* x_808; +x_807 = lean_ctor_get(x_806, 0); lean_inc(x_807); -lean_dec(x_803); -x_809 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_809, 0, x_807); -lean_ctor_set(x_809, 1, x_808); -return x_809; -} -} +x_808 = lean_ctor_get(x_806, 1); +lean_inc(x_808); +lean_dec(x_806); +x_190 = x_807; +x_191 = x_808; +goto block_265; } else { -lean_object* x_810; -lean_inc(x_4); -x_810 = l_Lean_Elab_Term_toParserDescrAux___main(x_801, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_810) == 0) +uint8_t x_809; +lean_dec(x_4); +x_809 = !lean_is_exclusive(x_806); +if (x_809 == 0) { -lean_object* x_811; lean_object* x_812; -x_811 = lean_ctor_get(x_810, 0); +return x_806; +} +else +{ +lean_object* x_810; lean_object* x_811; lean_object* x_812; +x_810 = lean_ctor_get(x_806, 0); +x_811 = lean_ctor_get(x_806, 1); lean_inc(x_811); -x_812 = lean_ctor_get(x_810, 1); -lean_inc(x_812); -lean_dec(x_810); -x_445 = x_811; -x_446 = x_812; -goto block_511; +lean_inc(x_810); +lean_dec(x_806); +x_812 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_812, 0, x_810); +lean_ctor_set(x_812, 1, x_811); +return x_812; +} +} } else { -uint8_t x_813; -lean_dec(x_4); -x_813 = !lean_is_exclusive(x_810); -if (x_813 == 0) +lean_object* x_813; +lean_inc(x_4); +x_813 = l_Lean_Elab_Term_toParserDescrAux___main(x_804, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_813) == 0) { -return x_810; -} -else -{ -lean_object* x_814; lean_object* x_815; lean_object* x_816; -x_814 = lean_ctor_get(x_810, 0); -x_815 = lean_ctor_get(x_810, 1); -lean_inc(x_815); +lean_object* x_814; lean_object* x_815; +x_814 = lean_ctor_get(x_813, 0); lean_inc(x_814); -lean_dec(x_810); -x_816 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_816, 0, x_814); -lean_ctor_set(x_816, 1, x_815); -return x_816; +x_815 = lean_ctor_get(x_813, 1); +lean_inc(x_815); +lean_dec(x_813); +x_190 = x_814; +x_191 = x_815; +goto block_265; +} +else +{ +uint8_t x_816; +lean_dec(x_4); +x_816 = !lean_is_exclusive(x_813); +if (x_816 == 0) +{ +return x_813; +} +else +{ +lean_object* x_817; lean_object* x_818; lean_object* x_819; +x_817 = lean_ctor_get(x_813, 0); +x_818 = lean_ctor_get(x_813, 1); +lean_inc(x_818); +lean_inc(x_817); +lean_dec(x_813); +x_819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_819, 0, x_817); +lean_ctor_set(x_819, 1, x_818); +return x_819; } } } @@ -3067,92 +2783,95 @@ return x_816; } else { -lean_object* x_817; lean_object* x_818; +lean_object* x_820; lean_object* x_821; lean_dec(x_6); -x_817 = lean_unsigned_to_nat(1u); -x_818 = l_Lean_Syntax_getArg(x_1, x_817); -lean_dec(x_1); +x_820 = lean_unsigned_to_nat(1u); +x_821 = l_Lean_Syntax_getArg(x_1, x_820); if (lean_obj_tag(x_2) == 2) { -lean_object* x_819; lean_object* x_820; -lean_dec(x_2); -x_819 = lean_box(1); +lean_object* x_822; lean_object* x_823; +x_822 = lean_box(1); lean_inc(x_4); -x_820 = l_Lean_Elab_Term_toParserDescrAux___main(x_818, x_819, x_3, x_4, x_5); -if (lean_obj_tag(x_820) == 0) +x_823 = l_Lean_Elab_Term_toParserDescrAux___main(x_821, x_822, x_3, x_4, x_5); +if (lean_obj_tag(x_823) == 0) { -lean_object* x_821; lean_object* x_822; -x_821 = lean_ctor_get(x_820, 0); -lean_inc(x_821); -x_822 = lean_ctor_get(x_820, 1); -lean_inc(x_822); -lean_dec(x_820); -x_512 = x_821; -x_513 = x_822; -goto block_578; -} -else -{ -uint8_t x_823; -lean_dec(x_4); -x_823 = !lean_is_exclusive(x_820); -if (x_823 == 0) -{ -return x_820; -} -else -{ -lean_object* x_824; lean_object* x_825; lean_object* x_826; -x_824 = lean_ctor_get(x_820, 0); -x_825 = lean_ctor_get(x_820, 1); -lean_inc(x_825); +lean_object* x_824; lean_object* x_825; +x_824 = lean_ctor_get(x_823, 0); lean_inc(x_824); -lean_dec(x_820); -x_826 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_826, 0, x_824); -lean_ctor_set(x_826, 1, x_825); -return x_826; -} -} +x_825 = lean_ctor_get(x_823, 1); +lean_inc(x_825); +lean_dec(x_823); +x_266 = x_824; +x_267 = x_825; +goto block_368; } else { -lean_object* x_827; -lean_inc(x_4); -x_827 = l_Lean_Elab_Term_toParserDescrAux___main(x_818, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_827) == 0) -{ -lean_object* x_828; lean_object* x_829; -x_828 = lean_ctor_get(x_827, 0); -lean_inc(x_828); -x_829 = lean_ctor_get(x_827, 1); -lean_inc(x_829); -lean_dec(x_827); -x_512 = x_828; -x_513 = x_829; -goto block_578; -} -else -{ -uint8_t x_830; +uint8_t x_826; lean_dec(x_4); -x_830 = !lean_is_exclusive(x_827); -if (x_830 == 0) +lean_dec(x_2); +lean_dec(x_1); +x_826 = !lean_is_exclusive(x_823); +if (x_826 == 0) { -return x_827; +return x_823; } else { -lean_object* x_831; lean_object* x_832; lean_object* x_833; -x_831 = lean_ctor_get(x_827, 0); -x_832 = lean_ctor_get(x_827, 1); -lean_inc(x_832); +lean_object* x_827; lean_object* x_828; lean_object* x_829; +x_827 = lean_ctor_get(x_823, 0); +x_828 = lean_ctor_get(x_823, 1); +lean_inc(x_828); +lean_inc(x_827); +lean_dec(x_823); +x_829 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_829, 0, x_827); +lean_ctor_set(x_829, 1, x_828); +return x_829; +} +} +} +else +{ +lean_object* x_830; +lean_inc(x_4); +lean_inc(x_2); +x_830 = l_Lean_Elab_Term_toParserDescrAux___main(x_821, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_830) == 0) +{ +lean_object* x_831; lean_object* x_832; +x_831 = lean_ctor_get(x_830, 0); lean_inc(x_831); -lean_dec(x_827); -x_833 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_833, 0, x_831); -lean_ctor_set(x_833, 1, x_832); -return x_833; +x_832 = lean_ctor_get(x_830, 1); +lean_inc(x_832); +lean_dec(x_830); +x_266 = x_831; +x_267 = x_832; +goto block_368; +} +else +{ +uint8_t x_833; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_833 = !lean_is_exclusive(x_830); +if (x_833 == 0) +{ +return x_830; +} +else +{ +lean_object* x_834; lean_object* x_835; lean_object* x_836; +x_834 = lean_ctor_get(x_830, 0); +x_835 = lean_ctor_get(x_830, 1); +lean_inc(x_835); +lean_inc(x_834); +lean_dec(x_830); +x_836 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_836, 0, x_834); +lean_ctor_set(x_836, 1, x_835); +return x_836; } } } @@ -3160,963 +2879,1249 @@ return x_833; } else { -lean_object* x_834; lean_object* x_835; +lean_object* x_837; lean_object* x_838; lean_dec(x_6); -x_834 = lean_unsigned_to_nat(1u); -x_835 = l_Lean_Syntax_getArg(x_1, x_834); +x_837 = lean_unsigned_to_nat(1u); +x_838 = l_Lean_Syntax_getArg(x_1, x_837); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_839; lean_object* x_840; +x_839 = lean_box(1); +lean_inc(x_4); +x_840 = l_Lean_Elab_Term_toParserDescrAux___main(x_838, x_839, x_3, x_4, x_5); +if (lean_obj_tag(x_840) == 0) +{ +lean_object* x_841; lean_object* x_842; +x_841 = lean_ctor_get(x_840, 0); +lean_inc(x_841); +x_842 = lean_ctor_get(x_840, 1); +lean_inc(x_842); +lean_dec(x_840); +x_369 = x_841; +x_370 = x_842; +goto block_471; +} +else +{ +uint8_t x_843; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_843 = !lean_is_exclusive(x_840); +if (x_843 == 0) +{ +return x_840; +} +else +{ +lean_object* x_844; lean_object* x_845; lean_object* x_846; +x_844 = lean_ctor_get(x_840, 0); +x_845 = lean_ctor_get(x_840, 1); +lean_inc(x_845); +lean_inc(x_844); +lean_dec(x_840); +x_846 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_846, 0, x_844); +lean_ctor_set(x_846, 1, x_845); +return x_846; +} +} +} +else +{ +lean_object* x_847; +lean_inc(x_4); +lean_inc(x_2); +x_847 = l_Lean_Elab_Term_toParserDescrAux___main(x_838, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_847) == 0) +{ +lean_object* x_848; lean_object* x_849; +x_848 = lean_ctor_get(x_847, 0); +lean_inc(x_848); +x_849 = lean_ctor_get(x_847, 1); +lean_inc(x_849); +lean_dec(x_847); +x_369 = x_848; +x_370 = x_849; +goto block_471; +} +else +{ +uint8_t x_850; +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_850 = !lean_is_exclusive(x_847); +if (x_850 == 0) +{ +return x_847; +} +else +{ +lean_object* x_851; lean_object* x_852; lean_object* x_853; +x_851 = lean_ctor_get(x_847, 0); +x_852 = lean_ctor_get(x_847, 1); +lean_inc(x_852); +lean_inc(x_851); +lean_dec(x_847); +x_853 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_853, 0, x_851); +lean_ctor_set(x_853, 1, x_852); +return x_853; +} +} +} +} +} +else +{ +lean_object* x_854; lean_object* x_855; +lean_dec(x_6); +x_854 = lean_unsigned_to_nat(1u); +x_855 = l_Lean_Syntax_getArg(x_1, x_854); lean_dec(x_1); if (lean_obj_tag(x_2) == 2) { -lean_object* x_836; lean_object* x_837; +lean_object* x_856; lean_object* x_857; lean_dec(x_2); -x_836 = lean_box(1); +x_856 = lean_box(1); lean_inc(x_4); -x_837 = l_Lean_Elab_Term_toParserDescrAux___main(x_835, x_836, x_3, x_4, x_5); -if (lean_obj_tag(x_837) == 0) +x_857 = l_Lean_Elab_Term_toParserDescrAux___main(x_855, x_856, x_3, x_4, x_5); +if (lean_obj_tag(x_857) == 0) { -lean_object* x_838; lean_object* x_839; -x_838 = lean_ctor_get(x_837, 0); -lean_inc(x_838); -x_839 = lean_ctor_get(x_837, 1); -lean_inc(x_839); -lean_dec(x_837); -x_579 = x_838; -x_580 = x_839; -goto block_645; +lean_object* x_858; lean_object* x_859; +x_858 = lean_ctor_get(x_857, 0); +lean_inc(x_858); +x_859 = lean_ctor_get(x_857, 1); +lean_inc(x_859); +lean_dec(x_857); +x_472 = x_858; +x_473 = x_859; +goto block_547; } else { -uint8_t x_840; +uint8_t x_860; lean_dec(x_4); -x_840 = !lean_is_exclusive(x_837); -if (x_840 == 0) +x_860 = !lean_is_exclusive(x_857); +if (x_860 == 0) { -return x_837; +return x_857; } else { -lean_object* x_841; lean_object* x_842; lean_object* x_843; -x_841 = lean_ctor_get(x_837, 0); -x_842 = lean_ctor_get(x_837, 1); -lean_inc(x_842); -lean_inc(x_841); -lean_dec(x_837); -x_843 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_843, 0, x_841); -lean_ctor_set(x_843, 1, x_842); -return x_843; +lean_object* x_861; lean_object* x_862; lean_object* x_863; +x_861 = lean_ctor_get(x_857, 0); +x_862 = lean_ctor_get(x_857, 1); +lean_inc(x_862); +lean_inc(x_861); +lean_dec(x_857); +x_863 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_863, 0, x_861); +lean_ctor_set(x_863, 1, x_862); +return x_863; } } } else { -lean_object* x_844; +lean_object* x_864; lean_inc(x_4); -x_844 = l_Lean_Elab_Term_toParserDescrAux___main(x_835, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_844) == 0) +x_864 = l_Lean_Elab_Term_toParserDescrAux___main(x_855, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_864) == 0) { -lean_object* x_845; lean_object* x_846; -x_845 = lean_ctor_get(x_844, 0); -lean_inc(x_845); -x_846 = lean_ctor_get(x_844, 1); -lean_inc(x_846); -lean_dec(x_844); -x_579 = x_845; -x_580 = x_846; -goto block_645; +lean_object* x_865; lean_object* x_866; +x_865 = lean_ctor_get(x_864, 0); +lean_inc(x_865); +x_866 = lean_ctor_get(x_864, 1); +lean_inc(x_866); +lean_dec(x_864); +x_472 = x_865; +x_473 = x_866; +goto block_547; } else { -uint8_t x_847; +uint8_t x_867; lean_dec(x_4); -x_847 = !lean_is_exclusive(x_844); -if (x_847 == 0) +x_867 = !lean_is_exclusive(x_864); +if (x_867 == 0) { -return x_844; +return x_864; } else { -lean_object* x_848; lean_object* x_849; lean_object* x_850; -x_848 = lean_ctor_get(x_844, 0); -x_849 = lean_ctor_get(x_844, 1); -lean_inc(x_849); -lean_inc(x_848); -lean_dec(x_844); -x_850 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_850, 0, x_848); -lean_ctor_set(x_850, 1, x_849); -return x_850; -} -} -} -} -} -else -{ -lean_object* x_851; uint8_t x_852; -lean_dec(x_6); -lean_dec(x_2); -lean_dec(x_1); -x_851 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); -lean_dec(x_4); -x_852 = !lean_is_exclusive(x_851); -if (x_852 == 0) -{ -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; lean_object* x_867; -x_853 = lean_ctor_get(x_851, 0); -x_854 = lean_box(0); -x_855 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; -x_856 = lean_name_mk_numeral(x_855, x_853); -x_857 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; -x_858 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; -x_859 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_859, 0, x_854); -lean_ctor_set(x_859, 1, x_857); -lean_ctor_set(x_859, 2, x_856); -lean_ctor_set(x_859, 3, x_858); -x_860 = l_Array_empty___closed__1; -x_861 = lean_array_push(x_860, x_859); -x_862 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_863 = lean_array_push(x_861, x_862); -x_864 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_865 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_865, 0, x_864); -lean_ctor_set(x_865, 1, x_863); -x_866 = lean_box(x_3); -x_867 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_867, 0, x_865); -lean_ctor_set(x_867, 1, x_866); -lean_ctor_set(x_851, 0, x_867); -return x_851; -} -else -{ -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; -x_868 = lean_ctor_get(x_851, 0); -x_869 = lean_ctor_get(x_851, 1); +lean_object* x_868; lean_object* x_869; lean_object* x_870; +x_868 = lean_ctor_get(x_864, 0); +x_869 = lean_ctor_get(x_864, 1); lean_inc(x_869); lean_inc(x_868); -lean_dec(x_851); -x_870 = lean_box(0); -x_871 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; -x_872 = lean_name_mk_numeral(x_871, x_868); -x_873 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; -x_874 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; -x_875 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_875, 0, x_870); -lean_ctor_set(x_875, 1, x_873); -lean_ctor_set(x_875, 2, x_872); -lean_ctor_set(x_875, 3, x_874); -x_876 = l_Array_empty___closed__1; -x_877 = lean_array_push(x_876, x_875); -x_878 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_879 = lean_array_push(x_877, x_878); -x_880 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_881 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_881, 0, x_880); -lean_ctor_set(x_881, 1, x_879); -x_882 = lean_box(x_3); -x_883 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_883, 0, x_881); -lean_ctor_set(x_883, 1, x_882); -x_884 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_884, 0, x_883); -lean_ctor_set(x_884, 1, x_869); -return x_884; +lean_dec(x_864); +x_870 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_870, 0, x_868); +lean_ctor_set(x_870, 1, x_869); +return x_870; +} +} } } } else { -lean_object* x_885; uint8_t x_886; +lean_object* x_871; lean_object* x_872; lean_dec(x_6); -lean_dec(x_2); +x_871 = lean_unsigned_to_nat(1u); +x_872 = l_Lean_Syntax_getArg(x_1, x_871); lean_dec(x_1); -x_885 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); -lean_dec(x_4); -x_886 = !lean_is_exclusive(x_885); -if (x_886 == 0) +if (lean_obj_tag(x_2) == 2) { -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; -x_887 = lean_ctor_get(x_885, 0); -x_888 = lean_box(0); -x_889 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; -x_890 = lean_name_mk_numeral(x_889, x_887); -x_891 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; -x_892 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; -x_893 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_893, 0, x_888); -lean_ctor_set(x_893, 1, x_891); -lean_ctor_set(x_893, 2, x_890); -lean_ctor_set(x_893, 3, x_892); -x_894 = l_Array_empty___closed__1; -x_895 = lean_array_push(x_894, x_893); -x_896 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_897 = lean_array_push(x_895, x_896); -x_898 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_899 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_899, 0, x_898); -lean_ctor_set(x_899, 1, x_897); -x_900 = lean_box(x_3); -x_901 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_901, 0, x_899); -lean_ctor_set(x_901, 1, x_900); -lean_ctor_set(x_885, 0, x_901); -return x_885; +lean_object* x_873; lean_object* x_874; +lean_dec(x_2); +x_873 = lean_box(1); +lean_inc(x_4); +x_874 = l_Lean_Elab_Term_toParserDescrAux___main(x_872, x_873, x_3, x_4, x_5); +if (lean_obj_tag(x_874) == 0) +{ +lean_object* x_875; lean_object* x_876; +x_875 = lean_ctor_get(x_874, 0); +lean_inc(x_875); +x_876 = lean_ctor_get(x_874, 1); +lean_inc(x_876); +lean_dec(x_874); +x_548 = x_875; +x_549 = x_876; +goto block_623; } else { -lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; -x_902 = lean_ctor_get(x_885, 0); -x_903 = lean_ctor_get(x_885, 1); +uint8_t x_877; +lean_dec(x_4); +x_877 = !lean_is_exclusive(x_874); +if (x_877 == 0) +{ +return x_874; +} +else +{ +lean_object* x_878; lean_object* x_879; lean_object* x_880; +x_878 = lean_ctor_get(x_874, 0); +x_879 = lean_ctor_get(x_874, 1); +lean_inc(x_879); +lean_inc(x_878); +lean_dec(x_874); +x_880 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_880, 0, x_878); +lean_ctor_set(x_880, 1, x_879); +return x_880; +} +} +} +else +{ +lean_object* x_881; +lean_inc(x_4); +x_881 = l_Lean_Elab_Term_toParserDescrAux___main(x_872, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_881) == 0) +{ +lean_object* x_882; lean_object* x_883; +x_882 = lean_ctor_get(x_881, 0); +lean_inc(x_882); +x_883 = lean_ctor_get(x_881, 1); +lean_inc(x_883); +lean_dec(x_881); +x_548 = x_882; +x_549 = x_883; +goto block_623; +} +else +{ +uint8_t x_884; +lean_dec(x_4); +x_884 = !lean_is_exclusive(x_881); +if (x_884 == 0) +{ +return x_881; +} +else +{ +lean_object* x_885; lean_object* x_886; lean_object* x_887; +x_885 = lean_ctor_get(x_881, 0); +x_886 = lean_ctor_get(x_881, 1); +lean_inc(x_886); +lean_inc(x_885); +lean_dec(x_881); +x_887 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_887, 0, x_885); +lean_ctor_set(x_887, 1, x_886); +return x_887; +} +} +} +} +} +else +{ +lean_object* x_888; lean_object* x_889; +lean_dec(x_6); +x_888 = lean_unsigned_to_nat(1u); +x_889 = l_Lean_Syntax_getArg(x_1, x_888); +lean_dec(x_1); +if (lean_obj_tag(x_2) == 2) +{ +lean_object* x_890; lean_object* x_891; +lean_dec(x_2); +x_890 = lean_box(1); +lean_inc(x_4); +x_891 = l_Lean_Elab_Term_toParserDescrAux___main(x_889, x_890, x_3, x_4, x_5); +if (lean_obj_tag(x_891) == 0) +{ +lean_object* x_892; lean_object* x_893; +x_892 = lean_ctor_get(x_891, 0); +lean_inc(x_892); +x_893 = lean_ctor_get(x_891, 1); +lean_inc(x_893); +lean_dec(x_891); +x_624 = x_892; +x_625 = x_893; +goto block_699; +} +else +{ +uint8_t x_894; +lean_dec(x_4); +x_894 = !lean_is_exclusive(x_891); +if (x_894 == 0) +{ +return x_891; +} +else +{ +lean_object* x_895; lean_object* x_896; lean_object* x_897; +x_895 = lean_ctor_get(x_891, 0); +x_896 = lean_ctor_get(x_891, 1); +lean_inc(x_896); +lean_inc(x_895); +lean_dec(x_891); +x_897 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_897, 0, x_895); +lean_ctor_set(x_897, 1, x_896); +return x_897; +} +} +} +else +{ +lean_object* x_898; +lean_inc(x_4); +x_898 = l_Lean_Elab_Term_toParserDescrAux___main(x_889, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_898) == 0) +{ +lean_object* x_899; lean_object* x_900; +x_899 = lean_ctor_get(x_898, 0); +lean_inc(x_899); +x_900 = lean_ctor_get(x_898, 1); +lean_inc(x_900); +lean_dec(x_898); +x_624 = x_899; +x_625 = x_900; +goto block_699; +} +else +{ +uint8_t x_901; +lean_dec(x_4); +x_901 = !lean_is_exclusive(x_898); +if (x_901 == 0) +{ +return x_898; +} +else +{ +lean_object* x_902; lean_object* x_903; lean_object* x_904; +x_902 = lean_ctor_get(x_898, 0); +x_903 = lean_ctor_get(x_898, 1); lean_inc(x_903); lean_inc(x_902); -lean_dec(x_885); -x_904 = lean_box(0); -x_905 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; -x_906 = lean_name_mk_numeral(x_905, x_902); -x_907 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; -x_908 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; -x_909 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_909, 0, x_904); -lean_ctor_set(x_909, 1, x_907); -lean_ctor_set(x_909, 2, x_906); -lean_ctor_set(x_909, 3, x_908); -x_910 = l_Array_empty___closed__1; -x_911 = lean_array_push(x_910, x_909); -x_912 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_913 = lean_array_push(x_911, x_912); -x_914 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_915 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_915, 0, x_914); -lean_ctor_set(x_915, 1, x_913); -x_916 = lean_box(x_3); -x_917 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_917, 0, x_915); -lean_ctor_set(x_917, 1, x_916); -x_918 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_918, 0, x_917); -lean_ctor_set(x_918, 1, x_903); -return x_918; +lean_dec(x_898); +x_904 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_904, 0, x_902); +lean_ctor_set(x_904, 1, x_903); +return x_904; +} +} } } } else { -lean_object* x_919; uint8_t x_920; +lean_object* x_905; uint8_t x_906; lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_919 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +x_905 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); lean_dec(x_4); -x_920 = !lean_is_exclusive(x_919); -if (x_920 == 0) +x_906 = !lean_is_exclusive(x_905); +if (x_906 == 0) { -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; -x_921 = lean_ctor_get(x_919, 0); -x_922 = lean_box(0); -x_923 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; -x_924 = lean_name_mk_numeral(x_923, x_921); -x_925 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; -x_926 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; -x_927 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_927, 0, x_922); -lean_ctor_set(x_927, 1, x_925); -lean_ctor_set(x_927, 2, x_924); -lean_ctor_set(x_927, 3, x_926); -x_928 = l_Array_empty___closed__1; -x_929 = lean_array_push(x_928, x_927); -x_930 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_931 = lean_array_push(x_929, x_930); -x_932 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_933 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_933, 0, x_932); -lean_ctor_set(x_933, 1, x_931); -x_934 = lean_box(x_3); -x_935 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_935, 0, x_933); -lean_ctor_set(x_935, 1, x_934); -lean_ctor_set(x_919, 0, x_935); -return x_919; +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; +x_907 = lean_ctor_get(x_905, 0); +x_908 = lean_box(0); +x_909 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; +x_910 = lean_name_mk_numeral(x_909, x_907); +x_911 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +x_912 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_913 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_913, 0, x_908); +lean_ctor_set(x_913, 1, x_911); +lean_ctor_set(x_913, 2, x_910); +lean_ctor_set(x_913, 3, x_912); +x_914 = l_Array_empty___closed__1; +x_915 = lean_array_push(x_914, x_913); +x_916 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_917 = lean_array_push(x_915, x_916); +x_918 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_919 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_919, 0, x_918); +lean_ctor_set(x_919, 1, x_917); +x_920 = lean_box(x_3); +x_921 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_921, 0, x_919); +lean_ctor_set(x_921, 1, x_920); +lean_ctor_set(x_905, 0, x_921); +return x_905; } else { -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; -x_936 = lean_ctor_get(x_919, 0); -x_937 = lean_ctor_get(x_919, 1); -lean_inc(x_937); -lean_inc(x_936); -lean_dec(x_919); -x_938 = lean_box(0); -x_939 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; -x_940 = lean_name_mk_numeral(x_939, x_936); -x_941 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; -x_942 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; -x_943 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_943, 0, x_938); -lean_ctor_set(x_943, 1, x_941); -lean_ctor_set(x_943, 2, x_940); -lean_ctor_set(x_943, 3, x_942); -x_944 = l_Array_empty___closed__1; -x_945 = lean_array_push(x_944, x_943); -x_946 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_947 = lean_array_push(x_945, x_946); -x_948 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_949 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_949, 0, x_948); -lean_ctor_set(x_949, 1, x_947); -x_950 = lean_box(x_3); -x_951 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_951, 0, x_949); -lean_ctor_set(x_951, 1, x_950); -x_952 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_952, 0, x_951); -lean_ctor_set(x_952, 1, x_937); -return x_952; +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; +x_922 = lean_ctor_get(x_905, 0); +x_923 = lean_ctor_get(x_905, 1); +lean_inc(x_923); +lean_inc(x_922); +lean_dec(x_905); +x_924 = lean_box(0); +x_925 = l_Lean_Elab_Term_toParserDescrAux___main___closed__68; +x_926 = lean_name_mk_numeral(x_925, x_922); +x_927 = l_Lean_Elab_Term_toParserDescrAux___main___closed__67; +x_928 = l_Lean_Elab_Term_toParserDescrAux___main___closed__71; +x_929 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_929, 0, x_924); +lean_ctor_set(x_929, 1, x_927); +lean_ctor_set(x_929, 2, x_926); +lean_ctor_set(x_929, 3, x_928); +x_930 = l_Array_empty___closed__1; +x_931 = lean_array_push(x_930, x_929); +x_932 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_933 = lean_array_push(x_931, x_932); +x_934 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_935 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_935, 0, x_934); +lean_ctor_set(x_935, 1, x_933); +x_936 = lean_box(x_3); +x_937 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_937, 0, x_935); +lean_ctor_set(x_937, 1, x_936); +x_938 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_938, 0, x_937); +lean_ctor_set(x_938, 1, x_923); +return x_938; } } } else { -lean_object* x_953; uint8_t x_954; +lean_object* x_939; uint8_t x_940; lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_953 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +x_939 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); lean_dec(x_4); -x_954 = !lean_is_exclusive(x_953); -if (x_954 == 0) +x_940 = !lean_is_exclusive(x_939); +if (x_940 == 0) { -lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; -x_955 = lean_ctor_get(x_953, 0); -x_956 = lean_box(0); -x_957 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; -x_958 = lean_name_mk_numeral(x_957, x_955); -x_959 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; -x_960 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; -x_961 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_961, 0, x_956); -lean_ctor_set(x_961, 1, x_959); -lean_ctor_set(x_961, 2, x_958); -lean_ctor_set(x_961, 3, x_960); -x_962 = l_Array_empty___closed__1; -x_963 = lean_array_push(x_962, x_961); -x_964 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_965 = lean_array_push(x_963, x_964); -x_966 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_967 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_967, 0, x_966); -lean_ctor_set(x_967, 1, x_965); -x_968 = lean_box(x_3); -x_969 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_969, 0, x_967); -lean_ctor_set(x_969, 1, x_968); -lean_ctor_set(x_953, 0, x_969); -return x_953; +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; +x_941 = lean_ctor_get(x_939, 0); +x_942 = lean_box(0); +x_943 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +x_944 = lean_name_mk_numeral(x_943, x_941); +x_945 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +x_946 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_947 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_947, 0, x_942); +lean_ctor_set(x_947, 1, x_945); +lean_ctor_set(x_947, 2, x_944); +lean_ctor_set(x_947, 3, x_946); +x_948 = l_Array_empty___closed__1; +x_949 = lean_array_push(x_948, x_947); +x_950 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_951 = lean_array_push(x_949, x_950); +x_952 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_953 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_953, 0, x_952); +lean_ctor_set(x_953, 1, x_951); +x_954 = lean_box(x_3); +x_955 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_955, 0, x_953); +lean_ctor_set(x_955, 1, x_954); +lean_ctor_set(x_939, 0, x_955); +return x_939; } else { -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; -x_970 = lean_ctor_get(x_953, 0); -x_971 = lean_ctor_get(x_953, 1); -lean_inc(x_971); -lean_inc(x_970); -lean_dec(x_953); -x_972 = lean_box(0); -x_973 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; -x_974 = lean_name_mk_numeral(x_973, x_970); -x_975 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; -x_976 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; -x_977 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_977, 0, x_972); -lean_ctor_set(x_977, 1, x_975); -lean_ctor_set(x_977, 2, x_974); -lean_ctor_set(x_977, 3, x_976); -x_978 = l_Array_empty___closed__1; -x_979 = lean_array_push(x_978, x_977); -x_980 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_981 = lean_array_push(x_979, x_980); -x_982 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_983 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_983, 0, x_982); -lean_ctor_set(x_983, 1, x_981); -x_984 = lean_box(x_3); -x_985 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_985, 0, x_983); -lean_ctor_set(x_985, 1, x_984); -x_986 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_986, 0, x_985); -lean_ctor_set(x_986, 1, x_971); -return x_986; +lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; +x_956 = lean_ctor_get(x_939, 0); +x_957 = lean_ctor_get(x_939, 1); +lean_inc(x_957); +lean_inc(x_956); +lean_dec(x_939); +x_958 = lean_box(0); +x_959 = l_Lean_Elab_Term_toParserDescrAux___main___closed__75; +x_960 = lean_name_mk_numeral(x_959, x_956); +x_961 = l_Lean_Elab_Term_toParserDescrAux___main___closed__74; +x_962 = l_Lean_Elab_Term_toParserDescrAux___main___closed__78; +x_963 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_963, 0, x_958); +lean_ctor_set(x_963, 1, x_961); +lean_ctor_set(x_963, 2, x_960); +lean_ctor_set(x_963, 3, x_962); +x_964 = l_Array_empty___closed__1; +x_965 = lean_array_push(x_964, x_963); +x_966 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_967 = lean_array_push(x_965, x_966); +x_968 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_969 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_969, 0, x_968); +lean_ctor_set(x_969, 1, x_967); +x_970 = lean_box(x_3); +x_971 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_971, 0, x_969); +lean_ctor_set(x_971, 1, x_970); +x_972 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_972, 0, x_971); +lean_ctor_set(x_972, 1, x_957); +return x_972; } } } else { -lean_object* x_987; lean_object* x_988; lean_object* x_989; +lean_object* x_973; uint8_t x_974; lean_dec(x_6); lean_dec(x_2); -x_987 = lean_unsigned_to_nat(0u); -x_988 = l_Lean_Syntax_getArg(x_1, x_987); -x_989 = l_Lean_Syntax_isStrLit_x3f(x_988); -lean_dec(x_988); -if (lean_obj_tag(x_989) == 0) -{ -lean_object* x_990; uint8_t x_991; -lean_dec(x_4); lean_dec(x_1); -x_990 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_5); -x_991 = !lean_is_exclusive(x_990); -if (x_991 == 0) +x_973 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +lean_dec(x_4); +x_974 = !lean_is_exclusive(x_973); +if (x_974 == 0) { -return x_990; +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; +x_975 = lean_ctor_get(x_973, 0); +x_976 = lean_box(0); +x_977 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; +x_978 = lean_name_mk_numeral(x_977, x_975); +x_979 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +x_980 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_981 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_981, 0, x_976); +lean_ctor_set(x_981, 1, x_979); +lean_ctor_set(x_981, 2, x_978); +lean_ctor_set(x_981, 3, x_980); +x_982 = l_Array_empty___closed__1; +x_983 = lean_array_push(x_982, x_981); +x_984 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_985 = lean_array_push(x_983, x_984); +x_986 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_987 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_987, 0, x_986); +lean_ctor_set(x_987, 1, x_985); +x_988 = lean_box(x_3); +x_989 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_989, 0, x_987); +lean_ctor_set(x_989, 1, x_988); +lean_ctor_set(x_973, 0, x_989); +return x_973; } else { -lean_object* x_992; lean_object* x_993; lean_object* x_994; -x_992 = lean_ctor_get(x_990, 0); -x_993 = lean_ctor_get(x_990, 1); -lean_inc(x_993); -lean_inc(x_992); -lean_dec(x_990); -x_994 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_994, 0, x_992); -lean_ctor_set(x_994, 1, x_993); -return x_994; +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; +x_990 = lean_ctor_get(x_973, 0); +x_991 = lean_ctor_get(x_973, 1); +lean_inc(x_991); +lean_inc(x_990); +lean_dec(x_973); +x_992 = lean_box(0); +x_993 = l_Lean_Elab_Term_toParserDescrAux___main___closed__82; +x_994 = lean_name_mk_numeral(x_993, x_990); +x_995 = l_Lean_Elab_Term_toParserDescrAux___main___closed__81; +x_996 = l_Lean_Elab_Term_toParserDescrAux___main___closed__85; +x_997 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_997, 0, x_992); +lean_ctor_set(x_997, 1, x_995); +lean_ctor_set(x_997, 2, x_994); +lean_ctor_set(x_997, 3, x_996); +x_998 = l_Array_empty___closed__1; +x_999 = lean_array_push(x_998, x_997); +x_1000 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1001 = lean_array_push(x_999, x_1000); +x_1002 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1003 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1003, 0, x_1002); +lean_ctor_set(x_1003, 1, x_1001); +x_1004 = lean_box(x_3); +x_1005 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1005, 0, x_1003); +lean_ctor_set(x_1005, 1, x_1004); +x_1006 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1006, 0, x_1005); +lean_ctor_set(x_1006, 1, x_991); +return x_1006; +} } } else { -lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; uint8_t x_1000; -x_995 = lean_ctor_get(x_989, 0); -lean_inc(x_995); -lean_dec(x_989); -x_996 = lean_unsigned_to_nat(1u); -x_997 = l_Lean_Syntax_getArg(x_1, x_996); +lean_object* x_1007; uint8_t x_1008; +lean_dec(x_6); +lean_dec(x_2); lean_dec(x_1); -x_998 = l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(x_997); -lean_dec(x_997); -x_999 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +x_1007 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); lean_dec(x_4); -x_1000 = !lean_is_exclusive(x_999); -if (x_1000 == 0) +x_1008 = !lean_is_exclusive(x_1007); +if (x_1008 == 0) { -lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; -x_1001 = lean_ctor_get(x_999, 0); -x_1002 = lean_box(0); -x_1003 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; -x_1004 = lean_name_mk_numeral(x_1003, x_1001); -x_1005 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; -x_1006 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; -x_1007 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1007, 0, x_1002); -lean_ctor_set(x_1007, 1, x_1005); -lean_ctor_set(x_1007, 2, x_1004); -lean_ctor_set(x_1007, 3, x_1006); -x_1008 = l_Array_empty___closed__1; -x_1009 = lean_array_push(x_1008, x_1007); -x_1010 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1011 = lean_array_push(x_1009, x_1010); -x_1012 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_1013 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1013, 0, x_1012); -lean_ctor_set(x_1013, 1, x_1011); -x_1014 = lean_array_push(x_1008, x_1013); -x_1015 = l_Lean_mkStxStrLit(x_995, x_1002); -x_1016 = l_Lean_mkOptionalNode___closed__1; +lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; +x_1009 = lean_ctor_get(x_1007, 0); +x_1010 = lean_box(0); +x_1011 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +x_1012 = lean_name_mk_numeral(x_1011, x_1009); +x_1013 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; +x_1014 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_1015 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1015, 0, x_1010); +lean_ctor_set(x_1015, 1, x_1013); +lean_ctor_set(x_1015, 2, x_1012); +lean_ctor_set(x_1015, 3, x_1014); +x_1016 = l_Array_empty___closed__1; x_1017 = lean_array_push(x_1016, x_1015); -x_1018 = l_Lean_Parser_Term_str___elambda__1___closed__2; -x_1019 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1019, 0, x_1018); -lean_ctor_set(x_1019, 1, x_1017); -x_1020 = lean_array_push(x_1014, x_1019); -x_1021 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_1022 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1022, 0, x_1021); -lean_ctor_set(x_1022, 1, x_1020); -x_1023 = lean_array_push(x_1008, x_1022); -x_1024 = l___private_Init_Lean_Elab_Quotation_3__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(x_998); -x_1025 = lean_array_push(x_1023, x_1024); -x_1026 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1026, 0, x_1021); -lean_ctor_set(x_1026, 1, x_1025); -x_1027 = lean_box(x_3); -x_1028 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1028, 0, x_1026); -lean_ctor_set(x_1028, 1, x_1027); -lean_ctor_set(x_999, 0, x_1028); -return x_999; +x_1018 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1019 = lean_array_push(x_1017, x_1018); +x_1020 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1021 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1021, 0, x_1020); +lean_ctor_set(x_1021, 1, x_1019); +x_1022 = lean_box(x_3); +x_1023 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1023, 0, x_1021); +lean_ctor_set(x_1023, 1, x_1022); +lean_ctor_set(x_1007, 0, x_1023); +return x_1007; } else { -lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_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; -x_1029 = lean_ctor_get(x_999, 0); -x_1030 = lean_ctor_get(x_999, 1); -lean_inc(x_1030); -lean_inc(x_1029); -lean_dec(x_999); -x_1031 = lean_box(0); -x_1032 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; -x_1033 = lean_name_mk_numeral(x_1032, x_1029); -x_1034 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; -x_1035 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; -x_1036 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1036, 0, x_1031); -lean_ctor_set(x_1036, 1, x_1034); -lean_ctor_set(x_1036, 2, x_1033); -lean_ctor_set(x_1036, 3, x_1035); -x_1037 = l_Array_empty___closed__1; -x_1038 = lean_array_push(x_1037, x_1036); -x_1039 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1040 = lean_array_push(x_1038, x_1039); -x_1041 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_1042 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1042, 0, x_1041); -lean_ctor_set(x_1042, 1, x_1040); -x_1043 = lean_array_push(x_1037, x_1042); -x_1044 = l_Lean_mkStxStrLit(x_995, x_1031); -x_1045 = l_Lean_mkOptionalNode___closed__1; -x_1046 = lean_array_push(x_1045, x_1044); -x_1047 = l_Lean_Parser_Term_str___elambda__1___closed__2; -x_1048 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1048, 0, x_1047); -lean_ctor_set(x_1048, 1, x_1046); -x_1049 = lean_array_push(x_1043, x_1048); -x_1050 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_1051 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1051, 0, x_1050); -lean_ctor_set(x_1051, 1, x_1049); -x_1052 = lean_array_push(x_1037, x_1051); -x_1053 = l___private_Init_Lean_Elab_Quotation_3__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(x_998); -x_1054 = lean_array_push(x_1052, x_1053); -x_1055 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1055, 0, x_1050); -lean_ctor_set(x_1055, 1, x_1054); -x_1056 = lean_box(x_3); -x_1057 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1057, 0, x_1055); -lean_ctor_set(x_1057, 1, x_1056); -x_1058 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1058, 0, x_1057); -lean_ctor_set(x_1058, 1, x_1030); -return x_1058; -} +lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; +x_1024 = lean_ctor_get(x_1007, 0); +x_1025 = lean_ctor_get(x_1007, 1); +lean_inc(x_1025); +lean_inc(x_1024); +lean_dec(x_1007); +x_1026 = lean_box(0); +x_1027 = l_Lean_Elab_Term_toParserDescrAux___main___closed__89; +x_1028 = lean_name_mk_numeral(x_1027, x_1024); +x_1029 = l_Lean_Elab_Term_toParserDescrAux___main___closed__88; +x_1030 = l_Lean_Elab_Term_toParserDescrAux___main___closed__92; +x_1031 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1031, 0, x_1026); +lean_ctor_set(x_1031, 1, x_1029); +lean_ctor_set(x_1031, 2, x_1028); +lean_ctor_set(x_1031, 3, x_1030); +x_1032 = l_Array_empty___closed__1; +x_1033 = lean_array_push(x_1032, x_1031); +x_1034 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1035 = lean_array_push(x_1033, x_1034); +x_1036 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1037 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1037, 0, x_1036); +lean_ctor_set(x_1037, 1, x_1035); +x_1038 = lean_box(x_3); +x_1039 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1039, 0, x_1037); +lean_ctor_set(x_1039, 1, x_1038); +x_1040 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1040, 0, x_1039); +lean_ctor_set(x_1040, 1, x_1025); +return x_1040; } } } else { -lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; uint8_t x_1192; +lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_dec(x_6); -x_1059 = lean_unsigned_to_nat(0u); -x_1060 = l_Lean_Syntax_getIdAt(x_1, x_1059); -x_1061 = lean_unsigned_to_nat(1u); -x_1062 = l_Lean_Syntax_getArg(x_1, x_1061); -x_1063 = l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(x_1062); -x_1064 = l_Lean_Elab_Term_getEnv___rarg(x_5); -x_1065 = lean_ctor_get(x_1064, 0); -lean_inc(x_1065); -x_1066 = lean_ctor_get(x_1064, 1); -lean_inc(x_1066); -lean_dec(x_1064); -x_1192 = l_Lean_Parser_isParserCategory(x_1065, x_1060); -lean_dec(x_1065); -if (x_1192 == 0) -{ -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; uint8_t x_1201; -lean_dec(x_1063); -lean_dec(x_1062); lean_dec(x_2); -x_1193 = lean_unsigned_to_nat(3u); -x_1194 = l_Lean_Syntax_getArg(x_1, x_1193); +x_1041 = lean_unsigned_to_nat(0u); +x_1042 = l_Lean_Syntax_getArg(x_1, x_1041); +x_1043 = l_Lean_Syntax_isStrLit_x3f(x_1042); +lean_dec(x_1042); +if (lean_obj_tag(x_1043) == 0) +{ +lean_object* x_1044; uint8_t x_1045; +lean_dec(x_4); lean_dec(x_1); -x_1195 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1195, 0, x_1060); -x_1196 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; -x_1197 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1197, 0, x_1196); -lean_ctor_set(x_1197, 1, x_1195); -x_1198 = l_Lean_Elab_Term_mkConst___closed__4; -x_1199 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1199, 0, x_1197); -lean_ctor_set(x_1199, 1, x_1198); -x_1200 = l_Lean_Elab_Term_throwError___rarg(x_1194, x_1199, x_4, x_1066); -lean_dec(x_1194); -x_1201 = !lean_is_exclusive(x_1200); -if (x_1201 == 0) +x_1044 = l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(x_5); +x_1045 = !lean_is_exclusive(x_1044); +if (x_1045 == 0) { -return x_1200; +return x_1044; } else { -lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; -x_1202 = lean_ctor_get(x_1200, 0); -x_1203 = lean_ctor_get(x_1200, 1); -lean_inc(x_1203); -lean_inc(x_1202); -lean_dec(x_1200); -x_1204 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1204, 0, x_1202); -lean_ctor_set(x_1204, 1, x_1203); -return x_1204; +lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; +x_1046 = lean_ctor_get(x_1044, 0); +x_1047 = lean_ctor_get(x_1044, 1); +lean_inc(x_1047); +lean_inc(x_1046); +lean_dec(x_1044); +x_1048 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1048, 0, x_1046); +lean_ctor_set(x_1048, 1, x_1047); +return x_1048; } } else { -lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; -x_1205 = lean_box(0); -x_1206 = lean_box(x_3); -x_1207 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1207, 0, x_1205); -lean_ctor_set(x_1207, 1, x_1206); -x_1067 = x_1207; -x_1068 = x_1066; -goto block_1191; -} -block_1191: +lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; uint8_t x_1054; +x_1049 = lean_ctor_get(x_1043, 0); +lean_inc(x_1049); +lean_dec(x_1043); +x_1050 = lean_unsigned_to_nat(1u); +x_1051 = l_Lean_Syntax_getArg(x_1, x_1050); +lean_dec(x_1); +x_1052 = l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(x_1051); +lean_dec(x_1051); +x_1053 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_5); +lean_dec(x_4); +x_1054 = !lean_is_exclusive(x_1053); +if (x_1054 == 0) { -lean_object* x_1069; uint8_t 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; -x_1069 = lean_ctor_get(x_1067, 1); -lean_inc(x_1069); -lean_dec(x_1067); -x_1070 = lean_unbox(x_1069); -lean_dec(x_1069); -x_1071 = l___private_Init_Lean_Elab_Syntax_3__getMode(x_2, x_1070, x_4, x_1068); -x_1072 = lean_ctor_get(x_1071, 0); -lean_inc(x_1072); -x_1073 = lean_ctor_get(x_1071, 1); -lean_inc(x_1073); -lean_dec(x_1071); -x_1074 = lean_ctor_get(x_1072, 0); -lean_inc(x_1074); -x_1075 = lean_ctor_get(x_1072, 1); -lean_inc(x_1075); -if (lean_is_exclusive(x_1072)) { - lean_ctor_release(x_1072, 0); - lean_ctor_release(x_1072, 1); - x_1076 = x_1072; +lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; 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; +x_1055 = lean_ctor_get(x_1053, 0); +x_1056 = lean_box(0); +x_1057 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +x_1058 = lean_name_mk_numeral(x_1057, x_1055); +x_1059 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; +x_1060 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_1061 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1061, 0, x_1056); +lean_ctor_set(x_1061, 1, x_1059); +lean_ctor_set(x_1061, 2, x_1058); +lean_ctor_set(x_1061, 3, x_1060); +x_1062 = l_Array_empty___closed__1; +x_1063 = lean_array_push(x_1062, x_1061); +x_1064 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1065 = lean_array_push(x_1063, x_1064); +x_1066 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1067 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1067, 0, x_1066); +lean_ctor_set(x_1067, 1, x_1065); +x_1068 = lean_array_push(x_1062, x_1067); +x_1069 = l_Lean_mkStxStrLit(x_1049, x_1056); +x_1070 = l_Lean_mkOptionalNode___closed__1; +x_1071 = lean_array_push(x_1070, x_1069); +x_1072 = l_Lean_Parser_Term_str___elambda__1___closed__2; +x_1073 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1073, 0, x_1072); +lean_ctor_set(x_1073, 1, x_1071); +x_1074 = lean_array_push(x_1062, x_1073); +x_1075 = l___private_Init_Lean_Elab_Quotation_3__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(x_1052); +x_1076 = lean_array_push(x_1074, x_1075); +x_1077 = l_Lean_nullKind___closed__2; +x_1078 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1078, 0, x_1077); +lean_ctor_set(x_1078, 1, x_1076); +x_1079 = lean_array_push(x_1068, x_1078); +x_1080 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1081 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1081, 0, x_1080); +lean_ctor_set(x_1081, 1, x_1079); +x_1082 = lean_box(x_3); +x_1083 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1083, 0, x_1081); +lean_ctor_set(x_1083, 1, x_1082); +lean_ctor_set(x_1053, 0, x_1083); +return x_1053; +} +else +{ +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; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; +x_1084 = lean_ctor_get(x_1053, 0); +x_1085 = lean_ctor_get(x_1053, 1); +lean_inc(x_1085); +lean_inc(x_1084); +lean_dec(x_1053); +x_1086 = lean_box(0); +x_1087 = l_Lean_Elab_Term_toParserDescrAux___main___closed__96; +x_1088 = lean_name_mk_numeral(x_1087, x_1084); +x_1089 = l_Lean_Elab_Term_toParserDescrAux___main___closed__95; +x_1090 = l_Lean_Elab_Term_toParserDescrAux___main___closed__99; +x_1091 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1091, 0, x_1086); +lean_ctor_set(x_1091, 1, x_1089); +lean_ctor_set(x_1091, 2, x_1088); +lean_ctor_set(x_1091, 3, x_1090); +x_1092 = l_Array_empty___closed__1; +x_1093 = lean_array_push(x_1092, x_1091); +x_1094 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1095 = lean_array_push(x_1093, x_1094); +x_1096 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1097 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1097, 0, x_1096); +lean_ctor_set(x_1097, 1, x_1095); +x_1098 = lean_array_push(x_1092, x_1097); +x_1099 = l_Lean_mkStxStrLit(x_1049, x_1086); +x_1100 = l_Lean_mkOptionalNode___closed__1; +x_1101 = lean_array_push(x_1100, x_1099); +x_1102 = l_Lean_Parser_Term_str___elambda__1___closed__2; +x_1103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1103, 0, x_1102); +lean_ctor_set(x_1103, 1, x_1101); +x_1104 = lean_array_push(x_1092, x_1103); +x_1105 = l___private_Init_Lean_Elab_Quotation_3__quoteOption___at_Lean_Elab_Term_toParserDescrAux___main___spec__1(x_1052); +x_1106 = lean_array_push(x_1104, x_1105); +x_1107 = l_Lean_nullKind___closed__2; +x_1108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1108, 0, x_1107); +lean_ctor_set(x_1108, 1, x_1106); +x_1109 = lean_array_push(x_1098, x_1108); +x_1110 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1111, 0, x_1110); +lean_ctor_set(x_1111, 1, x_1109); +x_1112 = lean_box(x_3); +x_1113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1113, 0, x_1111); +lean_ctor_set(x_1113, 1, x_1112); +x_1114 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1114, 0, x_1113); +lean_ctor_set(x_1114, 1, x_1085); +return x_1114; +} +} +} +} +else +{ +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; uint8_t x_1250; +lean_dec(x_6); +x_1115 = lean_unsigned_to_nat(0u); +x_1116 = l_Lean_Syntax_getIdAt(x_1, x_1115); +x_1117 = lean_unsigned_to_nat(1u); +x_1118 = l_Lean_Syntax_getArg(x_1, x_1117); +x_1119 = l___private_Init_Lean_Elab_Syntax_1__expandOptPrecedence(x_1118); +x_1120 = l_Lean_Elab_Term_getEnv___rarg(x_5); +x_1121 = lean_ctor_get(x_1120, 0); +lean_inc(x_1121); +x_1122 = lean_ctor_get(x_1120, 1); +lean_inc(x_1122); +lean_dec(x_1120); +x_1250 = l_Lean_Parser_isParserCategory(x_1121, x_1116); +lean_dec(x_1121); +if (x_1250 == 0) +{ +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; uint8_t x_1259; +lean_dec(x_1119); +lean_dec(x_1118); +lean_dec(x_2); +x_1251 = lean_unsigned_to_nat(3u); +x_1252 = l_Lean_Syntax_getArg(x_1, x_1251); +lean_dec(x_1); +x_1253 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1253, 0, x_1116); +x_1254 = l_Lean_Elab_Term_toParserDescrAux___main___closed__123; +x_1255 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1255, 0, x_1254); +lean_ctor_set(x_1255, 1, x_1253); +x_1256 = l_Lean_Elab_Term_mkConst___closed__4; +x_1257 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1257, 0, x_1255); +lean_ctor_set(x_1257, 1, x_1256); +x_1258 = l_Lean_Elab_Term_throwError___rarg(x_1252, x_1257, x_4, x_1122); +lean_dec(x_1252); +x_1259 = !lean_is_exclusive(x_1258); +if (x_1259 == 0) +{ +return x_1258; +} +else +{ +lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; +x_1260 = lean_ctor_get(x_1258, 0); +x_1261 = lean_ctor_get(x_1258, 1); +lean_inc(x_1261); +lean_inc(x_1260); +lean_dec(x_1258); +x_1262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1262, 0, x_1260); +lean_ctor_set(x_1262, 1, x_1261); +return x_1262; +} +} +else +{ +lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; +x_1263 = lean_box(0); +x_1264 = lean_box(x_3); +x_1265 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1265, 0, x_1263); +lean_ctor_set(x_1265, 1, x_1264); +x_1123 = x_1265; +x_1124 = x_1122; +goto block_1249; +} +block_1249: +{ +lean_object* x_1125; uint8_t 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; +x_1125 = lean_ctor_get(x_1123, 1); +lean_inc(x_1125); +lean_dec(x_1123); +x_1126 = lean_unbox(x_1125); +lean_dec(x_1125); +x_1127 = l___private_Init_Lean_Elab_Syntax_3__getMode(x_2, x_1126, x_4, x_1124); +x_1128 = lean_ctor_get(x_1127, 0); +lean_inc(x_1128); +x_1129 = lean_ctor_get(x_1127, 1); +lean_inc(x_1129); +lean_dec(x_1127); +x_1130 = lean_ctor_get(x_1128, 0); +lean_inc(x_1130); +x_1131 = lean_ctor_get(x_1128, 1); +lean_inc(x_1131); +if (lean_is_exclusive(x_1128)) { + lean_ctor_release(x_1128, 0); + lean_ctor_release(x_1128, 1); + x_1132 = x_1128; } else { - lean_dec_ref(x_1072); - x_1076 = lean_box(0); + lean_dec_ref(x_1128); + x_1132 = lean_box(0); } -switch (lean_obj_tag(x_1074)) { +switch (lean_obj_tag(x_1130)) { case 0: { -lean_dec(x_1062); +lean_dec(x_1118); lean_dec(x_1); -if (lean_obj_tag(x_1063) == 0) +if (lean_obj_tag(x_1119) == 0) { -x_1077 = x_1059; -goto block_1140; +x_1133 = x_1115; +goto block_1198; } else { -lean_object* x_1141; -x_1141 = lean_ctor_get(x_1063, 0); -lean_inc(x_1141); -lean_dec(x_1063); -x_1077 = x_1141; -goto block_1140; +lean_object* x_1199; +x_1199 = lean_ctor_get(x_1119, 0); +lean_inc(x_1199); +lean_dec(x_1119); +x_1133 = x_1199; +goto block_1198; } } case 1: { -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; uint8_t x_1150; -lean_dec(x_1076); -lean_dec(x_1075); -lean_dec(x_1063); -lean_dec(x_1062); -x_1142 = lean_unsigned_to_nat(3u); -x_1143 = l_Lean_Syntax_getArg(x_1, x_1142); +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; uint8_t x_1208; +lean_dec(x_1132); +lean_dec(x_1131); +lean_dec(x_1119); +lean_dec(x_1118); +x_1200 = lean_unsigned_to_nat(3u); +x_1201 = l_Lean_Syntax_getArg(x_1, x_1200); lean_dec(x_1); -x_1144 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1144, 0, x_1060); -x_1145 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; -x_1146 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1146, 0, x_1145); -lean_ctor_set(x_1146, 1, x_1144); -x_1147 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; -x_1148 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1148, 0, x_1146); -lean_ctor_set(x_1148, 1, x_1147); -x_1149 = l_Lean_Elab_Term_throwError___rarg(x_1143, x_1148, x_4, x_1073); -lean_dec(x_1143); -x_1150 = !lean_is_exclusive(x_1149); -if (x_1150 == 0) +x_1202 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1202, 0, x_1116); +x_1203 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1204 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1204, 0, x_1203); +lean_ctor_set(x_1204, 1, x_1202); +x_1205 = l_Lean_Elab_Term_toParserDescrAux___main___closed__112; +x_1206 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1206, 0, x_1204); +lean_ctor_set(x_1206, 1, x_1205); +x_1207 = l_Lean_Elab_Term_throwError___rarg(x_1201, x_1206, x_4, x_1129); +lean_dec(x_1201); +x_1208 = !lean_is_exclusive(x_1207); +if (x_1208 == 0) { -return x_1149; +return x_1207; } else { -lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; -x_1151 = lean_ctor_get(x_1149, 0); -x_1152 = lean_ctor_get(x_1149, 1); -lean_inc(x_1152); -lean_inc(x_1151); -lean_dec(x_1149); -x_1153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1153, 0, x_1151); -lean_ctor_set(x_1153, 1, x_1152); -return x_1153; +lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; +x_1209 = lean_ctor_get(x_1207, 0); +x_1210 = lean_ctor_get(x_1207, 1); +lean_inc(x_1210); +lean_inc(x_1209); +lean_dec(x_1207); +x_1211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1211, 0, x_1209); +lean_ctor_set(x_1211, 1, x_1210); +return x_1211; } } default: { -lean_object* x_1154; uint8_t x_1155; -lean_dec(x_1076); -lean_dec(x_1075); -x_1154 = lean_ctor_get(x_1074, 0); -lean_inc(x_1154); -lean_dec(x_1074); -x_1155 = lean_name_eq(x_1060, x_1154); -if (x_1155 == 0) +lean_object* x_1212; uint8_t x_1213; +lean_dec(x_1132); +lean_dec(x_1131); +x_1212 = lean_ctor_get(x_1130, 0); +lean_inc(x_1212); +lean_dec(x_1130); +x_1213 = lean_name_eq(x_1116, x_1212); +if (x_1213 == 0) { -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; uint8_t x_1168; -lean_dec(x_1063); -lean_dec(x_1062); -x_1156 = lean_unsigned_to_nat(3u); -x_1157 = l_Lean_Syntax_getArg(x_1, x_1156); +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; uint8_t x_1226; +lean_dec(x_1119); +lean_dec(x_1118); +x_1214 = lean_unsigned_to_nat(3u); +x_1215 = l_Lean_Syntax_getArg(x_1, x_1214); lean_dec(x_1); -x_1158 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1158, 0, x_1060); -x_1159 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; -x_1160 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1160, 0, x_1159); -lean_ctor_set(x_1160, 1, x_1158); -x_1161 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; -x_1162 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1162, 0, x_1160); -lean_ctor_set(x_1162, 1, x_1161); -x_1163 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_1163, 0, x_1154); -x_1164 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1164, 0, x_1162); -lean_ctor_set(x_1164, 1, x_1163); -x_1165 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; -x_1166 = lean_alloc_ctor(9, 2, 0); -lean_ctor_set(x_1166, 0, x_1164); -lean_ctor_set(x_1166, 1, x_1165); -x_1167 = l_Lean_Elab_Term_throwError___rarg(x_1157, x_1166, x_4, x_1073); -lean_dec(x_1157); -x_1168 = !lean_is_exclusive(x_1167); -if (x_1168 == 0) +x_1216 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1216, 0, x_1116); +x_1217 = l_Lean_Elab_Term_toParserDescrAux___main___closed__109; +x_1218 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1218, 0, x_1217); +lean_ctor_set(x_1218, 1, x_1216); +x_1219 = l_Lean_Elab_Term_toParserDescrAux___main___closed__114; +x_1220 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1220, 0, x_1218); +lean_ctor_set(x_1220, 1, x_1219); +x_1221 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_1221, 0, x_1212); +x_1222 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1222, 0, x_1220); +lean_ctor_set(x_1222, 1, x_1221); +x_1223 = l_Lean_Elab_Term_toParserDescrAux___main___closed__117; +x_1224 = lean_alloc_ctor(9, 2, 0); +lean_ctor_set(x_1224, 0, x_1222); +lean_ctor_set(x_1224, 1, x_1223); +x_1225 = l_Lean_Elab_Term_throwError___rarg(x_1215, x_1224, x_4, x_1129); +lean_dec(x_1215); +x_1226 = !lean_is_exclusive(x_1225); +if (x_1226 == 0) { -return x_1167; +return x_1225; } else { -lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; -x_1169 = lean_ctor_get(x_1167, 0); -x_1170 = lean_ctor_get(x_1167, 1); -lean_inc(x_1170); -lean_inc(x_1169); -lean_dec(x_1167); -x_1171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1171, 0, x_1169); -lean_ctor_set(x_1171, 1, x_1170); -return x_1171; +lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; +x_1227 = lean_ctor_get(x_1225, 0); +x_1228 = lean_ctor_get(x_1225, 1); +lean_inc(x_1228); +lean_inc(x_1227); +lean_dec(x_1225); +x_1229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1229, 0, x_1227); +lean_ctor_set(x_1229, 1, x_1228); +return x_1229; } } else { -lean_dec(x_1154); -lean_dec(x_1060); +lean_dec(x_1212); +lean_dec(x_1116); lean_dec(x_1); -if (lean_obj_tag(x_1063) == 0) +if (lean_obj_tag(x_1119) == 0) { -lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; uint8_t x_1175; -lean_dec(x_1062); -x_1172 = l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg(x_1073); -x_1173 = lean_ctor_get(x_1172, 0); -lean_inc(x_1173); -x_1174 = lean_ctor_get(x_1172, 1); -lean_inc(x_1174); -lean_dec(x_1172); -x_1175 = !lean_is_exclusive(x_1173); -if (x_1175 == 0) +lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; uint8_t x_1233; +lean_dec(x_1118); +x_1230 = l___private_Init_Lean_Elab_Syntax_4__markAsTrailingParser___rarg(x_1129); +x_1231 = lean_ctor_get(x_1230, 0); +lean_inc(x_1231); +x_1232 = lean_ctor_get(x_1230, 1); +lean_inc(x_1232); +lean_dec(x_1230); +x_1233 = !lean_is_exclusive(x_1231); +if (x_1233 == 0) { -lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; -x_1176 = lean_ctor_get(x_1173, 0); -lean_dec(x_1176); -x_1177 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1174); +lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; +x_1234 = lean_ctor_get(x_1231, 0); +lean_dec(x_1234); +x_1235 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1232); lean_dec(x_4); -x_1178 = lean_ctor_get(x_1177, 0); -lean_inc(x_1178); -x_1179 = lean_ctor_get(x_1177, 1); -lean_inc(x_1179); -lean_dec(x_1177); -lean_ctor_set(x_1173, 0, x_1178); -x_646 = x_1173; -x_647 = x_1179; -goto block_679; +x_1236 = lean_ctor_get(x_1235, 0); +lean_inc(x_1236); +x_1237 = lean_ctor_get(x_1235, 1); +lean_inc(x_1237); +lean_dec(x_1235); +lean_ctor_set(x_1231, 0, x_1236); +x_700 = x_1231; +x_701 = x_1237; +goto block_733; } else { -lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; -x_1180 = lean_ctor_get(x_1173, 1); -lean_inc(x_1180); -lean_dec(x_1173); -x_1181 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1174); +lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; +x_1238 = lean_ctor_get(x_1231, 1); +lean_inc(x_1238); +lean_dec(x_1231); +x_1239 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1232); lean_dec(x_4); -x_1182 = lean_ctor_get(x_1181, 0); -lean_inc(x_1182); -x_1183 = lean_ctor_get(x_1181, 1); -lean_inc(x_1183); -lean_dec(x_1181); -x_1184 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1184, 0, x_1182); -lean_ctor_set(x_1184, 1, x_1180); -x_646 = x_1184; -x_647 = x_1183; -goto block_679; +x_1240 = lean_ctor_get(x_1239, 0); +lean_inc(x_1240); +x_1241 = lean_ctor_get(x_1239, 1); +lean_inc(x_1241); +lean_dec(x_1239); +x_1242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1242, 0, x_1240); +lean_ctor_set(x_1242, 1, x_1238); +x_700 = x_1242; +x_701 = x_1241; +goto block_733; } } else { -lean_object* x_1185; lean_object* x_1186; uint8_t x_1187; -lean_dec(x_1063); -x_1185 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; -x_1186 = l_Lean_Elab_Term_throwError___rarg(x_1062, x_1185, x_4, x_1073); -lean_dec(x_1062); -x_1187 = !lean_is_exclusive(x_1186); -if (x_1187 == 0) +lean_object* x_1243; lean_object* x_1244; uint8_t x_1245; +lean_dec(x_1119); +x_1243 = l_Lean_Elab_Term_toParserDescrAux___main___closed__120; +x_1244 = l_Lean_Elab_Term_throwError___rarg(x_1118, x_1243, x_4, x_1129); +lean_dec(x_1118); +x_1245 = !lean_is_exclusive(x_1244); +if (x_1245 == 0) { -return x_1186; +return x_1244; } else { -lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; -x_1188 = lean_ctor_get(x_1186, 0); -x_1189 = lean_ctor_get(x_1186, 1); -lean_inc(x_1189); -lean_inc(x_1188); -lean_dec(x_1186); -x_1190 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1190, 0, x_1188); -lean_ctor_set(x_1190, 1, x_1189); -return x_1190; +lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; +x_1246 = lean_ctor_get(x_1244, 0); +x_1247 = lean_ctor_get(x_1244, 1); +lean_inc(x_1247); +lean_inc(x_1246); +lean_dec(x_1244); +x_1248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1248, 0, x_1246); +lean_ctor_set(x_1248, 1, x_1247); +return x_1248; } } } } } -block_1140: +block_1198: { -lean_object* x_1078; uint8_t x_1079; -x_1078 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1073); +lean_object* x_1134; uint8_t x_1135; +x_1134 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_1129); lean_dec(x_4); -x_1079 = !lean_is_exclusive(x_1078); -if (x_1079 == 0) +x_1135 = !lean_is_exclusive(x_1134); +if (x_1135 == 0) { -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; 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; -x_1080 = lean_ctor_get(x_1078, 0); -x_1081 = lean_box(0); -x_1082 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; -x_1083 = lean_name_mk_numeral(x_1082, x_1080); -x_1084 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; -x_1085 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; -x_1086 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1086, 0, x_1081); -lean_ctor_set(x_1086, 1, x_1084); -lean_ctor_set(x_1086, 2, x_1083); -lean_ctor_set(x_1086, 3, x_1085); -x_1087 = l_Array_empty___closed__1; -x_1088 = lean_array_push(x_1087, x_1086); -x_1089 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1090 = lean_array_push(x_1088, x_1089); -x_1091 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_1092 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1092, 0, x_1091); -lean_ctor_set(x_1092, 1, x_1090); -x_1093 = lean_array_push(x_1087, x_1092); -x_1094 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1060); -x_1095 = lean_array_push(x_1093, x_1094); -x_1096 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_1097 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1097, 0, x_1096); -lean_ctor_set(x_1097, 1, x_1095); -x_1098 = lean_array_push(x_1087, x_1097); -x_1099 = l_Nat_repr(x_1077); -x_1100 = l_Lean_numLitKind; -x_1101 = l_Lean_mkStxLit(x_1100, x_1099, x_1081); -x_1102 = l_Lean_mkOptionalNode___closed__1; -x_1103 = lean_array_push(x_1102, x_1101); -x_1104 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_1105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1105, 0, x_1104); -lean_ctor_set(x_1105, 1, x_1103); -x_1106 = lean_array_push(x_1098, x_1105); -x_1107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1107, 0, x_1096); -lean_ctor_set(x_1107, 1, x_1106); -if (lean_is_scalar(x_1076)) { - x_1108 = lean_alloc_ctor(0, 2, 0); +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; +x_1136 = lean_ctor_get(x_1134, 0); +x_1137 = lean_box(0); +x_1138 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_1139 = lean_name_mk_numeral(x_1138, x_1136); +x_1140 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1141 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1142 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1142, 0, x_1137); +lean_ctor_set(x_1142, 1, x_1140); +lean_ctor_set(x_1142, 2, x_1139); +lean_ctor_set(x_1142, 3, x_1141); +x_1143 = l_Array_empty___closed__1; +x_1144 = lean_array_push(x_1143, x_1142); +x_1145 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1146 = lean_array_push(x_1144, x_1145); +x_1147 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1148 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1148, 0, x_1147); +lean_ctor_set(x_1148, 1, x_1146); +x_1149 = lean_array_push(x_1143, x_1148); +x_1150 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1116); +x_1151 = lean_array_push(x_1143, x_1150); +x_1152 = l_Nat_repr(x_1133); +x_1153 = l_Lean_numLitKind; +x_1154 = l_Lean_mkStxLit(x_1153, x_1152, x_1137); +x_1155 = l_Lean_mkOptionalNode___closed__1; +x_1156 = lean_array_push(x_1155, x_1154); +x_1157 = l_Lean_Parser_Term_num___elambda__1___closed__1; +x_1158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1158, 0, x_1157); +lean_ctor_set(x_1158, 1, x_1156); +x_1159 = lean_array_push(x_1151, x_1158); +x_1160 = l_Lean_nullKind___closed__2; +x_1161 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1161, 0, x_1160); +lean_ctor_set(x_1161, 1, x_1159); +x_1162 = lean_array_push(x_1149, x_1161); +x_1163 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1164 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1164, 0, x_1163); +lean_ctor_set(x_1164, 1, x_1162); +if (lean_is_scalar(x_1132)) { + x_1165 = lean_alloc_ctor(0, 2, 0); } else { - x_1108 = x_1076; + x_1165 = x_1132; } -lean_ctor_set(x_1108, 0, x_1107); -lean_ctor_set(x_1108, 1, x_1075); -lean_ctor_set(x_1078, 0, x_1108); -return x_1078; +lean_ctor_set(x_1165, 0, x_1164); +lean_ctor_set(x_1165, 1, x_1131); +lean_ctor_set(x_1134, 0, x_1165); +return x_1134; } else { -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; 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; -x_1109 = lean_ctor_get(x_1078, 0); -x_1110 = lean_ctor_get(x_1078, 1); -lean_inc(x_1110); -lean_inc(x_1109); -lean_dec(x_1078); -x_1111 = lean_box(0); -x_1112 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; -x_1113 = lean_name_mk_numeral(x_1112, x_1109); -x_1114 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; -x_1115 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; -x_1116 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1116, 0, x_1111); -lean_ctor_set(x_1116, 1, x_1114); -lean_ctor_set(x_1116, 2, x_1113); -lean_ctor_set(x_1116, 3, x_1115); -x_1117 = l_Array_empty___closed__1; -x_1118 = lean_array_push(x_1117, x_1116); -x_1119 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_1120 = lean_array_push(x_1118, x_1119); -x_1121 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_1122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1122, 0, x_1121); -lean_ctor_set(x_1122, 1, x_1120); -x_1123 = lean_array_push(x_1117, x_1122); -x_1124 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1060); -x_1125 = lean_array_push(x_1123, x_1124); -x_1126 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_1127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1127, 0, x_1126); -lean_ctor_set(x_1127, 1, x_1125); -x_1128 = lean_array_push(x_1117, x_1127); -x_1129 = l_Nat_repr(x_1077); -x_1130 = l_Lean_numLitKind; -x_1131 = l_Lean_mkStxLit(x_1130, x_1129, x_1111); -x_1132 = l_Lean_mkOptionalNode___closed__1; -x_1133 = lean_array_push(x_1132, x_1131); -x_1134 = l_Lean_Parser_Term_num___elambda__1___closed__1; -x_1135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1135, 0, x_1134); -lean_ctor_set(x_1135, 1, x_1133); -x_1136 = lean_array_push(x_1128, x_1135); -x_1137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1137, 0, x_1126); -lean_ctor_set(x_1137, 1, x_1136); -if (lean_is_scalar(x_1076)) { - x_1138 = lean_alloc_ctor(0, 2, 0); +lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; +x_1166 = lean_ctor_get(x_1134, 0); +x_1167 = lean_ctor_get(x_1134, 1); +lean_inc(x_1167); +lean_inc(x_1166); +lean_dec(x_1134); +x_1168 = lean_box(0); +x_1169 = l_Lean_Elab_Term_toParserDescrAux___main___closed__103; +x_1170 = lean_name_mk_numeral(x_1169, x_1166); +x_1171 = l_Lean_Elab_Term_toParserDescrAux___main___closed__102; +x_1172 = l_Lean_Elab_Term_toParserDescrAux___main___closed__106; +x_1173 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1173, 0, x_1168); +lean_ctor_set(x_1173, 1, x_1171); +lean_ctor_set(x_1173, 2, x_1170); +lean_ctor_set(x_1173, 3, x_1172); +x_1174 = l_Array_empty___closed__1; +x_1175 = lean_array_push(x_1174, x_1173); +x_1176 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_1177 = lean_array_push(x_1175, x_1176); +x_1178 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_1179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1179, 0, x_1178); +lean_ctor_set(x_1179, 1, x_1177); +x_1180 = lean_array_push(x_1174, x_1179); +x_1181 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_1116); +x_1182 = lean_array_push(x_1174, x_1181); +x_1183 = l_Nat_repr(x_1133); +x_1184 = l_Lean_numLitKind; +x_1185 = l_Lean_mkStxLit(x_1184, x_1183, x_1168); +x_1186 = l_Lean_mkOptionalNode___closed__1; +x_1187 = lean_array_push(x_1186, x_1185); +x_1188 = l_Lean_Parser_Term_num___elambda__1___closed__1; +x_1189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1189, 0, x_1188); +lean_ctor_set(x_1189, 1, x_1187); +x_1190 = lean_array_push(x_1182, x_1189); +x_1191 = l_Lean_nullKind___closed__2; +x_1192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1192, 0, x_1191); +lean_ctor_set(x_1192, 1, x_1190); +x_1193 = lean_array_push(x_1180, x_1192); +x_1194 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_1195 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1195, 0, x_1194); +lean_ctor_set(x_1195, 1, x_1193); +if (lean_is_scalar(x_1132)) { + x_1196 = lean_alloc_ctor(0, 2, 0); } else { - x_1138 = x_1076; + x_1196 = x_1132; } -lean_ctor_set(x_1138, 0, x_1137); -lean_ctor_set(x_1138, 1, x_1075); -x_1139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1139, 0, x_1138); -lean_ctor_set(x_1139, 1, x_1110); -return x_1139; +lean_ctor_set(x_1196, 0, x_1195); +lean_ctor_set(x_1196, 1, x_1131); +x_1197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1197, 0, x_1196); +lean_ctor_set(x_1197, 1, x_1167); +return x_1197; } } } @@ -4124,116 +4129,116 @@ return x_1139; } else { -lean_object* x_1208; lean_object* x_1209; +lean_object* x_1266; lean_object* x_1267; lean_dec(x_6); -x_1208 = lean_unsigned_to_nat(1u); -x_1209 = l_Lean_Syntax_getArg(x_1, x_1208); +x_1266 = lean_unsigned_to_nat(1u); +x_1267 = l_Lean_Syntax_getArg(x_1, x_1266); lean_dec(x_1); -x_1 = x_1209; +x_1 = x_1267; goto _start; } -block_110: +block_113: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_91; lean_object* x_92; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_94; lean_object* x_95; x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_11, 1); lean_inc(x_14); lean_dec(x_11); -x_91 = lean_unsigned_to_nat(2u); -x_92 = l_Lean_Syntax_getArg(x_1, x_91); +x_94 = lean_unsigned_to_nat(2u); +x_95 = l_Lean_Syntax_getArg(x_1, x_94); lean_dec(x_1); if (lean_obj_tag(x_2) == 2) { -lean_object* x_93; uint8_t x_94; lean_object* x_95; +lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_dec(x_2); -x_93 = lean_box(1); -x_94 = lean_unbox(x_14); +x_96 = lean_box(1); +x_97 = lean_unbox(x_14); lean_dec(x_14); lean_inc(x_4); -x_95 = l_Lean_Elab_Term_toParserDescrAux___main(x_92, x_93, x_94, x_4, x_12); -if (lean_obj_tag(x_95) == 0) +x_98 = l_Lean_Elab_Term_toParserDescrAux___main(x_95, x_96, x_97, x_4, x_12); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_95, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_15 = x_96; -x_16 = x_97; -goto block_90; -} -else -{ -uint8_t x_98; -lean_dec(x_13); -lean_dec(x_4); -x_98 = !lean_is_exclusive(x_95); -if (x_98 == 0) -{ -return x_95; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_95, 0); -x_100 = lean_ctor_get(x_95, 1); -lean_inc(x_100); +lean_object* x_99; lean_object* x_100; +x_99 = lean_ctor_get(x_98, 0); lean_inc(x_99); -lean_dec(x_95); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +x_15 = x_99; +x_16 = x_100; +goto block_93; } else { -uint8_t x_102; lean_object* x_103; -x_102 = lean_unbox(x_14); -lean_dec(x_14); -lean_inc(x_4); -x_103 = l_Lean_Elab_Term_toParserDescrAux___main(x_92, x_2, x_102, x_4, x_12); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -lean_dec(x_103); -x_15 = x_104; -x_16 = x_105; -goto block_90; -} -else -{ -uint8_t x_106; +uint8_t x_101; lean_dec(x_13); lean_dec(x_4); -x_106 = !lean_is_exclusive(x_103); -if (x_106 == 0) +x_101 = !lean_is_exclusive(x_98); +if (x_101 == 0) { -return x_103; +return x_98; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_103, 0); -x_108 = lean_ctor_get(x_103, 1); -lean_inc(x_108); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_98, 0); +x_103 = lean_ctor_get(x_98, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_98); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +else +{ +uint8_t x_105; lean_object* x_106; +x_105 = lean_unbox(x_14); +lean_dec(x_14); +lean_inc(x_4); +x_106 = l_Lean_Elab_Term_toParserDescrAux___main(x_95, x_2, x_105, x_4, x_12); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_106, 0); lean_inc(x_107); -lean_dec(x_103); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -return x_109; +x_108 = lean_ctor_get(x_106, 1); +lean_inc(x_108); +lean_dec(x_106); +x_15 = x_107; +x_16 = x_108; +goto block_93; +} +else +{ +uint8_t x_109; +lean_dec(x_13); +lean_dec(x_4); +x_109 = !lean_is_exclusive(x_106); +if (x_109 == 0) +{ +return x_106; +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_110 = lean_ctor_get(x_106, 0); +x_111 = lean_ctor_get(x_106, 1); +lean_inc(x_111); +lean_inc(x_110); +lean_dec(x_106); +x_112 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_112, 0, x_110); +lean_ctor_set(x_112, 1, x_111); +return x_112; } } } -block_90: +block_93: { uint8_t x_17; x_17 = !lean_is_exclusive(x_15); @@ -4246,7 +4251,7 @@ lean_dec(x_4); x_20 = !lean_is_exclusive(x_19); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_21 = lean_ctor_get(x_19, 0); x_22 = lean_box(0); x_23 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; @@ -4267,571 +4272,563 @@ x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); x_34 = lean_array_push(x_28, x_33); -x_35 = lean_array_push(x_34, x_13); -x_36 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = lean_array_push(x_28, x_37); -x_39 = lean_array_push(x_38, x_18); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_36); -lean_ctor_set(x_40, 1, x_39); -lean_ctor_set(x_15, 0, x_40); +x_35 = lean_array_push(x_28, x_13); +x_36 = lean_array_push(x_35, x_18); +x_37 = l_Lean_nullKind___closed__2; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = lean_array_push(x_34, x_38); +x_40 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_39); +lean_ctor_set(x_15, 0, x_41); lean_ctor_set(x_19, 0, x_15); return x_19; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_41 = lean_ctor_get(x_19, 0); -x_42 = lean_ctor_get(x_19, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_42 = lean_ctor_get(x_19, 0); +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); lean_inc(x_42); -lean_inc(x_41); lean_dec(x_19); -x_43 = lean_box(0); -x_44 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; -x_45 = lean_name_mk_numeral(x_44, x_41); -x_46 = l_Lean_Elab_Term_toParserDescrAux___main___closed__3; -x_47 = l_Lean_Elab_Term_toParserDescrAux___main___closed__7; -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_43); -lean_ctor_set(x_48, 1, x_46); -lean_ctor_set(x_48, 2, x_45); -lean_ctor_set(x_48, 3, x_47); -x_49 = l_Array_empty___closed__1; -x_50 = lean_array_push(x_49, x_48); -x_51 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_52 = lean_array_push(x_50, x_51); -x_53 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_52); -x_55 = lean_array_push(x_49, x_54); -x_56 = lean_array_push(x_55, x_13); -x_57 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = lean_array_push(x_49, x_58); -x_60 = lean_array_push(x_59, x_18); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_57); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_15, 0, x_61); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_15); -lean_ctor_set(x_62, 1, x_42); -return x_62; +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; +x_46 = lean_name_mk_numeral(x_45, x_42); +x_47 = l_Lean_Elab_Term_toParserDescrAux___main___closed__3; +x_48 = l_Lean_Elab_Term_toParserDescrAux___main___closed__7; +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_44); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_48); +x_50 = l_Array_empty___closed__1; +x_51 = lean_array_push(x_50, x_49); +x_52 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_53 = lean_array_push(x_51, x_52); +x_54 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +x_56 = lean_array_push(x_50, x_55); +x_57 = lean_array_push(x_50, x_13); +x_58 = lean_array_push(x_57, x_18); +x_59 = l_Lean_nullKind___closed__2; +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_58); +x_61 = lean_array_push(x_56, x_60); +x_62 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +lean_ctor_set(x_15, 0, x_63); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_15); +lean_ctor_set(x_64, 1, x_43); +return x_64; } } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_63 = lean_ctor_get(x_15, 0); -x_64 = lean_ctor_get(x_15, 1); -lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_15); -x_65 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); -lean_dec(x_4); -x_66 = lean_ctor_get(x_65, 0); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_65 = lean_ctor_get(x_15, 0); +x_66 = lean_ctor_get(x_15, 1); lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); -lean_inc(x_67); -if (lean_is_exclusive(x_65)) { - lean_ctor_release(x_65, 0); - lean_ctor_release(x_65, 1); - x_68 = x_65; -} else { - lean_dec_ref(x_65); - x_68 = lean_box(0); -} -x_69 = lean_box(0); -x_70 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; -x_71 = lean_name_mk_numeral(x_70, x_66); -x_72 = l_Lean_Elab_Term_toParserDescrAux___main___closed__3; -x_73 = l_Lean_Elab_Term_toParserDescrAux___main___closed__7; -x_74 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_74, 0, x_69); -lean_ctor_set(x_74, 1, x_72); -lean_ctor_set(x_74, 2, x_71); -lean_ctor_set(x_74, 3, x_73); -x_75 = l_Array_empty___closed__1; -x_76 = lean_array_push(x_75, x_74); -x_77 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_78 = lean_array_push(x_76, x_77); -x_79 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_78); -x_81 = lean_array_push(x_75, x_80); -x_82 = lean_array_push(x_81, x_13); -x_83 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -x_85 = lean_array_push(x_75, x_84); -x_86 = lean_array_push(x_85, x_63); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_83); -lean_ctor_set(x_87, 1, x_86); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_64); -if (lean_is_scalar(x_68)) { - x_89 = lean_alloc_ctor(0, 2, 0); -} else { - x_89 = x_68; -} -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_67); -return x_89; -} -} -} -block_177: -{ -uint8_t x_113; -x_113 = !lean_is_exclusive(x_111); -if (x_113 == 0) -{ -lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_114 = lean_ctor_get(x_111, 0); -x_115 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_112); +lean_inc(x_65); +lean_dec(x_15); +x_67 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_16); lean_dec(x_4); -x_116 = !lean_is_exclusive(x_115); +x_68 = lean_ctor_get(x_67, 0); +lean_inc(x_68); +x_69 = lean_ctor_get(x_67, 1); +lean_inc(x_69); +if (lean_is_exclusive(x_67)) { + lean_ctor_release(x_67, 0); + lean_ctor_release(x_67, 1); + x_70 = x_67; +} else { + lean_dec_ref(x_67); + x_70 = lean_box(0); +} +x_71 = lean_box(0); +x_72 = l_Lean_Elab_Term_toParserDescrAux___main___closed__4; +x_73 = lean_name_mk_numeral(x_72, x_68); +x_74 = l_Lean_Elab_Term_toParserDescrAux___main___closed__3; +x_75 = l_Lean_Elab_Term_toParserDescrAux___main___closed__7; +x_76 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_76, 0, x_71); +lean_ctor_set(x_76, 1, x_74); +lean_ctor_set(x_76, 2, x_73); +lean_ctor_set(x_76, 3, x_75); +x_77 = l_Array_empty___closed__1; +x_78 = lean_array_push(x_77, x_76); +x_79 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_80 = lean_array_push(x_78, x_79); +x_81 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +x_83 = lean_array_push(x_77, x_82); +x_84 = lean_array_push(x_77, x_13); +x_85 = lean_array_push(x_84, x_65); +x_86 = l_Lean_nullKind___closed__2; +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = lean_array_push(x_83, x_87); +x_89 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_88); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_66); +if (lean_is_scalar(x_70)) { + x_92 = lean_alloc_ctor(0, 2, 0); +} else { + x_92 = x_70; +} +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_69); +return x_92; +} +} +} +block_189: +{ +uint8_t x_116; +x_116 = !lean_is_exclusive(x_114); if (x_116 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_117 = lean_ctor_get(x_115, 0); -x_118 = lean_box(0); -x_119 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; -x_120 = lean_name_mk_numeral(x_119, x_117); -x_121 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; -x_122 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; -x_123 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_123, 0, x_118); -lean_ctor_set(x_123, 1, x_121); -lean_ctor_set(x_123, 2, x_120); -lean_ctor_set(x_123, 3, x_122); -x_124 = l_Array_empty___closed__1; -x_125 = lean_array_push(x_124, x_123); -x_126 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_127 = lean_array_push(x_125, x_126); -x_128 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_129 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_129, 0, x_128); -lean_ctor_set(x_129, 1, x_127); -x_130 = lean_array_push(x_124, x_129); -x_131 = lean_array_push(x_130, x_114); -x_132 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_131); -lean_ctor_set(x_111, 0, x_133); -lean_ctor_set(x_115, 0, x_111); -return x_115; +lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_117 = lean_ctor_get(x_114, 0); +x_118 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_115); +lean_dec(x_4); +x_119 = !lean_is_exclusive(x_118); +if (x_119 == 0) +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_120 = lean_ctor_get(x_118, 0); +x_121 = lean_box(0); +x_122 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +x_123 = lean_name_mk_numeral(x_122, x_120); +x_124 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_125 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; +x_126 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_126, 0, x_121); +lean_ctor_set(x_126, 1, x_124); +lean_ctor_set(x_126, 2, x_123); +lean_ctor_set(x_126, 3, x_125); +x_127 = l_Array_empty___closed__1; +x_128 = lean_array_push(x_127, x_126); +x_129 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_130 = lean_array_push(x_128, x_129); +x_131 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_130); +x_133 = lean_array_push(x_127, x_132); +x_134 = lean_array_push(x_127, x_117); +x_135 = l_Lean_nullKind___closed__2; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_array_push(x_133, x_136); +x_138 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_139 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_139, 0, x_138); +lean_ctor_set(x_139, 1, x_137); +lean_ctor_set(x_114, 0, x_139); +lean_ctor_set(x_118, 0, x_114); +return x_118; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; -x_134 = lean_ctor_get(x_115, 0); -x_135 = lean_ctor_get(x_115, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_115); -x_136 = lean_box(0); -x_137 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; -x_138 = lean_name_mk_numeral(x_137, x_134); -x_139 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; -x_140 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; -x_141 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_141, 0, x_136); -lean_ctor_set(x_141, 1, x_139); -lean_ctor_set(x_141, 2, x_138); -lean_ctor_set(x_141, 3, x_140); -x_142 = l_Array_empty___closed__1; -x_143 = lean_array_push(x_142, x_141); -x_144 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_145 = lean_array_push(x_143, x_144); -x_146 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_146); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_140 = lean_ctor_get(x_118, 0); +x_141 = lean_ctor_get(x_118, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_118); +x_142 = lean_box(0); +x_143 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +x_144 = lean_name_mk_numeral(x_143, x_140); +x_145 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_146 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; +x_147 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_147, 0, x_142); lean_ctor_set(x_147, 1, x_145); -x_148 = lean_array_push(x_142, x_147); -x_149 = lean_array_push(x_148, x_114); -x_150 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_151 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_149); -lean_ctor_set(x_111, 0, x_151); -x_152 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_152, 0, x_111); -lean_ctor_set(x_152, 1, x_135); -return x_152; +lean_ctor_set(x_147, 2, x_144); +lean_ctor_set(x_147, 3, x_146); +x_148 = l_Array_empty___closed__1; +x_149 = lean_array_push(x_148, x_147); +x_150 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_151 = lean_array_push(x_149, x_150); +x_152 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_153 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_151); +x_154 = lean_array_push(x_148, x_153); +x_155 = lean_array_push(x_148, x_117); +x_156 = l_Lean_nullKind___closed__2; +x_157 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = lean_array_push(x_154, x_157); +x_159 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_160 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_160, 0, x_159); +lean_ctor_set(x_160, 1, x_158); +lean_ctor_set(x_114, 0, x_160); +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_114); +lean_ctor_set(x_161, 1, x_141); +return x_161; } } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_153 = lean_ctor_get(x_111, 0); -x_154 = lean_ctor_get(x_111, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_111); -x_155 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_112); +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_162 = lean_ctor_get(x_114, 0); +x_163 = lean_ctor_get(x_114, 1); +lean_inc(x_163); +lean_inc(x_162); +lean_dec(x_114); +x_164 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_115); lean_dec(x_4); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_155, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_158 = x_155; +x_165 = lean_ctor_get(x_164, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_164, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_167 = x_164; } else { - lean_dec_ref(x_155); - x_158 = lean_box(0); + lean_dec_ref(x_164); + x_167 = lean_box(0); } -x_159 = lean_box(0); -x_160 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; -x_161 = lean_name_mk_numeral(x_160, x_156); -x_162 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; -x_163 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; -x_164 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_164, 0, x_159); -lean_ctor_set(x_164, 1, x_162); -lean_ctor_set(x_164, 2, x_161); -lean_ctor_set(x_164, 3, x_163); -x_165 = l_Array_empty___closed__1; -x_166 = lean_array_push(x_165, x_164); -x_167 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_168 = lean_array_push(x_166, x_167); -x_169 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_168); -x_171 = lean_array_push(x_165, x_170); -x_172 = lean_array_push(x_171, x_153); -x_173 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_172); -x_175 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_175, 0, x_174); -lean_ctor_set(x_175, 1, x_154); -if (lean_is_scalar(x_158)) { - x_176 = lean_alloc_ctor(0, 2, 0); +x_168 = lean_box(0); +x_169 = l_Lean_Elab_Term_toParserDescrAux___main___closed__11; +x_170 = lean_name_mk_numeral(x_169, x_165); +x_171 = l_Lean_Elab_Term_toParserDescrAux___main___closed__10; +x_172 = l_Lean_Elab_Term_toParserDescrAux___main___closed__14; +x_173 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_173, 0, x_168); +lean_ctor_set(x_173, 1, x_171); +lean_ctor_set(x_173, 2, x_170); +lean_ctor_set(x_173, 3, x_172); +x_174 = l_Array_empty___closed__1; +x_175 = lean_array_push(x_174, x_173); +x_176 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_177 = lean_array_push(x_175, x_176); +x_178 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = lean_array_push(x_174, x_179); +x_181 = lean_array_push(x_174, x_162); +x_182 = l_Lean_nullKind___closed__2; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +x_184 = lean_array_push(x_180, x_183); +x_185 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_186 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_186, 0, x_185); +lean_ctor_set(x_186, 1, x_184); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_186); +lean_ctor_set(x_187, 1, x_163); +if (lean_is_scalar(x_167)) { + x_188 = lean_alloc_ctor(0, 2, 0); } else { - x_176 = x_158; + x_188 = x_167; } -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_157); -return x_176; +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_166); +return x_188; } } -block_244: +block_265: { -uint8_t x_180; -x_180 = !lean_is_exclusive(x_178); -if (x_180 == 0) +uint8_t x_192; +x_192 = !lean_is_exclusive(x_190); +if (x_192 == 0) { -lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_181 = lean_ctor_get(x_178, 0); -x_182 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_179); +lean_object* x_193; lean_object* x_194; uint8_t x_195; +x_193 = lean_ctor_get(x_190, 0); +x_194 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_191); lean_dec(x_4); -x_183 = !lean_is_exclusive(x_182); -if (x_183 == 0) +x_195 = !lean_is_exclusive(x_194); +if (x_195 == 0) { -lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; -x_184 = lean_ctor_get(x_182, 0); -x_185 = lean_box(0); -x_186 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; -x_187 = lean_name_mk_numeral(x_186, x_184); -x_188 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; -x_189 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; -x_190 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_190, 0, x_185); -lean_ctor_set(x_190, 1, x_188); -lean_ctor_set(x_190, 2, x_187); -lean_ctor_set(x_190, 3, x_189); -x_191 = l_Array_empty___closed__1; -x_192 = lean_array_push(x_191, x_190); -x_193 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_194 = lean_array_push(x_192, x_193); -x_195 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_195); -lean_ctor_set(x_196, 1, x_194); -x_197 = lean_array_push(x_191, x_196); -x_198 = lean_array_push(x_197, x_181); -x_199 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_198); -lean_ctor_set(x_178, 0, x_200); -lean_ctor_set(x_182, 0, x_178); -return x_182; -} -else -{ -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -x_201 = lean_ctor_get(x_182, 0); -x_202 = lean_ctor_get(x_182, 1); -lean_inc(x_202); -lean_inc(x_201); -lean_dec(x_182); -x_203 = lean_box(0); -x_204 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; -x_205 = lean_name_mk_numeral(x_204, x_201); -x_206 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; -x_207 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; -x_208 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_208, 0, x_203); +lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_196 = lean_ctor_get(x_194, 0); +x_197 = lean_box(0); +x_198 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_199 = lean_name_mk_numeral(x_198, x_196); +x_200 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_201 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_202 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_202, 0, x_197); +lean_ctor_set(x_202, 1, x_200); +lean_ctor_set(x_202, 2, x_199); +lean_ctor_set(x_202, 3, x_201); +x_203 = l_Array_empty___closed__1; +x_204 = lean_array_push(x_203, x_202); +x_205 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_206 = lean_array_push(x_204, x_205); +x_207 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_207); lean_ctor_set(x_208, 1, x_206); -lean_ctor_set(x_208, 2, x_205); -lean_ctor_set(x_208, 3, x_207); -x_209 = l_Array_empty___closed__1; -x_210 = lean_array_push(x_209, x_208); -x_211 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_212 = lean_array_push(x_210, x_211); -x_213 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_214 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_214, 0, x_213); -lean_ctor_set(x_214, 1, x_212); -x_215 = lean_array_push(x_209, x_214); -x_216 = lean_array_push(x_215, x_181); -x_217 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -lean_ctor_set(x_178, 0, x_218); -x_219 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_219, 0, x_178); -lean_ctor_set(x_219, 1, x_202); -return x_219; +x_209 = lean_array_push(x_203, x_208); +x_210 = lean_array_push(x_203, x_193); +x_211 = l_Lean_nullKind___closed__2; +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +x_213 = lean_array_push(x_209, x_212); +x_214 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_213); +lean_ctor_set(x_190, 0, x_215); +lean_ctor_set(x_194, 0, x_190); +return x_194; +} +else +{ +lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_216 = lean_ctor_get(x_194, 0); +x_217 = lean_ctor_get(x_194, 1); +lean_inc(x_217); +lean_inc(x_216); +lean_dec(x_194); +x_218 = lean_box(0); +x_219 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_220 = lean_name_mk_numeral(x_219, x_216); +x_221 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_222 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_223 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_223, 0, x_218); +lean_ctor_set(x_223, 1, x_221); +lean_ctor_set(x_223, 2, x_220); +lean_ctor_set(x_223, 3, x_222); +x_224 = l_Array_empty___closed__1; +x_225 = lean_array_push(x_224, x_223); +x_226 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_227 = lean_array_push(x_225, x_226); +x_228 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_229 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_229, 0, x_228); +lean_ctor_set(x_229, 1, x_227); +x_230 = lean_array_push(x_224, x_229); +x_231 = lean_array_push(x_224, x_193); +x_232 = l_Lean_nullKind___closed__2; +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_232); +lean_ctor_set(x_233, 1, x_231); +x_234 = lean_array_push(x_230, x_233); +x_235 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_236 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_236, 0, x_235); +lean_ctor_set(x_236, 1, x_234); +lean_ctor_set(x_190, 0, x_236); +x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_237, 0, x_190); +lean_ctor_set(x_237, 1, x_217); +return x_237; } } else { -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_220 = lean_ctor_get(x_178, 0); -x_221 = lean_ctor_get(x_178, 1); -lean_inc(x_221); -lean_inc(x_220); -lean_dec(x_178); -x_222 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_179); +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_238 = lean_ctor_get(x_190, 0); +x_239 = lean_ctor_get(x_190, 1); +lean_inc(x_239); +lean_inc(x_238); +lean_dec(x_190); +x_240 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_191); lean_dec(x_4); -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -if (lean_is_exclusive(x_222)) { - lean_ctor_release(x_222, 0); - lean_ctor_release(x_222, 1); - x_225 = x_222; +x_241 = lean_ctor_get(x_240, 0); +lean_inc(x_241); +x_242 = lean_ctor_get(x_240, 1); +lean_inc(x_242); +if (lean_is_exclusive(x_240)) { + lean_ctor_release(x_240, 0); + lean_ctor_release(x_240, 1); + x_243 = x_240; } else { - lean_dec_ref(x_222); - x_225 = lean_box(0); + lean_dec_ref(x_240); + x_243 = lean_box(0); } -x_226 = lean_box(0); -x_227 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; -x_228 = lean_name_mk_numeral(x_227, x_223); -x_229 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; -x_230 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; -x_231 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_231, 0, x_226); -lean_ctor_set(x_231, 1, x_229); -lean_ctor_set(x_231, 2, x_228); -lean_ctor_set(x_231, 3, x_230); -x_232 = l_Array_empty___closed__1; -x_233 = lean_array_push(x_232, x_231); -x_234 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_235 = lean_array_push(x_233, x_234); -x_236 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_237 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_235); -x_238 = lean_array_push(x_232, x_237); -x_239 = lean_array_push(x_238, x_220); -x_240 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -x_242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_221); -if (lean_is_scalar(x_225)) { - x_243 = lean_alloc_ctor(0, 2, 0); +x_244 = lean_box(0); +x_245 = l_Lean_Elab_Term_toParserDescrAux___main___closed__18; +x_246 = lean_name_mk_numeral(x_245, x_241); +x_247 = l_Lean_Elab_Term_toParserDescrAux___main___closed__17; +x_248 = l_Lean_Elab_Term_toParserDescrAux___main___closed__21; +x_249 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_249, 0, x_244); +lean_ctor_set(x_249, 1, x_247); +lean_ctor_set(x_249, 2, x_246); +lean_ctor_set(x_249, 3, x_248); +x_250 = l_Array_empty___closed__1; +x_251 = lean_array_push(x_250, x_249); +x_252 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_253 = lean_array_push(x_251, x_252); +x_254 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_253); +x_256 = lean_array_push(x_250, x_255); +x_257 = lean_array_push(x_250, x_238); +x_258 = l_Lean_nullKind___closed__2; +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_257); +x_260 = lean_array_push(x_256, x_259); +x_261 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_260); +x_263 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_239); +if (lean_is_scalar(x_243)) { + x_264 = lean_alloc_ctor(0, 2, 0); } else { - x_243 = x_225; + x_264 = x_243; } -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_224); -return x_243; +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_242); +return x_264; } } -block_344: +block_368: { -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_325; lean_object* x_326; -x_247 = lean_ctor_get(x_245, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_245, 1); -lean_inc(x_248); -lean_dec(x_245); -x_325 = lean_unsigned_to_nat(2u); -x_326 = l_Lean_Syntax_getArg(x_1, x_325); +lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_349; lean_object* x_350; +x_268 = lean_ctor_get(x_266, 0); +lean_inc(x_268); +x_269 = lean_ctor_get(x_266, 1); +lean_inc(x_269); +lean_dec(x_266); +x_349 = lean_unsigned_to_nat(2u); +x_350 = l_Lean_Syntax_getArg(x_1, x_349); lean_dec(x_1); if (lean_obj_tag(x_2) == 2) { -lean_object* x_327; uint8_t x_328; lean_object* x_329; +lean_object* x_351; uint8_t x_352; lean_object* x_353; lean_dec(x_2); -x_327 = lean_box(1); -x_328 = lean_unbox(x_248); -lean_dec(x_248); +x_351 = lean_box(1); +x_352 = lean_unbox(x_269); +lean_dec(x_269); lean_inc(x_4); -x_329 = l_Lean_Elab_Term_toParserDescrAux___main(x_326, x_327, x_328, x_4, x_246); -if (lean_obj_tag(x_329) == 0) +x_353 = l_Lean_Elab_Term_toParserDescrAux___main(x_350, x_351, x_352, x_4, x_267); +if (lean_obj_tag(x_353) == 0) { -lean_object* x_330; lean_object* x_331; -x_330 = lean_ctor_get(x_329, 0); -lean_inc(x_330); -x_331 = lean_ctor_get(x_329, 1); -lean_inc(x_331); -lean_dec(x_329); -x_249 = x_330; -x_250 = x_331; -goto block_324; +lean_object* x_354; lean_object* x_355; +x_354 = lean_ctor_get(x_353, 0); +lean_inc(x_354); +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); +lean_dec(x_353); +x_270 = x_354; +x_271 = x_355; +goto block_348; } else { -uint8_t x_332; -lean_dec(x_247); +uint8_t x_356; +lean_dec(x_268); lean_dec(x_4); -x_332 = !lean_is_exclusive(x_329); -if (x_332 == 0) +x_356 = !lean_is_exclusive(x_353); +if (x_356 == 0) { -return x_329; +return x_353; } else { -lean_object* x_333; lean_object* x_334; lean_object* x_335; -x_333 = lean_ctor_get(x_329, 0); -x_334 = lean_ctor_get(x_329, 1); -lean_inc(x_334); -lean_inc(x_333); -lean_dec(x_329); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_333); -lean_ctor_set(x_335, 1, x_334); -return x_335; +lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_357 = lean_ctor_get(x_353, 0); +x_358 = lean_ctor_get(x_353, 1); +lean_inc(x_358); +lean_inc(x_357); +lean_dec(x_353); +x_359 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_359, 0, x_357); +lean_ctor_set(x_359, 1, x_358); +return x_359; } } } else { -uint8_t x_336; lean_object* x_337; -x_336 = lean_unbox(x_248); -lean_dec(x_248); +uint8_t x_360; lean_object* x_361; +x_360 = lean_unbox(x_269); +lean_dec(x_269); lean_inc(x_4); -x_337 = l_Lean_Elab_Term_toParserDescrAux___main(x_326, x_2, x_336, x_4, x_246); -if (lean_obj_tag(x_337) == 0) +x_361 = l_Lean_Elab_Term_toParserDescrAux___main(x_350, x_2, x_360, x_4, x_267); +if (lean_obj_tag(x_361) == 0) { -lean_object* x_338; lean_object* x_339; -x_338 = lean_ctor_get(x_337, 0); -lean_inc(x_338); -x_339 = lean_ctor_get(x_337, 1); -lean_inc(x_339); -lean_dec(x_337); -x_249 = x_338; -x_250 = x_339; -goto block_324; +lean_object* x_362; lean_object* x_363; +x_362 = lean_ctor_get(x_361, 0); +lean_inc(x_362); +x_363 = lean_ctor_get(x_361, 1); +lean_inc(x_363); +lean_dec(x_361); +x_270 = x_362; +x_271 = x_363; +goto block_348; } else { -uint8_t x_340; -lean_dec(x_247); +uint8_t x_364; +lean_dec(x_268); lean_dec(x_4); -x_340 = !lean_is_exclusive(x_337); -if (x_340 == 0) +x_364 = !lean_is_exclusive(x_361); +if (x_364 == 0) { -return x_337; +return x_361; } else { -lean_object* x_341; lean_object* x_342; lean_object* x_343; -x_341 = lean_ctor_get(x_337, 0); -x_342 = lean_ctor_get(x_337, 1); -lean_inc(x_342); -lean_inc(x_341); -lean_dec(x_337); -x_343 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_343, 0, x_341); -lean_ctor_set(x_343, 1, x_342); -return x_343; +lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_365 = lean_ctor_get(x_361, 0); +x_366 = lean_ctor_get(x_361, 1); +lean_inc(x_366); +lean_inc(x_365); +lean_dec(x_361); +x_367 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_367, 0, x_365); +lean_ctor_set(x_367, 1, x_366); +return x_367; } } } -block_324: +block_348: { -uint8_t x_251; -x_251 = !lean_is_exclusive(x_249); -if (x_251 == 0) +uint8_t x_272; +x_272 = !lean_is_exclusive(x_270); +if (x_272 == 0) { -lean_object* x_252; lean_object* x_253; uint8_t x_254; -x_252 = lean_ctor_get(x_249, 0); -x_253 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_250); +lean_object* x_273; lean_object* x_274; uint8_t x_275; +x_273 = lean_ctor_get(x_270, 0); +x_274 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_271); lean_dec(x_4); -x_254 = !lean_is_exclusive(x_253); -if (x_254 == 0) +x_275 = !lean_is_exclusive(x_274); +if (x_275 == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_255 = lean_ctor_get(x_253, 0); -x_256 = lean_box(0); -x_257 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; -x_258 = lean_name_mk_numeral(x_257, x_255); -x_259 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; -x_260 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; -x_261 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_261, 0, x_256); -lean_ctor_set(x_261, 1, x_259); -lean_ctor_set(x_261, 2, x_258); -lean_ctor_set(x_261, 3, x_260); -x_262 = l_Array_empty___closed__1; -x_263 = lean_array_push(x_262, x_261); -x_264 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_265 = lean_array_push(x_263, x_264); -x_266 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_265); -x_268 = lean_array_push(x_262, x_267); -x_269 = lean_array_push(x_268, x_247); -x_270 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_269); -x_272 = lean_array_push(x_262, x_271); -x_273 = lean_array_push(x_272, x_252); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_270); -lean_ctor_set(x_274, 1, x_273); -lean_ctor_set(x_249, 0, x_274); -lean_ctor_set(x_253, 0, x_249); -return x_253; -} -else -{ -lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; 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; -x_275 = lean_ctor_get(x_253, 0); -x_276 = lean_ctor_get(x_253, 1); -lean_inc(x_276); -lean_inc(x_275); -lean_dec(x_253); +lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; +x_276 = lean_ctor_get(x_274, 0); x_277 = lean_box(0); x_278 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; -x_279 = lean_name_mk_numeral(x_278, x_275); +x_279 = lean_name_mk_numeral(x_278, x_276); x_280 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; x_281 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; x_282 = lean_alloc_ctor(3, 4, 0); @@ -4848,1012 +4845,1104 @@ x_288 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_288, 0, x_287); lean_ctor_set(x_288, 1, x_286); x_289 = lean_array_push(x_283, x_288); -x_290 = lean_array_push(x_289, x_247); -x_291 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_291); -lean_ctor_set(x_292, 1, x_290); -x_293 = lean_array_push(x_283, x_292); -x_294 = lean_array_push(x_293, x_252); -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_291); -lean_ctor_set(x_295, 1, x_294); -lean_ctor_set(x_249, 0, x_295); -x_296 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_296, 0, x_249); -lean_ctor_set(x_296, 1, x_276); -return x_296; -} +x_290 = lean_array_push(x_283, x_268); +x_291 = lean_array_push(x_290, x_273); +x_292 = l_Lean_nullKind___closed__2; +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_291); +x_294 = lean_array_push(x_289, x_293); +x_295 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_295); +lean_ctor_set(x_296, 1, x_294); +lean_ctor_set(x_270, 0, x_296); +lean_ctor_set(x_274, 0, x_270); +return x_274; } else { -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; 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; -x_297 = lean_ctor_get(x_249, 0); -x_298 = lean_ctor_get(x_249, 1); +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; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; +x_297 = lean_ctor_get(x_274, 0); +x_298 = lean_ctor_get(x_274, 1); lean_inc(x_298); lean_inc(x_297); -lean_dec(x_249); -x_299 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_250); -lean_dec(x_4); -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); -if (lean_is_exclusive(x_299)) { - lean_ctor_release(x_299, 0); - lean_ctor_release(x_299, 1); - x_302 = x_299; -} else { - lean_dec_ref(x_299); - x_302 = lean_box(0); -} -x_303 = lean_box(0); -x_304 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; -x_305 = lean_name_mk_numeral(x_304, x_300); -x_306 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; -x_307 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; -x_308 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_308, 0, x_303); -lean_ctor_set(x_308, 1, x_306); -lean_ctor_set(x_308, 2, x_305); -lean_ctor_set(x_308, 3, x_307); -x_309 = l_Array_empty___closed__1; -x_310 = lean_array_push(x_309, x_308); -x_311 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_312 = lean_array_push(x_310, x_311); -x_313 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_312); -x_315 = lean_array_push(x_309, x_314); -x_316 = lean_array_push(x_315, x_247); +lean_dec(x_274); +x_299 = lean_box(0); +x_300 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; +x_301 = lean_name_mk_numeral(x_300, x_297); +x_302 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; +x_303 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; +x_304 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_304, 0, x_299); +lean_ctor_set(x_304, 1, x_302); +lean_ctor_set(x_304, 2, x_301); +lean_ctor_set(x_304, 3, x_303); +x_305 = l_Array_empty___closed__1; +x_306 = lean_array_push(x_305, x_304); +x_307 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_308 = lean_array_push(x_306, x_307); +x_309 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_310 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_310, 0, x_309); +lean_ctor_set(x_310, 1, x_308); +x_311 = lean_array_push(x_305, x_310); +x_312 = lean_array_push(x_305, x_268); +x_313 = lean_array_push(x_312, x_273); +x_314 = l_Lean_nullKind___closed__2; +x_315 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_315, 0, x_314); +lean_ctor_set(x_315, 1, x_313); +x_316 = lean_array_push(x_311, x_315); x_317 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_318 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_318, 0, x_317); lean_ctor_set(x_318, 1, x_316); -x_319 = lean_array_push(x_309, x_318); -x_320 = lean_array_push(x_319, x_297); -x_321 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_321, 0, x_317); -lean_ctor_set(x_321, 1, x_320); -x_322 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_322, 0, x_321); -lean_ctor_set(x_322, 1, x_298); -if (lean_is_scalar(x_302)) { - x_323 = lean_alloc_ctor(0, 2, 0); -} else { - x_323 = x_302; -} -lean_ctor_set(x_323, 0, x_322); -lean_ctor_set(x_323, 1, x_301); -return x_323; +lean_ctor_set(x_270, 0, x_318); +x_319 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_319, 0, x_270); +lean_ctor_set(x_319, 1, x_298); +return x_319; } } -} -block_444: +else { -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_425; lean_object* x_426; -x_347 = lean_ctor_get(x_345, 0); -lean_inc(x_347); -x_348 = lean_ctor_get(x_345, 1); -lean_inc(x_348); -lean_dec(x_345); -x_425 = lean_unsigned_to_nat(2u); -x_426 = l_Lean_Syntax_getArg(x_1, x_425); +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; lean_object* x_345; lean_object* x_346; lean_object* x_347; +x_320 = lean_ctor_get(x_270, 0); +x_321 = lean_ctor_get(x_270, 1); +lean_inc(x_321); +lean_inc(x_320); +lean_dec(x_270); +x_322 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_271); +lean_dec(x_4); +x_323 = lean_ctor_get(x_322, 0); +lean_inc(x_323); +x_324 = lean_ctor_get(x_322, 1); +lean_inc(x_324); +if (lean_is_exclusive(x_322)) { + lean_ctor_release(x_322, 0); + lean_ctor_release(x_322, 1); + x_325 = x_322; +} else { + lean_dec_ref(x_322); + x_325 = lean_box(0); +} +x_326 = lean_box(0); +x_327 = l_Lean_Elab_Term_toParserDescrAux___main___closed__25; +x_328 = lean_name_mk_numeral(x_327, x_323); +x_329 = l_Lean_Elab_Term_toParserDescrAux___main___closed__24; +x_330 = l_Lean_Elab_Term_toParserDescrAux___main___closed__28; +x_331 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_331, 0, x_326); +lean_ctor_set(x_331, 1, x_329); +lean_ctor_set(x_331, 2, x_328); +lean_ctor_set(x_331, 3, x_330); +x_332 = l_Array_empty___closed__1; +x_333 = lean_array_push(x_332, x_331); +x_334 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_335 = lean_array_push(x_333, x_334); +x_336 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_337, 0, x_336); +lean_ctor_set(x_337, 1, x_335); +x_338 = lean_array_push(x_332, x_337); +x_339 = lean_array_push(x_332, x_268); +x_340 = lean_array_push(x_339, x_320); +x_341 = l_Lean_nullKind___closed__2; +x_342 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_340); +x_343 = lean_array_push(x_338, x_342); +x_344 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_345 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_343); +x_346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_321); +if (lean_is_scalar(x_325)) { + x_347 = lean_alloc_ctor(0, 2, 0); +} else { + x_347 = x_325; +} +lean_ctor_set(x_347, 0, x_346); +lean_ctor_set(x_347, 1, x_324); +return x_347; +} +} +} +block_471: +{ +lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_452; lean_object* x_453; +x_371 = lean_ctor_get(x_369, 0); +lean_inc(x_371); +x_372 = lean_ctor_get(x_369, 1); +lean_inc(x_372); +lean_dec(x_369); +x_452 = lean_unsigned_to_nat(2u); +x_453 = l_Lean_Syntax_getArg(x_1, x_452); lean_dec(x_1); if (lean_obj_tag(x_2) == 2) { -lean_object* x_427; uint8_t x_428; lean_object* x_429; +lean_object* x_454; uint8_t x_455; lean_object* x_456; lean_dec(x_2); -x_427 = lean_box(1); -x_428 = lean_unbox(x_348); -lean_dec(x_348); +x_454 = lean_box(1); +x_455 = lean_unbox(x_372); +lean_dec(x_372); lean_inc(x_4); -x_429 = l_Lean_Elab_Term_toParserDescrAux___main(x_426, x_427, x_428, x_4, x_346); -if (lean_obj_tag(x_429) == 0) +x_456 = l_Lean_Elab_Term_toParserDescrAux___main(x_453, x_454, x_455, x_4, x_370); +if (lean_obj_tag(x_456) == 0) { -lean_object* x_430; lean_object* x_431; -x_430 = lean_ctor_get(x_429, 0); -lean_inc(x_430); -x_431 = lean_ctor_get(x_429, 1); -lean_inc(x_431); -lean_dec(x_429); -x_349 = x_430; -x_350 = x_431; -goto block_424; +lean_object* x_457; lean_object* x_458; +x_457 = lean_ctor_get(x_456, 0); +lean_inc(x_457); +x_458 = lean_ctor_get(x_456, 1); +lean_inc(x_458); +lean_dec(x_456); +x_373 = x_457; +x_374 = x_458; +goto block_451; } else { -uint8_t x_432; -lean_dec(x_347); +uint8_t x_459; +lean_dec(x_371); lean_dec(x_4); -x_432 = !lean_is_exclusive(x_429); -if (x_432 == 0) +x_459 = !lean_is_exclusive(x_456); +if (x_459 == 0) { -return x_429; +return x_456; } else { -lean_object* x_433; lean_object* x_434; lean_object* x_435; -x_433 = lean_ctor_get(x_429, 0); -x_434 = lean_ctor_get(x_429, 1); -lean_inc(x_434); -lean_inc(x_433); -lean_dec(x_429); -x_435 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_435, 0, x_433); -lean_ctor_set(x_435, 1, x_434); -return x_435; +lean_object* x_460; lean_object* x_461; lean_object* x_462; +x_460 = lean_ctor_get(x_456, 0); +x_461 = lean_ctor_get(x_456, 1); +lean_inc(x_461); +lean_inc(x_460); +lean_dec(x_456); +x_462 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_462, 0, x_460); +lean_ctor_set(x_462, 1, x_461); +return x_462; } } } else { -uint8_t x_436; lean_object* x_437; -x_436 = lean_unbox(x_348); -lean_dec(x_348); +uint8_t x_463; lean_object* x_464; +x_463 = lean_unbox(x_372); +lean_dec(x_372); lean_inc(x_4); -x_437 = l_Lean_Elab_Term_toParserDescrAux___main(x_426, x_2, x_436, x_4, x_346); -if (lean_obj_tag(x_437) == 0) +x_464 = l_Lean_Elab_Term_toParserDescrAux___main(x_453, x_2, x_463, x_4, x_370); +if (lean_obj_tag(x_464) == 0) { -lean_object* x_438; lean_object* x_439; -x_438 = lean_ctor_get(x_437, 0); -lean_inc(x_438); -x_439 = lean_ctor_get(x_437, 1); -lean_inc(x_439); -lean_dec(x_437); -x_349 = x_438; -x_350 = x_439; -goto block_424; +lean_object* x_465; lean_object* x_466; +x_465 = lean_ctor_get(x_464, 0); +lean_inc(x_465); +x_466 = lean_ctor_get(x_464, 1); +lean_inc(x_466); +lean_dec(x_464); +x_373 = x_465; +x_374 = x_466; +goto block_451; } else { -uint8_t x_440; -lean_dec(x_347); +uint8_t x_467; +lean_dec(x_371); lean_dec(x_4); -x_440 = !lean_is_exclusive(x_437); -if (x_440 == 0) +x_467 = !lean_is_exclusive(x_464); +if (x_467 == 0) { -return x_437; +return x_464; } else { -lean_object* x_441; lean_object* x_442; lean_object* x_443; -x_441 = lean_ctor_get(x_437, 0); -x_442 = lean_ctor_get(x_437, 1); -lean_inc(x_442); -lean_inc(x_441); -lean_dec(x_437); -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_441); -lean_ctor_set(x_443, 1, x_442); -return x_443; +lean_object* x_468; lean_object* x_469; lean_object* x_470; +x_468 = lean_ctor_get(x_464, 0); +x_469 = lean_ctor_get(x_464, 1); +lean_inc(x_469); +lean_inc(x_468); +lean_dec(x_464); +x_470 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_470, 0, x_468); +lean_ctor_set(x_470, 1, x_469); +return x_470; } } } -block_424: +block_451: { -uint8_t x_351; -x_351 = !lean_is_exclusive(x_349); -if (x_351 == 0) +uint8_t x_375; +x_375 = !lean_is_exclusive(x_373); +if (x_375 == 0) { -lean_object* x_352; lean_object* x_353; uint8_t x_354; -x_352 = lean_ctor_get(x_349, 0); -x_353 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_350); +lean_object* x_376; lean_object* x_377; uint8_t x_378; +x_376 = lean_ctor_get(x_373, 0); +x_377 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_374); lean_dec(x_4); -x_354 = !lean_is_exclusive(x_353); -if (x_354 == 0) +x_378 = !lean_is_exclusive(x_377); +if (x_378 == 0) { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; -x_355 = lean_ctor_get(x_353, 0); -x_356 = lean_box(0); -x_357 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; -x_358 = lean_name_mk_numeral(x_357, x_355); -x_359 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; -x_360 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; -x_361 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_361, 0, x_356); -lean_ctor_set(x_361, 1, x_359); -lean_ctor_set(x_361, 2, x_358); -lean_ctor_set(x_361, 3, x_360); -x_362 = l_Array_empty___closed__1; -x_363 = lean_array_push(x_362, x_361); -x_364 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_365 = lean_array_push(x_363, x_364); -x_366 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_367 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_367, 0, x_366); -lean_ctor_set(x_367, 1, x_365); -x_368 = lean_array_push(x_362, x_367); -x_369 = lean_array_push(x_368, x_347); -x_370 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -x_372 = lean_array_push(x_362, x_371); -x_373 = lean_array_push(x_372, x_352); -x_374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_374, 0, x_370); -lean_ctor_set(x_374, 1, x_373); -lean_ctor_set(x_349, 0, x_374); -lean_ctor_set(x_353, 0, x_349); -return x_353; +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_379 = lean_ctor_get(x_377, 0); +x_380 = lean_box(0); +x_381 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_382 = lean_name_mk_numeral(x_381, x_379); +x_383 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; +x_384 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +x_385 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_385, 0, x_380); +lean_ctor_set(x_385, 1, x_383); +lean_ctor_set(x_385, 2, x_382); +lean_ctor_set(x_385, 3, x_384); +x_386 = l_Array_empty___closed__1; +x_387 = lean_array_push(x_386, x_385); +x_388 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_389 = lean_array_push(x_387, x_388); +x_390 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_389); +x_392 = lean_array_push(x_386, x_391); +x_393 = lean_array_push(x_386, x_371); +x_394 = lean_array_push(x_393, x_376); +x_395 = l_Lean_nullKind___closed__2; +x_396 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_396, 0, x_395); +lean_ctor_set(x_396, 1, x_394); +x_397 = lean_array_push(x_392, x_396); +x_398 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_399 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_399, 0, x_398); +lean_ctor_set(x_399, 1, x_397); +lean_ctor_set(x_373, 0, x_399); +lean_ctor_set(x_377, 0, x_373); +return x_377; } else { -lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; -x_375 = lean_ctor_get(x_353, 0); -x_376 = lean_ctor_get(x_353, 1); -lean_inc(x_376); -lean_inc(x_375); -lean_dec(x_353); -x_377 = lean_box(0); -x_378 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; -x_379 = lean_name_mk_numeral(x_378, x_375); -x_380 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; -x_381 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; -x_382 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_382, 0, x_377); -lean_ctor_set(x_382, 1, x_380); -lean_ctor_set(x_382, 2, x_379); -lean_ctor_set(x_382, 3, x_381); -x_383 = l_Array_empty___closed__1; -x_384 = lean_array_push(x_383, x_382); -x_385 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_386 = lean_array_push(x_384, x_385); -x_387 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_386); -x_389 = lean_array_push(x_383, x_388); -x_390 = lean_array_push(x_389, x_347); -x_391 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_391); -lean_ctor_set(x_392, 1, x_390); -x_393 = lean_array_push(x_383, x_392); -x_394 = lean_array_push(x_393, x_352); -x_395 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_395, 0, x_391); -lean_ctor_set(x_395, 1, x_394); -lean_ctor_set(x_349, 0, x_395); -x_396 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_396, 0, x_349); -lean_ctor_set(x_396, 1, x_376); -return x_396; -} -} -else -{ -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; -x_397 = lean_ctor_get(x_349, 0); -x_398 = lean_ctor_get(x_349, 1); -lean_inc(x_398); -lean_inc(x_397); -lean_dec(x_349); -x_399 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_350); -lean_dec(x_4); -x_400 = lean_ctor_get(x_399, 0); -lean_inc(x_400); -x_401 = lean_ctor_get(x_399, 1); +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; +x_400 = lean_ctor_get(x_377, 0); +x_401 = lean_ctor_get(x_377, 1); lean_inc(x_401); -if (lean_is_exclusive(x_399)) { - lean_ctor_release(x_399, 0); - lean_ctor_release(x_399, 1); - x_402 = x_399; -} else { - lean_dec_ref(x_399); - x_402 = lean_box(0); -} -x_403 = lean_box(0); -x_404 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; -x_405 = lean_name_mk_numeral(x_404, x_400); -x_406 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; -x_407 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; -x_408 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_408, 0, x_403); -lean_ctor_set(x_408, 1, x_406); -lean_ctor_set(x_408, 2, x_405); -lean_ctor_set(x_408, 3, x_407); -x_409 = l_Array_empty___closed__1; -x_410 = lean_array_push(x_409, x_408); -x_411 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_412 = lean_array_push(x_410, x_411); -x_413 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_414 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_414, 0, x_413); -lean_ctor_set(x_414, 1, x_412); -x_415 = lean_array_push(x_409, x_414); -x_416 = lean_array_push(x_415, x_347); -x_417 = l_Lean_Parser_Term_app___elambda__1___closed__2; +lean_inc(x_400); +lean_dec(x_377); +x_402 = lean_box(0); +x_403 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_404 = lean_name_mk_numeral(x_403, x_400); +x_405 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; +x_406 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +x_407 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_407, 0, x_402); +lean_ctor_set(x_407, 1, x_405); +lean_ctor_set(x_407, 2, x_404); +lean_ctor_set(x_407, 3, x_406); +x_408 = l_Array_empty___closed__1; +x_409 = lean_array_push(x_408, x_407); +x_410 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_411 = lean_array_push(x_409, x_410); +x_412 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_413 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_413, 0, x_412); +lean_ctor_set(x_413, 1, x_411); +x_414 = lean_array_push(x_408, x_413); +x_415 = lean_array_push(x_408, x_371); +x_416 = lean_array_push(x_415, x_376); +x_417 = l_Lean_nullKind___closed__2; x_418 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_418, 0, x_417); lean_ctor_set(x_418, 1, x_416); -x_419 = lean_array_push(x_409, x_418); -x_420 = lean_array_push(x_419, x_397); +x_419 = lean_array_push(x_414, x_418); +x_420 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_417); -lean_ctor_set(x_421, 1, x_420); +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_419); +lean_ctor_set(x_373, 0, x_421); x_422 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_422, 0, x_421); -lean_ctor_set(x_422, 1, x_398); -if (lean_is_scalar(x_402)) { - x_423 = lean_alloc_ctor(0, 2, 0); -} else { - x_423 = x_402; -} -lean_ctor_set(x_423, 0, x_422); -lean_ctor_set(x_423, 1, x_401); -return x_423; -} -} -} -block_511: -{ -uint8_t x_447; -x_447 = !lean_is_exclusive(x_445); -if (x_447 == 0) -{ -lean_object* x_448; lean_object* x_449; uint8_t x_450; -x_448 = lean_ctor_get(x_445, 0); -x_449 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_446); -lean_dec(x_4); -x_450 = !lean_is_exclusive(x_449); -if (x_450 == 0) -{ -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; -x_451 = lean_ctor_get(x_449, 0); -x_452 = lean_box(0); -x_453 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; -x_454 = lean_name_mk_numeral(x_453, x_451); -x_455 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; -x_456 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; -x_457 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_457, 0, x_452); -lean_ctor_set(x_457, 1, x_455); -lean_ctor_set(x_457, 2, x_454); -lean_ctor_set(x_457, 3, x_456); -x_458 = l_Array_empty___closed__1; -x_459 = lean_array_push(x_458, x_457); -x_460 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_461 = lean_array_push(x_459, x_460); -x_462 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_462); -lean_ctor_set(x_463, 1, x_461); -x_464 = lean_array_push(x_458, x_463); -x_465 = lean_array_push(x_464, x_448); -x_466 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_467 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_467, 0, x_466); -lean_ctor_set(x_467, 1, x_465); -lean_ctor_set(x_445, 0, x_467); -lean_ctor_set(x_449, 0, x_445); -return x_449; -} -else -{ -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; -x_468 = lean_ctor_get(x_449, 0); -x_469 = lean_ctor_get(x_449, 1); -lean_inc(x_469); -lean_inc(x_468); -lean_dec(x_449); -x_470 = lean_box(0); -x_471 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; -x_472 = lean_name_mk_numeral(x_471, x_468); -x_473 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; -x_474 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; -x_475 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_475, 0, x_470); -lean_ctor_set(x_475, 1, x_473); -lean_ctor_set(x_475, 2, x_472); -lean_ctor_set(x_475, 3, x_474); -x_476 = l_Array_empty___closed__1; -x_477 = lean_array_push(x_476, x_475); -x_478 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_479 = lean_array_push(x_477, x_478); -x_480 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_481 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_481, 0, x_480); -lean_ctor_set(x_481, 1, x_479); -x_482 = lean_array_push(x_476, x_481); -x_483 = lean_array_push(x_482, x_448); -x_484 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_484); -lean_ctor_set(x_485, 1, x_483); -lean_ctor_set(x_445, 0, x_485); -x_486 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_486, 0, x_445); -lean_ctor_set(x_486, 1, x_469); -return x_486; +lean_ctor_set(x_422, 0, x_373); +lean_ctor_set(x_422, 1, x_401); +return x_422; } } else { -lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; -x_487 = lean_ctor_get(x_445, 0); -x_488 = lean_ctor_get(x_445, 1); -lean_inc(x_488); -lean_inc(x_487); -lean_dec(x_445); -x_489 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_446); +lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; +x_423 = lean_ctor_get(x_373, 0); +x_424 = lean_ctor_get(x_373, 1); +lean_inc(x_424); +lean_inc(x_423); +lean_dec(x_373); +x_425 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_374); lean_dec(x_4); -x_490 = lean_ctor_get(x_489, 0); -lean_inc(x_490); -x_491 = lean_ctor_get(x_489, 1); -lean_inc(x_491); -if (lean_is_exclusive(x_489)) { - lean_ctor_release(x_489, 0); - lean_ctor_release(x_489, 1); - x_492 = x_489; +x_426 = lean_ctor_get(x_425, 0); +lean_inc(x_426); +x_427 = lean_ctor_get(x_425, 1); +lean_inc(x_427); +if (lean_is_exclusive(x_425)) { + lean_ctor_release(x_425, 0); + lean_ctor_release(x_425, 1); + x_428 = x_425; } else { - lean_dec_ref(x_489); - x_492 = lean_box(0); + lean_dec_ref(x_425); + x_428 = lean_box(0); } -x_493 = lean_box(0); -x_494 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; -x_495 = lean_name_mk_numeral(x_494, x_490); -x_496 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; -x_497 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; -x_498 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_498, 0, x_493); -lean_ctor_set(x_498, 1, x_496); -lean_ctor_set(x_498, 2, x_495); -lean_ctor_set(x_498, 3, x_497); -x_499 = l_Array_empty___closed__1; -x_500 = lean_array_push(x_499, x_498); -x_501 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_502 = lean_array_push(x_500, x_501); -x_503 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_504 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_504, 0, x_503); -lean_ctor_set(x_504, 1, x_502); -x_505 = lean_array_push(x_499, x_504); -x_506 = lean_array_push(x_505, x_487); -x_507 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_506); -x_509 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_509, 0, x_508); -lean_ctor_set(x_509, 1, x_488); -if (lean_is_scalar(x_492)) { - x_510 = lean_alloc_ctor(0, 2, 0); +x_429 = lean_box(0); +x_430 = l_Lean_Elab_Term_toParserDescrAux___main___closed__32; +x_431 = lean_name_mk_numeral(x_430, x_426); +x_432 = l_Lean_Elab_Term_toParserDescrAux___main___closed__31; +x_433 = l_Lean_Elab_Term_toParserDescrAux___main___closed__35; +x_434 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_434, 0, x_429); +lean_ctor_set(x_434, 1, x_432); +lean_ctor_set(x_434, 2, x_431); +lean_ctor_set(x_434, 3, x_433); +x_435 = l_Array_empty___closed__1; +x_436 = lean_array_push(x_435, x_434); +x_437 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_438 = lean_array_push(x_436, x_437); +x_439 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_440 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_440, 0, x_439); +lean_ctor_set(x_440, 1, x_438); +x_441 = lean_array_push(x_435, x_440); +x_442 = lean_array_push(x_435, x_371); +x_443 = lean_array_push(x_442, x_423); +x_444 = l_Lean_nullKind___closed__2; +x_445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_445, 0, x_444); +lean_ctor_set(x_445, 1, x_443); +x_446 = lean_array_push(x_441, x_445); +x_447 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_448 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_448, 0, x_447); +lean_ctor_set(x_448, 1, x_446); +x_449 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_449, 0, x_448); +lean_ctor_set(x_449, 1, x_424); +if (lean_is_scalar(x_428)) { + x_450 = lean_alloc_ctor(0, 2, 0); } else { - x_510 = x_492; + x_450 = x_428; } -lean_ctor_set(x_510, 0, x_509); -lean_ctor_set(x_510, 1, x_491); -return x_510; +lean_ctor_set(x_450, 0, x_449); +lean_ctor_set(x_450, 1, x_427); +return x_450; } } -block_578: +} +block_547: { -uint8_t x_514; -x_514 = !lean_is_exclusive(x_512); -if (x_514 == 0) +uint8_t x_474; +x_474 = !lean_is_exclusive(x_472); +if (x_474 == 0) { -lean_object* x_515; lean_object* x_516; uint8_t x_517; -x_515 = lean_ctor_get(x_512, 0); -x_516 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_513); +lean_object* x_475; lean_object* x_476; uint8_t x_477; +x_475 = lean_ctor_get(x_472, 0); +x_476 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_473); lean_dec(x_4); -x_517 = !lean_is_exclusive(x_516); -if (x_517 == 0) +x_477 = !lean_is_exclusive(x_476); +if (x_477 == 0) { -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; -x_518 = lean_ctor_get(x_516, 0); -x_519 = lean_box(0); -x_520 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; -x_521 = lean_name_mk_numeral(x_520, x_518); -x_522 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; -x_523 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; -x_524 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_524, 0, x_519); -lean_ctor_set(x_524, 1, x_522); -lean_ctor_set(x_524, 2, x_521); -lean_ctor_set(x_524, 3, x_523); -x_525 = l_Array_empty___closed__1; -x_526 = lean_array_push(x_525, x_524); -x_527 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_528 = lean_array_push(x_526, x_527); -x_529 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_530 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_530, 0, x_529); -lean_ctor_set(x_530, 1, x_528); -x_531 = lean_array_push(x_525, x_530); -x_532 = lean_array_push(x_531, x_515); -x_533 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_534 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_534, 0, x_533); -lean_ctor_set(x_534, 1, x_532); -lean_ctor_set(x_512, 0, x_534); -lean_ctor_set(x_516, 0, x_512); -return x_516; +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; +x_478 = lean_ctor_get(x_476, 0); +x_479 = lean_box(0); +x_480 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_481 = lean_name_mk_numeral(x_480, x_478); +x_482 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; +x_483 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +x_484 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_484, 0, x_479); +lean_ctor_set(x_484, 1, x_482); +lean_ctor_set(x_484, 2, x_481); +lean_ctor_set(x_484, 3, x_483); +x_485 = l_Array_empty___closed__1; +x_486 = lean_array_push(x_485, x_484); +x_487 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_488 = lean_array_push(x_486, x_487); +x_489 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_490 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_490, 0, x_489); +lean_ctor_set(x_490, 1, x_488); +x_491 = lean_array_push(x_485, x_490); +x_492 = lean_array_push(x_485, x_475); +x_493 = l_Lean_nullKind___closed__2; +x_494 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_492); +x_495 = lean_array_push(x_491, x_494); +x_496 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_496); +lean_ctor_set(x_497, 1, x_495); +lean_ctor_set(x_472, 0, x_497); +lean_ctor_set(x_476, 0, x_472); +return x_476; } else { -lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; -x_535 = lean_ctor_get(x_516, 0); -x_536 = lean_ctor_get(x_516, 1); -lean_inc(x_536); -lean_inc(x_535); -lean_dec(x_516); -x_537 = lean_box(0); -x_538 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; -x_539 = lean_name_mk_numeral(x_538, x_535); -x_540 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; -x_541 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; -x_542 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_542, 0, x_537); -lean_ctor_set(x_542, 1, x_540); -lean_ctor_set(x_542, 2, x_539); -lean_ctor_set(x_542, 3, x_541); -x_543 = l_Array_empty___closed__1; -x_544 = lean_array_push(x_543, x_542); -x_545 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_546 = lean_array_push(x_544, x_545); -x_547 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_548, 0, x_547); -lean_ctor_set(x_548, 1, x_546); -x_549 = lean_array_push(x_543, x_548); -x_550 = lean_array_push(x_549, x_515); -x_551 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_551); -lean_ctor_set(x_552, 1, x_550); -lean_ctor_set(x_512, 0, x_552); -x_553 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_553, 0, x_512); -lean_ctor_set(x_553, 1, x_536); -return x_553; +lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; +x_498 = lean_ctor_get(x_476, 0); +x_499 = lean_ctor_get(x_476, 1); +lean_inc(x_499); +lean_inc(x_498); +lean_dec(x_476); +x_500 = lean_box(0); +x_501 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_502 = lean_name_mk_numeral(x_501, x_498); +x_503 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; +x_504 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +x_505 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_505, 0, x_500); +lean_ctor_set(x_505, 1, x_503); +lean_ctor_set(x_505, 2, x_502); +lean_ctor_set(x_505, 3, x_504); +x_506 = l_Array_empty___closed__1; +x_507 = lean_array_push(x_506, x_505); +x_508 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_509 = lean_array_push(x_507, x_508); +x_510 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_511 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_511, 0, x_510); +lean_ctor_set(x_511, 1, x_509); +x_512 = lean_array_push(x_506, x_511); +x_513 = lean_array_push(x_506, x_475); +x_514 = l_Lean_nullKind___closed__2; +x_515 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_515, 0, x_514); +lean_ctor_set(x_515, 1, x_513); +x_516 = lean_array_push(x_512, x_515); +x_517 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_518 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_518, 0, x_517); +lean_ctor_set(x_518, 1, x_516); +lean_ctor_set(x_472, 0, x_518); +x_519 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_519, 0, x_472); +lean_ctor_set(x_519, 1, x_499); +return x_519; } } else { -lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_554 = lean_ctor_get(x_512, 0); -x_555 = lean_ctor_get(x_512, 1); -lean_inc(x_555); -lean_inc(x_554); -lean_dec(x_512); -x_556 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_513); +lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; +x_520 = lean_ctor_get(x_472, 0); +x_521 = lean_ctor_get(x_472, 1); +lean_inc(x_521); +lean_inc(x_520); +lean_dec(x_472); +x_522 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_473); lean_dec(x_4); -x_557 = lean_ctor_get(x_556, 0); -lean_inc(x_557); -x_558 = lean_ctor_get(x_556, 1); -lean_inc(x_558); -if (lean_is_exclusive(x_556)) { - lean_ctor_release(x_556, 0); - lean_ctor_release(x_556, 1); - x_559 = x_556; +x_523 = lean_ctor_get(x_522, 0); +lean_inc(x_523); +x_524 = lean_ctor_get(x_522, 1); +lean_inc(x_524); +if (lean_is_exclusive(x_522)) { + lean_ctor_release(x_522, 0); + lean_ctor_release(x_522, 1); + x_525 = x_522; } else { - lean_dec_ref(x_556); - x_559 = lean_box(0); + lean_dec_ref(x_522); + x_525 = lean_box(0); } -x_560 = lean_box(0); -x_561 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; -x_562 = lean_name_mk_numeral(x_561, x_557); -x_563 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; -x_564 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; -x_565 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_565, 0, x_560); -lean_ctor_set(x_565, 1, x_563); -lean_ctor_set(x_565, 2, x_562); -lean_ctor_set(x_565, 3, x_564); -x_566 = l_Array_empty___closed__1; -x_567 = lean_array_push(x_566, x_565); -x_568 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_569 = lean_array_push(x_567, x_568); -x_570 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_571, 0, x_570); -lean_ctor_set(x_571, 1, x_569); -x_572 = lean_array_push(x_566, x_571); -x_573 = lean_array_push(x_572, x_554); -x_574 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_575 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_575, 0, x_574); -lean_ctor_set(x_575, 1, x_573); -x_576 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_576, 0, x_575); -lean_ctor_set(x_576, 1, x_555); -if (lean_is_scalar(x_559)) { - x_577 = lean_alloc_ctor(0, 2, 0); +x_526 = lean_box(0); +x_527 = l_Lean_Elab_Term_toParserDescrAux___main___closed__39; +x_528 = lean_name_mk_numeral(x_527, x_523); +x_529 = l_Lean_Elab_Term_toParserDescrAux___main___closed__38; +x_530 = l_Lean_Elab_Term_toParserDescrAux___main___closed__42; +x_531 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_531, 0, x_526); +lean_ctor_set(x_531, 1, x_529); +lean_ctor_set(x_531, 2, x_528); +lean_ctor_set(x_531, 3, x_530); +x_532 = l_Array_empty___closed__1; +x_533 = lean_array_push(x_532, x_531); +x_534 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_535 = lean_array_push(x_533, x_534); +x_536 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_537 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_537, 0, x_536); +lean_ctor_set(x_537, 1, x_535); +x_538 = lean_array_push(x_532, x_537); +x_539 = lean_array_push(x_532, x_520); +x_540 = l_Lean_nullKind___closed__2; +x_541 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_541, 0, x_540); +lean_ctor_set(x_541, 1, x_539); +x_542 = lean_array_push(x_538, x_541); +x_543 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_544 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_544, 0, x_543); +lean_ctor_set(x_544, 1, x_542); +x_545 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_545, 0, x_544); +lean_ctor_set(x_545, 1, x_521); +if (lean_is_scalar(x_525)) { + x_546 = lean_alloc_ctor(0, 2, 0); } else { - x_577 = x_559; + x_546 = x_525; } -lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_558); -return x_577; +lean_ctor_set(x_546, 0, x_545); +lean_ctor_set(x_546, 1, x_524); +return x_546; } } -block_645: +block_623: { -uint8_t x_581; -x_581 = !lean_is_exclusive(x_579); -if (x_581 == 0) +uint8_t x_550; +x_550 = !lean_is_exclusive(x_548); +if (x_550 == 0) { -lean_object* x_582; lean_object* x_583; uint8_t x_584; -x_582 = lean_ctor_get(x_579, 0); -x_583 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_580); +lean_object* x_551; lean_object* x_552; uint8_t x_553; +x_551 = lean_ctor_get(x_548, 0); +x_552 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_549); lean_dec(x_4); -x_584 = !lean_is_exclusive(x_583); -if (x_584 == 0) +x_553 = !lean_is_exclusive(x_552); +if (x_553 == 0) { -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; -x_585 = lean_ctor_get(x_583, 0); -x_586 = lean_box(0); -x_587 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; -x_588 = lean_name_mk_numeral(x_587, x_585); -x_589 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; -x_590 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; -x_591 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_591, 0, x_586); +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; +x_554 = lean_ctor_get(x_552, 0); +x_555 = lean_box(0); +x_556 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_557 = lean_name_mk_numeral(x_556, x_554); +x_558 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; +x_559 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +x_560 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_560, 0, x_555); +lean_ctor_set(x_560, 1, x_558); +lean_ctor_set(x_560, 2, x_557); +lean_ctor_set(x_560, 3, x_559); +x_561 = l_Array_empty___closed__1; +x_562 = lean_array_push(x_561, x_560); +x_563 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_564 = lean_array_push(x_562, x_563); +x_565 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_566 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_566, 0, x_565); +lean_ctor_set(x_566, 1, x_564); +x_567 = lean_array_push(x_561, x_566); +x_568 = lean_array_push(x_561, x_551); +x_569 = l_Lean_nullKind___closed__2; +x_570 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_570, 0, x_569); +lean_ctor_set(x_570, 1, x_568); +x_571 = lean_array_push(x_567, x_570); +x_572 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_573 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_573, 0, x_572); +lean_ctor_set(x_573, 1, x_571); +lean_ctor_set(x_548, 0, x_573); +lean_ctor_set(x_552, 0, x_548); +return x_552; +} +else +{ +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; +x_574 = lean_ctor_get(x_552, 0); +x_575 = lean_ctor_get(x_552, 1); +lean_inc(x_575); +lean_inc(x_574); +lean_dec(x_552); +x_576 = lean_box(0); +x_577 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_578 = lean_name_mk_numeral(x_577, x_574); +x_579 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; +x_580 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +x_581 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_581, 0, x_576); +lean_ctor_set(x_581, 1, x_579); +lean_ctor_set(x_581, 2, x_578); +lean_ctor_set(x_581, 3, x_580); +x_582 = l_Array_empty___closed__1; +x_583 = lean_array_push(x_582, x_581); +x_584 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_585 = lean_array_push(x_583, x_584); +x_586 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_587 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_587, 0, x_586); +lean_ctor_set(x_587, 1, x_585); +x_588 = lean_array_push(x_582, x_587); +x_589 = lean_array_push(x_582, x_551); +x_590 = l_Lean_nullKind___closed__2; +x_591 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_591, 0, x_590); lean_ctor_set(x_591, 1, x_589); -lean_ctor_set(x_591, 2, x_588); -lean_ctor_set(x_591, 3, x_590); -x_592 = l_Array_empty___closed__1; -x_593 = lean_array_push(x_592, x_591); -x_594 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_595 = lean_array_push(x_593, x_594); -x_596 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_596); -lean_ctor_set(x_597, 1, x_595); -x_598 = lean_array_push(x_592, x_597); -x_599 = lean_array_push(x_598, x_582); -x_600 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_601 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_599); -lean_ctor_set(x_579, 0, x_601); -lean_ctor_set(x_583, 0, x_579); -return x_583; -} -else -{ -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; -x_602 = lean_ctor_get(x_583, 0); -x_603 = lean_ctor_get(x_583, 1); -lean_inc(x_603); -lean_inc(x_602); -lean_dec(x_583); -x_604 = lean_box(0); -x_605 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; -x_606 = lean_name_mk_numeral(x_605, x_602); -x_607 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; -x_608 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; -x_609 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_609, 0, x_604); -lean_ctor_set(x_609, 1, x_607); -lean_ctor_set(x_609, 2, x_606); -lean_ctor_set(x_609, 3, x_608); -x_610 = l_Array_empty___closed__1; -x_611 = lean_array_push(x_610, x_609); -x_612 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_613 = lean_array_push(x_611, x_612); -x_614 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_615 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_615, 0, x_614); -lean_ctor_set(x_615, 1, x_613); -x_616 = lean_array_push(x_610, x_615); -x_617 = lean_array_push(x_616, x_582); -x_618 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_619 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_619, 0, x_618); -lean_ctor_set(x_619, 1, x_617); -lean_ctor_set(x_579, 0, x_619); -x_620 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_620, 0, x_579); -lean_ctor_set(x_620, 1, x_603); -return x_620; +x_592 = lean_array_push(x_588, x_591); +x_593 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_594 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_594, 0, x_593); +lean_ctor_set(x_594, 1, x_592); +lean_ctor_set(x_548, 0, x_594); +x_595 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_595, 0, x_548); +lean_ctor_set(x_595, 1, x_575); +return x_595; } } else { -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; -x_621 = lean_ctor_get(x_579, 0); -x_622 = lean_ctor_get(x_579, 1); -lean_inc(x_622); -lean_inc(x_621); -lean_dec(x_579); -x_623 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_580); +lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; +x_596 = lean_ctor_get(x_548, 0); +x_597 = lean_ctor_get(x_548, 1); +lean_inc(x_597); +lean_inc(x_596); +lean_dec(x_548); +x_598 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_549); lean_dec(x_4); -x_624 = lean_ctor_get(x_623, 0); -lean_inc(x_624); -x_625 = lean_ctor_get(x_623, 1); -lean_inc(x_625); -if (lean_is_exclusive(x_623)) { - lean_ctor_release(x_623, 0); - lean_ctor_release(x_623, 1); - x_626 = x_623; +x_599 = lean_ctor_get(x_598, 0); +lean_inc(x_599); +x_600 = lean_ctor_get(x_598, 1); +lean_inc(x_600); +if (lean_is_exclusive(x_598)) { + lean_ctor_release(x_598, 0); + lean_ctor_release(x_598, 1); + x_601 = x_598; } else { - lean_dec_ref(x_623); - x_626 = lean_box(0); + lean_dec_ref(x_598); + x_601 = lean_box(0); } -x_627 = lean_box(0); -x_628 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; -x_629 = lean_name_mk_numeral(x_628, x_624); -x_630 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; -x_631 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; -x_632 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_632, 0, x_627); -lean_ctor_set(x_632, 1, x_630); -lean_ctor_set(x_632, 2, x_629); -lean_ctor_set(x_632, 3, x_631); -x_633 = l_Array_empty___closed__1; -x_634 = lean_array_push(x_633, x_632); -x_635 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_636 = lean_array_push(x_634, x_635); -x_637 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_638, 0, x_637); -lean_ctor_set(x_638, 1, x_636); -x_639 = lean_array_push(x_633, x_638); -x_640 = lean_array_push(x_639, x_621); -x_641 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_602 = lean_box(0); +x_603 = l_Lean_Elab_Term_toParserDescrAux___main___closed__46; +x_604 = lean_name_mk_numeral(x_603, x_599); +x_605 = l_Lean_Elab_Term_toParserDescrAux___main___closed__45; +x_606 = l_Lean_Elab_Term_toParserDescrAux___main___closed__49; +x_607 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_607, 0, x_602); +lean_ctor_set(x_607, 1, x_605); +lean_ctor_set(x_607, 2, x_604); +lean_ctor_set(x_607, 3, x_606); +x_608 = l_Array_empty___closed__1; +x_609 = lean_array_push(x_608, x_607); +x_610 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_611 = lean_array_push(x_609, x_610); +x_612 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_613 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_613, 0, x_612); +lean_ctor_set(x_613, 1, x_611); +x_614 = lean_array_push(x_608, x_613); +x_615 = lean_array_push(x_608, x_596); +x_616 = l_Lean_nullKind___closed__2; +x_617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_617, 0, x_616); +lean_ctor_set(x_617, 1, x_615); +x_618 = lean_array_push(x_614, x_617); +x_619 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_620 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_620, 0, x_619); +lean_ctor_set(x_620, 1, x_618); +x_621 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_621, 0, x_620); +lean_ctor_set(x_621, 1, x_597); +if (lean_is_scalar(x_601)) { + x_622 = lean_alloc_ctor(0, 2, 0); +} else { + x_622 = x_601; +} +lean_ctor_set(x_622, 0, x_621); +lean_ctor_set(x_622, 1, x_600); +return x_622; +} +} +block_699: +{ +uint8_t x_626; +x_626 = !lean_is_exclusive(x_624); +if (x_626 == 0) +{ +lean_object* x_627; lean_object* x_628; uint8_t x_629; +x_627 = lean_ctor_get(x_624, 0); +x_628 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_625); +lean_dec(x_4); +x_629 = !lean_is_exclusive(x_628); +if (x_629 == 0) +{ +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; +x_630 = lean_ctor_get(x_628, 0); +x_631 = lean_box(0); +x_632 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_633 = lean_name_mk_numeral(x_632, x_630); +x_634 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; +x_635 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +x_636 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_636, 0, x_631); +lean_ctor_set(x_636, 1, x_634); +lean_ctor_set(x_636, 2, x_633); +lean_ctor_set(x_636, 3, x_635); +x_637 = l_Array_empty___closed__1; +x_638 = lean_array_push(x_637, x_636); +x_639 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_640 = lean_array_push(x_638, x_639); +x_641 = l_Lean_Parser_Term_id___elambda__1___closed__2; x_642 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_642, 0, x_641); lean_ctor_set(x_642, 1, x_640); -x_643 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_643, 0, x_642); -lean_ctor_set(x_643, 1, x_622); -if (lean_is_scalar(x_626)) { - x_644 = lean_alloc_ctor(0, 2, 0); -} else { - x_644 = x_626; -} -lean_ctor_set(x_644, 0, x_643); -lean_ctor_set(x_644, 1, x_625); -return x_644; -} -} -block_679: -{ -uint8_t x_648; -x_648 = !lean_is_exclusive(x_646); -if (x_648 == 0) -{ -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; -x_649 = lean_ctor_get(x_646, 0); -x_650 = lean_box(0); -x_651 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; -x_652 = lean_name_mk_numeral(x_651, x_649); -x_653 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; -x_654 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; -x_655 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_655, 0, x_650); -lean_ctor_set(x_655, 1, x_653); -lean_ctor_set(x_655, 2, x_652); -lean_ctor_set(x_655, 3, x_654); -x_656 = l_Array_empty___closed__1; -x_657 = lean_array_push(x_656, x_655); -x_658 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_659 = lean_array_push(x_657, x_658); -x_660 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_661, 0, x_660); -lean_ctor_set(x_661, 1, x_659); -lean_ctor_set(x_646, 0, x_661); -x_662 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_662, 0, x_646); -lean_ctor_set(x_662, 1, x_647); -return x_662; +x_643 = lean_array_push(x_637, x_642); +x_644 = lean_array_push(x_637, x_627); +x_645 = l_Lean_nullKind___closed__2; +x_646 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_646, 0, x_645); +lean_ctor_set(x_646, 1, x_644); +x_647 = lean_array_push(x_643, x_646); +x_648 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_649, 0, x_648); +lean_ctor_set(x_649, 1, x_647); +lean_ctor_set(x_624, 0, x_649); +lean_ctor_set(x_628, 0, x_624); +return x_628; } else { -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; -x_663 = lean_ctor_get(x_646, 0); -x_664 = lean_ctor_get(x_646, 1); -lean_inc(x_664); -lean_inc(x_663); -lean_dec(x_646); -x_665 = lean_box(0); -x_666 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; -x_667 = lean_name_mk_numeral(x_666, x_663); -x_668 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; -x_669 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; -x_670 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_670, 0, x_665); +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; +x_650 = lean_ctor_get(x_628, 0); +x_651 = lean_ctor_get(x_628, 1); +lean_inc(x_651); +lean_inc(x_650); +lean_dec(x_628); +x_652 = lean_box(0); +x_653 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_654 = lean_name_mk_numeral(x_653, x_650); +x_655 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; +x_656 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +x_657 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_657, 0, x_652); +lean_ctor_set(x_657, 1, x_655); +lean_ctor_set(x_657, 2, x_654); +lean_ctor_set(x_657, 3, x_656); +x_658 = l_Array_empty___closed__1; +x_659 = lean_array_push(x_658, x_657); +x_660 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_661 = lean_array_push(x_659, x_660); +x_662 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_663 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_663, 0, x_662); +lean_ctor_set(x_663, 1, x_661); +x_664 = lean_array_push(x_658, x_663); +x_665 = lean_array_push(x_658, x_627); +x_666 = l_Lean_nullKind___closed__2; +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_666); +lean_ctor_set(x_667, 1, x_665); +x_668 = lean_array_push(x_664, x_667); +x_669 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_670, 0, x_669); lean_ctor_set(x_670, 1, x_668); -lean_ctor_set(x_670, 2, x_667); -lean_ctor_set(x_670, 3, x_669); -x_671 = l_Array_empty___closed__1; -x_672 = lean_array_push(x_671, x_670); -x_673 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_674 = lean_array_push(x_672, x_673); -x_675 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_676 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_676, 0, x_675); -lean_ctor_set(x_676, 1, x_674); -x_677 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_677, 0, x_676); -lean_ctor_set(x_677, 1, x_664); -x_678 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_678, 0, x_677); -lean_ctor_set(x_678, 1, x_647); -return x_678; +lean_ctor_set(x_624, 0, x_670); +x_671 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_671, 0, x_624); +lean_ctor_set(x_671, 1, x_651); +return x_671; +} +} +else +{ +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; +x_672 = lean_ctor_get(x_624, 0); +x_673 = lean_ctor_get(x_624, 1); +lean_inc(x_673); +lean_inc(x_672); +lean_dec(x_624); +x_674 = l_Lean_Elab_Term_getCurrMacroScope(x_4, x_625); +lean_dec(x_4); +x_675 = lean_ctor_get(x_674, 0); +lean_inc(x_675); +x_676 = lean_ctor_get(x_674, 1); +lean_inc(x_676); +if (lean_is_exclusive(x_674)) { + lean_ctor_release(x_674, 0); + lean_ctor_release(x_674, 1); + x_677 = x_674; +} else { + lean_dec_ref(x_674); + x_677 = lean_box(0); +} +x_678 = lean_box(0); +x_679 = l_Lean_Elab_Term_toParserDescrAux___main___closed__53; +x_680 = lean_name_mk_numeral(x_679, x_675); +x_681 = l_Lean_Elab_Term_toParserDescrAux___main___closed__52; +x_682 = l_Lean_Elab_Term_toParserDescrAux___main___closed__56; +x_683 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_683, 0, x_678); +lean_ctor_set(x_683, 1, x_681); +lean_ctor_set(x_683, 2, x_680); +lean_ctor_set(x_683, 3, x_682); +x_684 = l_Array_empty___closed__1; +x_685 = lean_array_push(x_684, x_683); +x_686 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_687 = lean_array_push(x_685, x_686); +x_688 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_689 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_689, 0, x_688); +lean_ctor_set(x_689, 1, x_687); +x_690 = lean_array_push(x_684, x_689); +x_691 = lean_array_push(x_684, x_672); +x_692 = l_Lean_nullKind___closed__2; +x_693 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_693, 0, x_692); +lean_ctor_set(x_693, 1, x_691); +x_694 = lean_array_push(x_690, x_693); +x_695 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_696 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_696, 0, x_695); +lean_ctor_set(x_696, 1, x_694); +x_697 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_697, 0, x_696); +lean_ctor_set(x_697, 1, x_673); +if (lean_is_scalar(x_677)) { + x_698 = lean_alloc_ctor(0, 2, 0); +} else { + x_698 = x_677; +} +lean_ctor_set(x_698, 0, x_697); +lean_ctor_set(x_698, 1, x_676); +return x_698; +} +} +block_733: +{ +uint8_t x_702; +x_702 = !lean_is_exclusive(x_700); +if (x_702 == 0) +{ +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; +x_703 = lean_ctor_get(x_700, 0); +x_704 = lean_box(0); +x_705 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; +x_706 = lean_name_mk_numeral(x_705, x_703); +x_707 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; +x_708 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_709 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_709, 0, x_704); +lean_ctor_set(x_709, 1, x_707); +lean_ctor_set(x_709, 2, x_706); +lean_ctor_set(x_709, 3, x_708); +x_710 = l_Array_empty___closed__1; +x_711 = lean_array_push(x_710, x_709); +x_712 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_713 = lean_array_push(x_711, x_712); +x_714 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_715 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_715, 0, x_714); +lean_ctor_set(x_715, 1, x_713); +lean_ctor_set(x_700, 0, x_715); +x_716 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_716, 0, x_700); +lean_ctor_set(x_716, 1, x_701); +return x_716; +} +else +{ +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; +x_717 = lean_ctor_get(x_700, 0); +x_718 = lean_ctor_get(x_700, 1); +lean_inc(x_718); +lean_inc(x_717); +lean_dec(x_700); +x_719 = lean_box(0); +x_720 = l_Lean_Elab_Term_toParserDescrAux___main___closed__61; +x_721 = lean_name_mk_numeral(x_720, x_717); +x_722 = l_Lean_Elab_Term_toParserDescrAux___main___closed__59; +x_723 = l_Lean_Elab_Term_toParserDescrAux___main___closed__64; +x_724 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_724, 0, x_719); +lean_ctor_set(x_724, 1, x_722); +lean_ctor_set(x_724, 2, x_721); +lean_ctor_set(x_724, 3, x_723); +x_725 = l_Array_empty___closed__1; +x_726 = lean_array_push(x_725, x_724); +x_727 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_728 = lean_array_push(x_726, x_727); +x_729 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_730 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_730, 0, x_729); +lean_ctor_set(x_730, 1, x_728); +x_731 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_731, 0, x_730); +lean_ctor_set(x_731, 1, x_718); +x_732 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_732, 0, x_731); +lean_ctor_set(x_732, 1, x_701); +return x_732; } } } else { -lean_object* x_1211; lean_object* x_1212; +lean_object* x_1269; lean_object* x_1270; lean_dec(x_6); -x_1211 = lean_unsigned_to_nat(0u); -x_1212 = l_Lean_Syntax_getArg(x_1, x_1211); +x_1269 = lean_unsigned_to_nat(0u); +x_1270 = l_Lean_Syntax_getArg(x_1, x_1269); lean_dec(x_1); -x_1 = x_1212; +x_1 = x_1270; goto _start; } } else { -lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; +lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_dec(x_6); -x_1214 = l_Lean_Syntax_getArgs(x_1); +x_1272 = l_Lean_Syntax_getArgs(x_1); lean_dec(x_1); -x_1215 = lean_unsigned_to_nat(0u); +x_1273 = lean_unsigned_to_nat(0u); lean_inc(x_4); -x_1216 = l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1215, x_1214, x_2, x_3, x_4, x_5); -if (lean_obj_tag(x_1216) == 0) +x_1274 = l_Array_umapMAux___main___at_Lean_Elab_Term_toParserDescrAux___main___spec__2(x_1273, x_1272, x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_1274) == 0) { -lean_object* x_1217; lean_object* x_1218; uint8_t x_1219; -x_1217 = lean_ctor_get(x_1216, 0); -lean_inc(x_1217); -x_1218 = lean_ctor_get(x_1216, 1); -lean_inc(x_1218); -lean_dec(x_1216); -x_1219 = !lean_is_exclusive(x_1217); -if (x_1219 == 0) +lean_object* x_1275; lean_object* x_1276; uint8_t x_1277; +x_1275 = lean_ctor_get(x_1274, 0); +lean_inc(x_1275); +x_1276 = lean_ctor_get(x_1274, 1); +lean_inc(x_1276); +lean_dec(x_1274); +x_1277 = !lean_is_exclusive(x_1275); +if (x_1277 == 0) { -lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; -x_1220 = lean_ctor_get(x_1217, 0); -x_1221 = lean_ctor_get(x_1217, 1); -x_1222 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1220, x_4, x_1218); +lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; +x_1278 = lean_ctor_get(x_1275, 0); +x_1279 = lean_ctor_get(x_1275, 1); +x_1280 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1278, x_4, x_1276); lean_dec(x_4); -lean_dec(x_1220); -if (lean_obj_tag(x_1222) == 0) +lean_dec(x_1278); +if (lean_obj_tag(x_1280) == 0) { -uint8_t x_1223; -x_1223 = !lean_is_exclusive(x_1222); -if (x_1223 == 0) +uint8_t x_1281; +x_1281 = !lean_is_exclusive(x_1280); +if (x_1281 == 0) { -lean_object* x_1224; -x_1224 = lean_ctor_get(x_1222, 0); -lean_ctor_set(x_1217, 0, x_1224); -lean_ctor_set(x_1222, 0, x_1217); -return x_1222; +lean_object* x_1282; +x_1282 = lean_ctor_get(x_1280, 0); +lean_ctor_set(x_1275, 0, x_1282); +lean_ctor_set(x_1280, 0, x_1275); +return x_1280; } else { -lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; -x_1225 = lean_ctor_get(x_1222, 0); -x_1226 = lean_ctor_get(x_1222, 1); -lean_inc(x_1226); -lean_inc(x_1225); -lean_dec(x_1222); -lean_ctor_set(x_1217, 0, x_1225); -x_1227 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1227, 0, x_1217); -lean_ctor_set(x_1227, 1, x_1226); -return x_1227; +lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; +x_1283 = lean_ctor_get(x_1280, 0); +x_1284 = lean_ctor_get(x_1280, 1); +lean_inc(x_1284); +lean_inc(x_1283); +lean_dec(x_1280); +lean_ctor_set(x_1275, 0, x_1283); +x_1285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1285, 0, x_1275); +lean_ctor_set(x_1285, 1, x_1284); +return x_1285; } } else { -uint8_t x_1228; -lean_free_object(x_1217); -lean_dec(x_1221); -x_1228 = !lean_is_exclusive(x_1222); -if (x_1228 == 0) +uint8_t x_1286; +lean_free_object(x_1275); +lean_dec(x_1279); +x_1286 = !lean_is_exclusive(x_1280); +if (x_1286 == 0) { -return x_1222; +return x_1280; } else { -lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; -x_1229 = lean_ctor_get(x_1222, 0); -x_1230 = lean_ctor_get(x_1222, 1); -lean_inc(x_1230); -lean_inc(x_1229); -lean_dec(x_1222); -x_1231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1231, 0, x_1229); -lean_ctor_set(x_1231, 1, x_1230); -return x_1231; +lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; +x_1287 = lean_ctor_get(x_1280, 0); +x_1288 = lean_ctor_get(x_1280, 1); +lean_inc(x_1288); +lean_inc(x_1287); +lean_dec(x_1280); +x_1289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1289, 0, x_1287); +lean_ctor_set(x_1289, 1, x_1288); +return x_1289; } } } else { -lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; -x_1232 = lean_ctor_get(x_1217, 0); -x_1233 = lean_ctor_get(x_1217, 1); -lean_inc(x_1233); -lean_inc(x_1232); -lean_dec(x_1217); -x_1234 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1232, x_4, x_1218); +lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; +x_1290 = lean_ctor_get(x_1275, 0); +x_1291 = lean_ctor_get(x_1275, 1); +lean_inc(x_1291); +lean_inc(x_1290); +lean_dec(x_1275); +x_1292 = l___private_Init_Lean_Elab_Syntax_2__mkParserSeq(x_1290, x_4, x_1276); lean_dec(x_4); -lean_dec(x_1232); -if (lean_obj_tag(x_1234) == 0) +lean_dec(x_1290); +if (lean_obj_tag(x_1292) == 0) { -lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; -x_1235 = lean_ctor_get(x_1234, 0); -lean_inc(x_1235); -x_1236 = lean_ctor_get(x_1234, 1); -lean_inc(x_1236); -if (lean_is_exclusive(x_1234)) { - lean_ctor_release(x_1234, 0); - lean_ctor_release(x_1234, 1); - x_1237 = x_1234; +lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; +x_1293 = lean_ctor_get(x_1292, 0); +lean_inc(x_1293); +x_1294 = lean_ctor_get(x_1292, 1); +lean_inc(x_1294); +if (lean_is_exclusive(x_1292)) { + lean_ctor_release(x_1292, 0); + lean_ctor_release(x_1292, 1); + x_1295 = x_1292; } else { - lean_dec_ref(x_1234); - x_1237 = lean_box(0); + lean_dec_ref(x_1292); + x_1295 = lean_box(0); } -x_1238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1238, 0, x_1235); -lean_ctor_set(x_1238, 1, x_1233); -if (lean_is_scalar(x_1237)) { - x_1239 = lean_alloc_ctor(0, 2, 0); +x_1296 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1296, 0, x_1293); +lean_ctor_set(x_1296, 1, x_1291); +if (lean_is_scalar(x_1295)) { + x_1297 = lean_alloc_ctor(0, 2, 0); } else { - x_1239 = x_1237; + x_1297 = x_1295; } -lean_ctor_set(x_1239, 0, x_1238); -lean_ctor_set(x_1239, 1, x_1236); -return x_1239; +lean_ctor_set(x_1297, 0, x_1296); +lean_ctor_set(x_1297, 1, x_1294); +return x_1297; } else { -lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; -lean_dec(x_1233); -x_1240 = lean_ctor_get(x_1234, 0); -lean_inc(x_1240); -x_1241 = lean_ctor_get(x_1234, 1); -lean_inc(x_1241); -if (lean_is_exclusive(x_1234)) { - lean_ctor_release(x_1234, 0); - lean_ctor_release(x_1234, 1); - x_1242 = x_1234; +lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; +lean_dec(x_1291); +x_1298 = lean_ctor_get(x_1292, 0); +lean_inc(x_1298); +x_1299 = lean_ctor_get(x_1292, 1); +lean_inc(x_1299); +if (lean_is_exclusive(x_1292)) { + lean_ctor_release(x_1292, 0); + lean_ctor_release(x_1292, 1); + x_1300 = x_1292; } else { - lean_dec_ref(x_1234); - x_1242 = lean_box(0); + lean_dec_ref(x_1292); + x_1300 = lean_box(0); } -if (lean_is_scalar(x_1242)) { - x_1243 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_1300)) { + x_1301 = lean_alloc_ctor(1, 2, 0); } else { - x_1243 = x_1242; + x_1301 = x_1300; } -lean_ctor_set(x_1243, 0, x_1240); -lean_ctor_set(x_1243, 1, x_1241); -return x_1243; +lean_ctor_set(x_1301, 0, x_1298); +lean_ctor_set(x_1301, 1, x_1299); +return x_1301; } } } else { -uint8_t x_1244; +uint8_t x_1302; lean_dec(x_4); -x_1244 = !lean_is_exclusive(x_1216); -if (x_1244 == 0) +x_1302 = !lean_is_exclusive(x_1274); +if (x_1302 == 0) { -return x_1216; +return x_1274; } else { -lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; -x_1245 = lean_ctor_get(x_1216, 0); -x_1246 = lean_ctor_get(x_1216, 1); -lean_inc(x_1246); -lean_inc(x_1245); -lean_dec(x_1216); -x_1247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1247, 0, x_1245); -lean_ctor_set(x_1247, 1, x_1246); -return x_1247; +lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; +x_1303 = lean_ctor_get(x_1274, 0); +x_1304 = lean_ctor_get(x_1274, 1); +lean_inc(x_1304); +lean_inc(x_1303); +lean_dec(x_1274); +x_1305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1305, 0, x_1303); +lean_ctor_set(x_1305, 1, x_1304); +return x_1305; } } } @@ -7180,16 +7269,16 @@ lean_ctor_set(x_93, 0, x_37); lean_ctor_set(x_93, 1, x_92); x_94 = lean_array_push(x_33, x_93); x_95 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_13); -x_96 = lean_array_push(x_94, x_95); -x_97 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_96 = lean_array_push(x_33, x_95); +x_97 = lean_array_push(x_96, x_22); x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_96); -x_99 = lean_array_push(x_33, x_98); -x_100 = lean_array_push(x_99, x_22); +lean_ctor_set(x_98, 0, x_47); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_array_push(x_94, x_98); +x_100 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_97); -lean_ctor_set(x_101, 1, x_100); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); x_102 = l_Lean_Elab_Command_elabSyntax___closed__15; x_103 = lean_array_push(x_102, x_101); x_104 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; @@ -7499,16 +7588,16 @@ lean_ctor_set(x_227, 0, x_171); lean_ctor_set(x_227, 1, x_226); x_228 = lean_array_push(x_167, x_227); x_229 = l___private_Init_Lean_Elab_Quotation_1__quoteName___main(x_13); -x_230 = lean_array_push(x_228, x_229); -x_231 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_230 = lean_array_push(x_167, x_229); +x_231 = lean_array_push(x_230, x_156); x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_230); -x_233 = lean_array_push(x_167, x_232); -x_234 = lean_array_push(x_233, x_156); +lean_ctor_set(x_232, 0, x_181); +lean_ctor_set(x_232, 1, x_231); +x_233 = lean_array_push(x_228, x_232); +x_234 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_235 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_235, 0, x_231); -lean_ctor_set(x_235, 1, x_234); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_233); x_236 = l_Lean_Elab_Command_elabSyntax___closed__15; x_237 = lean_array_push(x_236, x_235); x_238 = l_Lean_Parser_Command_declValSimple___elambda__1___closed__2; @@ -8158,7 +8247,7 @@ x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) { uint8_t x_18; -x_18 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_18 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_18 == 0) { lean_object* x_19; lean_object* x_20; @@ -8327,7 +8416,7 @@ x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_78); lean_ctor_set(x_115, 1, x_114); x_116 = lean_array_push(x_32, x_115); -x_117 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__7; +x_117 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; x_118 = lean_array_push(x_116, x_117); x_119 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_120 = lean_alloc_ctor(1, 2, 0); @@ -8525,7 +8614,7 @@ x_234 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_234, 0, x_197); lean_ctor_set(x_234, 1, x_233); x_235 = lean_array_push(x_151, x_234); -x_236 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__7; +x_236 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; x_237 = lean_array_push(x_235, x_236); x_238 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_239 = lean_alloc_ctor(1, 2, 0); @@ -8752,7 +8841,7 @@ x_364 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_364, 0, x_327); lean_ctor_set(x_364, 1, x_363); x_365 = lean_array_push(x_281, x_364); -x_366 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__7; +x_366 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; x_367 = lean_array_push(x_365, x_366); x_368 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_369 = lean_alloc_ctor(1, 2, 0); @@ -8950,7 +9039,7 @@ x_483 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_483, 0, x_446); lean_ctor_set(x_483, 1, x_482); x_484 = lean_array_push(x_400, x_483); -x_485 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__7; +x_485 = l___private_Init_Lean_Elab_Quotation_12__letBindRhss___main___closed__9; x_486 = lean_array_push(x_484, x_485); x_487 = l_Lean_Parser_Term_app___elambda__1___closed__2; x_488 = lean_alloc_ctor(1, 2, 0); @@ -9588,7 +9677,7 @@ if (x_44 == 0) { uint8_t x_45; lean_dec(x_27); -x_45 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_45 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_45 == 0) { lean_dec(x_15); diff --git a/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c b/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c index dbb0cf9a85..12380e561f 100644 --- a/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c +++ b/stage0/stdlib/Init/Lean/Elab/SynthesizeSyntheticMVars.c @@ -63,13 +63,13 @@ lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_2__resumePostponed___lambda__1___closed__1; lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_7__synthesizeUsingDefault___spec__1___lambda__1___closed__2; -extern lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_9__getSomeSynthethicMVarsRef___boxed(lean_object*); lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2___closed__4; +extern lean_object* l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1; lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2___closed__9; lean_object* l_List_filterAuxM___main___at___private_Init_Lean_Elab_SynthesizeSyntheticMVars_6__synthesizeSyntheticMVarsStep___spec__2___closed__8; lean_object* l___private_Init_Lean_Elab_SynthesizeSyntheticMVars_9__getSomeSynthethicMVarsRef___rarg___lambda__1___boxed(lean_object*); @@ -996,7 +996,7 @@ if (lean_is_exclusive(x_4)) { lean_dec_ref(x_4); x_11 = lean_box(0); } -x_18 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1; +x_18 = l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1; lean_inc(x_3); x_19 = lean_name_mk_string(x_3, x_18); x_20 = lean_ctor_get(x_9, 0); diff --git a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c index 803c456735..7e69868ba8 100644 --- a/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Init/Lean/Elab/Tactic/Basic.c @@ -50,6 +50,7 @@ lean_object* l_Lean_Elab_Tactic_trace(lean_object*, lean_object*, lean_object*, lean_object* l___private_Init_Lean_Elab_Tactic_Basic_1__evalTacticUsing(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getLCtx___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_monadQuotation___closed__2; +extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; lean_object* l_Lean_Elab_Tactic_evalIntro___lambda__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_declareBuiltinTactic(lean_object*, lean_object*, lean_object*, lean_object*); @@ -228,7 +229,6 @@ lean_object* l_Lean_Elab_Tactic_withMVarContext___rarg___boxed(lean_object*, lea lean_object* l_Lean_Elab_Tactic_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_io_ref_reset(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Tactic_mkBuiltinTacticTable___spec__1; lean_object* l_Lean_Elab_Tactic_throwError(lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Tactic_evalTactic___main___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -292,7 +292,7 @@ lean_object* l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_a lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getCurrMacroScope___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_liftMetaTactic___closed__2; -extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +extern lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; lean_object* l_Lean_Elab_Tactic_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_initAttr; @@ -3169,7 +3169,7 @@ x_10 = lean_unsigned_to_nat(2u); x_11 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); -x_12 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; +x_12 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; x_13 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_11); @@ -10188,7 +10188,7 @@ if (x_12 == 0) if (x_10 == 0) { uint8_t x_13; -x_13 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_13 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_13 == 0) { lean_object* x_14; diff --git a/stage0/stdlib/Init/Lean/Elab/Term.c b/stage0/stdlib/Init/Lean/Elab/Term.c index f83f40b83e..851821ae9c 100644 --- a/stage0/stdlib/Init/Lean/Elab/Term.c +++ b/stage0/stdlib/Init/Lean/Elab/Term.c @@ -19,20 +19,19 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4; lean_object* l_Lean_Elab_Term_elabChar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__1; lean_object* l_Lean_Elab_Term_getEnv___rarg(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; lean_object* l_Lean_mkAppStx(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadQuotation; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__8; -lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3; +uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum(lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry___main(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_13__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1___closed__2; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__8; @@ -49,17 +48,18 @@ lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__9; lean_object* l_Lean_Elab_Term_mkFreshExprMVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameToExprAux___main___closed__1; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__13; +lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalName___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__1; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__8; lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__6; lean_object* l_Lean_Elab_Term_monadLog___lambda__3___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_ofList___closed__3; lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__2; lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_tryPostpone___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__9; lean_object* l_Lean_Elab_Term_inferType(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_assignExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ppGoal___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -80,6 +80,7 @@ lean_object* l_Lean_Meta_mkForall(lean_object*, lean_object*, lean_object*, lean extern size_t l_PersistentHashMap_insertAux___main___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__4; extern lean_object* l_Option_get_x21___rarg___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_14__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__1; lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*); @@ -91,14 +92,16 @@ lean_object* l_Lean_Elab_Term_getLocalInsts___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_getPos___at_Lean_Elab_Term_throwError___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_mkHashMap___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__2(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__2; +uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; uint8_t l_List_elem___main___at_Lean_addAliasEntry___spec__18(lean_object*, lean_object*); extern lean_object* l_Prod_HasRepr___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_4__isCDot___boxed(lean_object*); lean_object* l_Lean_Meta_Exception_toMessageData(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6; lean_object* l_Lean_mkMVar(lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); @@ -111,6 +114,7 @@ lean_object* l_Lean_Elab_Term_elabTypeStx___boxed(lean_object*, lean_object*, le lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__5; lean_object* lean_dbg_trace(lean_object*, lean_object*); lean_object* lean_io_mk_ref(lean_object*, lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_14__mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getEnv___boxed(lean_object*); lean_object* l_Lean_Elab_ElabFnTable_insert___rarg(lean_object*, lean_object*, lean_object*); @@ -123,6 +127,7 @@ lean_object* l_Lean_Elab_Term_mkForallUsedOnly___boxed(lean_object*, lean_object extern lean_object* l___private_Init_Lean_Meta_ExprDefEq_17__checkTypesAndAssign___closed__5; lean_object* lean_io_ref_get(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__5; +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__6; lean_object* l_Lean_Elab_Term_monadQuotation___closed__2; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); @@ -151,6 +156,8 @@ extern lean_object* l_Lean_Parser_Term_num___elambda__1___closed__1; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureType(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__8; +lean_object* l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn___main(lean_object*); lean_object* l_PersistentArray_push___rarg(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__2; @@ -161,6 +168,7 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fr lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__1; lean_object* l_Lean_Elab_Term_withIncRecDepth(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_10__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__3; lean_object* l_Lean_WHNF_unfoldDefinitionAux___at_Lean_Meta_unfoldDefinition_x3f___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_List_repr___rarg___closed__3; @@ -188,6 +196,7 @@ extern lean_object* l_Lean_Meta_MetaHasEval___rarg___closed__4; lean_object* l_Lean_Elab_Term_assignExprMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Exception_hasToString(lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__5; +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2; extern lean_object* l_Lean_LocalContext_Inhabited___closed__1; lean_object* l_Lean_Elab_Term_resolveName___closed__5; lean_object* l_Lean_Elab_Term_mkFreshExprMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -196,15 +205,14 @@ extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed_ lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg___closed__2; lean_object* l_Lean_Elab_Term_trace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBadCDot___closed__1; +uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabResult_inhabited___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_AttributeImpl_inhabited___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_ppGoal(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1; lean_object* l_Lean_Elab_Term_termElabAttribute___closed__2; lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1; lean_object* l_IO_ofExcept___at_Lean_registerClassAttr___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getTraceState(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshTypeMVar(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -219,9 +227,9 @@ lean_object* l_Lean_Elab_Term_getOptions(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___closed__1; lean_object* l_Lean_Elab_Term_elabListLit___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM(lean_object*); extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalNameAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNum___closed__5; lean_object* l_Lean_Elab_Term_elabListLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_metavar_ctx_is_expr_assigned(lean_object*, lean_object*); @@ -241,19 +249,17 @@ lean_object* l___private_Init_Lean_Elab_Term_2__fromMetaException___boxed(lean_o lean_object* l_Lean_Elab_Term_elabParen___closed__4; lean_object* l_Lean_Elab_Term_withIncRecDepth___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabLevel(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_15__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__1; lean_object* l_Lean_Syntax_isCharLit_x3f(lean_object*); lean_object* l_Array_isEqvAux___main___at_Lean_Elab_Term_withMVarContext___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_14__mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5; -lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__3; lean_object* l_Lean_Elab_Term_elabChar___closed__1; lean_object* l_Lean_Elab_Term_mkFreshAnonymousName___rarg(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__3; extern lean_object* l_Lean_Expr_Inhabited___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_Term_elabTermAux___main___spec__6___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMVarContext(lean_object*); @@ -278,14 +284,12 @@ lean_object* l_Lean_Elab_Term_elabChar___closed__2; lean_object* l_Lean_Elab_Term_mkLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLevel(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2; lean_object* l_Lean_Elab_Term_mkConst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrNamespace(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___rarg(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__3; lean_object* l_Lean_Elab_Term_monadLog___closed__8; extern lean_object* l_Lean_Expr_isSyntheticSorry___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isExprMVarAssigned___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabProp___rarg(lean_object*); lean_object* l_PersistentHashMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__3; @@ -297,23 +301,24 @@ lean_object* l_Lean_Elab_Term_elabChar___boxed(lean_object*, lean_object*, lean_ lean_object* l_Lean_Name_append___main(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__3; lean_object* l_Lean_Elab_mkMessageCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMacroExpansion___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__3; lean_object* l_Lean_Elab_Term_levelMVarToParam___closed__2; lean_object* l_Lean_Elab_Term_elabStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen(lean_object*); lean_object* l_Lean_Elab_Term_mkConst___closed__2; -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_15__mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStr___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1; lean_object* l_Lean_Elab_Term_TermElabM_inhabited(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__6; extern lean_object* l_Lean_Parser_darrow___elambda__1___rarg___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_levelMVarToParam___lambda__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_7__postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMVarDecl___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setTraceState___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); @@ -324,11 +329,11 @@ lean_object* l_List_lengthAux___main___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_mkForallUsedOnly(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__5; lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__9; +lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_1__mkMessageAux(lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_Term_monadQuotation___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withNode___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2; lean_object* l_Lean_Elab_Term_elabTypeStx(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__6; lean_object* l_Lean_Elab_Term_withFreshMacroScope(lean_object*); @@ -341,7 +346,7 @@ lean_object* l_Lean_Elab_Term_State_inhabited___closed__2; extern lean_object* l_Char_HasRepr___closed__1; lean_object* l_Lean_Elab_Term_elabNum___closed__2; lean_object* l_Lean_Elab_Term_withNode___rarg___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit___closed__3; lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__3; lean_object* l_Lean_Elab_Term_logTrace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -378,32 +383,34 @@ extern lean_object* l_Lean_Parser_regBuiltinTermParserAttr___closed__3; lean_object* l_Lean_Elab_Term_elabProp___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*); lean_object* l_Lean_MetavarContext_assignExpr(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_13__resolveLocalName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_applyResult___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_SMap_find_x3f___at_Lean_Elab_Term_elabTermAux___main___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute(lean_object*); lean_object* l_AssocList_find___main___at_Lean_Elab_Term_elabTermAux___main___spec__6(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2; uint8_t l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalName(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__8; extern lean_object* l_Lean_Parser_declareBuiltinParser___closed__7; lean_object* l_Lean_Elab_Term_monadLog___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkAppM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope___boxed(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2; extern lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Options_empty; lean_object* l_Lean_Elab_Term_mkConst___closed__7; +lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabTypeStx___closed__3; lean_object* l_Lean_Elab_Term_elabTermAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLevel___boxed(lean_object*, lean_object*, lean_object*); uint8_t l_coeDecidableEq(uint8_t); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort(lean_object*); uint8_t l_PersistentHashMap_containsAux___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__5(lean_object*, size_t, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_16__regTraceClasses(lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_15__regTraceClasses(lean_object*); size_t lean_usize_modn(size_t, lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__2; +lean_object* l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1; lean_object* l_Lean_registerBuiltinAttribute(lean_object*, lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftLevelM(lean_object*); @@ -419,7 +426,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSort___closed__1; lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Term_throwError___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_15__mkConsts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__1; lean_object* l_Lean_Elab_Term_addBuiltinTermElab___closed__1; lean_object* l_mkHashMapImp___rarg(lean_object*); @@ -431,7 +437,7 @@ lean_object* l_Lean_Elab_Term_ensureHasType___closed__1; lean_object* l_Lean_Elab_Term_addBuiltinTermElab___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLocalInsts(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5; +lean_object* l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__2; lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg(lean_object*); lean_object* l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(lean_object*); lean_object* l_Lean_Meta_whnf(lean_object*, lean_object*, lean_object*); @@ -444,15 +450,18 @@ lean_object* l_Lean_Elab_Term_withMVarContext___rarg(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_elabArrayLit___closed__4; lean_object* l_Lean_Elab_Term_TermElabM_inhabited___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousIdent___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main___closed__3; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProp___closed__1; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__3; lean_object* l_Lean_Elab_Term_elabArrayLit___closed__9; lean_object* l_Lean_Elab_Term_resolveName___closed__9; lean_object* l_Lean_Elab_Term_throwUnsupportedSyntax(lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__1; lean_object* l_Lean_Elab_Term_elabListLit___closed__5; size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -462,6 +471,7 @@ lean_object* l_Lean_Elab_Term_resolveName___closed__4; lean_object* l_Lean_Elab_Term_withNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_ParametricAttribute_setParam___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_14__mkConsts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l_Lean_Elab_Term_expandCDot_x3f___closed__1; lean_object* l_fix1___rarg___lambda__1___boxed(lean_object*, lean_object*); @@ -473,13 +483,11 @@ lean_object* l_Lean_Elab_Term_isDefEq(lean_object*, lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__10; lean_object* l_Lean_ConstantInfo_lparams(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshAnonymousName(lean_object*); -uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot(lean_object*); lean_object* l_Lean_Elab_Term_withLCtx(lean_object*); lean_object* l_Lean_Elab_Term_withNode(lean_object*); extern lean_object* l_Option_HasRepr___rarg___closed__3; lean_object* l_Lean_Elab_Term_traceAtCmdPos___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentHashMap_findAtAux___main___at_Lean_Elab_Term_elabTermAux___main___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main(lean_object*); lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabArrayLit___closed__1; @@ -494,19 +502,20 @@ lean_object* l_Lean_Elab_Term_liftMetaM___rarg___boxed(lean_object*, lean_object lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___lambda__1___closed__4; lean_object* l_Lean_Meta_trySynthInstance(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__7; -lean_object* l___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__3; lean_object* l_Lean_WHNF_whnfCore___main___at_Lean_Meta_whnfCore___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStr(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__5; lean_object* l_Lean_Elab_Term_getLCtx(lean_object*, lean_object*); lean_object* l_PersistentArray_foldlMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6; lean_object* l_Lean_Elab_Term_traceAtCmdPos(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2; uint8_t l_HashMapImp_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType___closed__3; lean_object* l_Lean_Elab_Term_decLevel___closed__5; -lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1; lean_object* l_PersistentHashMap_contains___at_Lean_Elab_Term_addBuiltinTermElab___spec__4___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_TermElabM_inhabited___rarg(lean_object*); uint8_t l_Lean_Expr_isMVar(lean_object*); @@ -555,6 +564,7 @@ lean_object* l_Lean_Elab_Term_tryPostponeIfMVar___boxed(lean_object*, lean_objec lean_object* l_Lean_Elab_Term_whnfCore(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__4___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Util_1__mkPanicMessage___closed__2; +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabParen___closed__2; lean_object* l_Lean_Elab_Term_resettingSynthInstanceCacheWhen___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Term_logTrace___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); @@ -569,9 +579,9 @@ lean_object* l_Lean_Elab_Term_unfoldDefinition_x3f___boxed(lean_object*, lean_ob lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSort(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_levelMVarToParam___lambda__1(lean_object*, lean_object*); +uint8_t l___private_Init_Lean_Elab_Term_4__isCDot(lean_object*); lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withMVarContext___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; lean_object* l_Lean_Meta_getLevel(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos(lean_object*); @@ -581,13 +591,11 @@ lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*) uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Meta_LevelDefEq_10__processPostponedStep___closed__1; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__2; -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1; +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instantiateMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStr___closed__3; lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___main___boxed(lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___boxed(lean_object*); extern lean_object* l_Lean_TraceState_Inhabited___closed__1; lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___rarg(lean_object*); @@ -598,9 +606,7 @@ lean_object* l_Lean_Elab_resolveGlobalName(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Elab_Term_getEnv(lean_object*); lean_object* l_Lean_Elab_Term_getOpenDecls(lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEq(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkTermIdFrom(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_11__elabCDot(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabListLit(lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__3; extern lean_object* l_Lean_mkOptionalNode___closed__1; @@ -627,7 +633,6 @@ lean_object* l_Lean_Elab_Term_getTraceState___boxed(lean_object*); lean_object* l_Lean_Elab_Term_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__4; lean_object* l_Lean_Elab_Term_resettingSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__2; lean_object* l_Lean_Elab_Term_resolveName___closed__2; lean_object* l___private_Init_Data_Array_Basic_3__iterateRevMAux___main___at_Lean_Elab_Term_elabListLit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); @@ -637,10 +642,8 @@ lean_object* l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; lean_object* l_Lean_Elab_Term_isDefEq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_decLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getLCtx___boxed(lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Parser_Parser_8__throwParserCategoryAlreadyDefined___rarg___closed__2; lean_object* l_Lean_Elab_Term_mkFreshLevelMVar___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4; lean_object* l_Lean_Elab_Term_ppGoal(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setTraceState(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostpone(lean_object*, lean_object*); @@ -667,8 +670,6 @@ uint8_t l_Lean_LocalInstance_beq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withNode___rarg___closed__3; lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__4; extern lean_object* l_Lean_Meta_resettingSynthInstanceCache___rarg___closed__1; -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__3; -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__7; lean_object* l_Lean_MetavarContext_getDecl(lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resetSynthInstanceCache___boxed(lean_object*); @@ -686,7 +687,6 @@ lean_object* l_Lean_Elab_Term_getMCtx___boxed(lean_object*); lean_object* l_Lean_Elab_Term_applyResult(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toStringWithSep___main(lean_object*, lean_object*); extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__1; -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__1; lean_object* l_Lean_SMap_empty___at_Lean_Elab_Term_mkBuiltinTermElabTable___spec__1; lean_object* lean_usize_to_nat(size_t); @@ -702,9 +702,11 @@ lean_object* l_Lean_Elab_Term_trace(lean_object*, lean_object*, lean_object*, le lean_object* l_AssocList_contains___main___at_Lean_Elab_Term_addBuiltinTermElab___spec__3___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkFreshInstanceName___boxed(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabChar___closed__1; +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerBuiltinTermElabAttr___closed__1; lean_object* l_Lean_Elab_Term_resolveName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__6; +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1; lean_object* l_Lean_Elab_Term_resolveName___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__2; lean_object* l_IO_ofExcept___at___private_Init_Lean_Elab_Util_6__ElabAttribute_add___spec__1(lean_object*, lean_object*); @@ -713,10 +715,11 @@ lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_registerSyntheticMVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar___boxed(lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* lean_uint32_to_nat(uint32_t); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabBadCDot___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabNum___closed__3; +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5; extern lean_object* l_Lean_PersistentEnvExtension_inhabited___rarg___closed__4; extern lean_object* l_Lean_initAttr; extern lean_object* l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; @@ -727,23 +730,19 @@ lean_object* l_Lean_Elab_Term_elabArrayLit___closed__5; lean_object* l_Lean_Elab_mkMessageAt___at_Lean_Elab_Term_throwError___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_Lean_Elab_syntaxNodeKindOfAttrParam(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalNameAux___main(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog; lean_object* l_Lean_Elab_Term_getMCtx___rarg(lean_object*); extern lean_object* l_Lean_mkAppStx___closed__1; lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_PersistentArray_foldlM___at___private_Init_Lean_Elab_Term_3__fromMetaState___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___closed__4; -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayLit___closed__7; +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkTermElabAttribute___closed__1; lean_object* l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_Term_15__mkConsts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isSort(lean_object*); lean_object* l_Lean_Meta_decLevel_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_monadLog___lambda__2(lean_object*, lean_object*, lean_object*); @@ -9556,7 +9555,7 @@ lean_dec(x_1); return x_2; } } -uint8_t _init_l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1() { +uint8_t _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__1() { _start: { uint8_t x_1; uint8_t x_2; @@ -9565,149 +9564,70 @@ x_2 = l_coeDecidableEq(x_1); return x_2; } } -uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main(lean_object* x_1) { +uint8_t _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__2() { _start: { -uint8_t x_2; lean_object* x_30; uint8_t x_31; -x_30 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; -lean_inc(x_1); -x_31 = l_Lean_Syntax_isOfKind(x_1, x_30); -if (x_31 == 0) +uint8_t x_1; +x_1 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_1 == 0) { -uint8_t x_32; -x_32 = 0; -x_2 = x_32; -goto block_29; +uint8_t x_2; +x_2 = 0; +return x_2; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_33 = l_Lean_Syntax_getArgs(x_1); -x_34 = lean_array_get_size(x_33); -lean_dec(x_33); -x_35 = lean_unsigned_to_nat(1u); -x_36 = lean_nat_dec_eq(x_34, x_35); -lean_dec(x_34); -x_2 = x_36; -goto block_29; -} -block_29: -{ uint8_t x_3; -x_3 = l_coeDecidableEq(x_2); -if (x_3 == 0) -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_inc(x_1); -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; -if (x_6 == 0) -{ -uint8_t x_7; -lean_dec(x_1); -x_7 = 0; -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = lean_unsigned_to_nat(1u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -lean_dec(x_1); -x_12 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_9); -if (x_12 == 0) -{ -x_1 = x_11; -goto _start; -} -else -{ -uint8_t x_14; -lean_dec(x_11); -x_14 = 1; -return x_14; -} -} -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; -x_15 = l_Lean_Syntax_getArgs(x_1); -x_16 = lean_array_get_size(x_15); -lean_dec(x_15); -x_17 = lean_unsigned_to_nat(2u); -x_18 = lean_nat_dec_eq(x_16, x_17); -lean_dec(x_16); -x_19 = l_coeDecidableEq(x_18); -if (x_19 == 0) -{ -uint8_t x_20; -lean_dec(x_1); -x_20 = 0; -return x_20; -} -else -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_21 = lean_unsigned_to_nat(0u); -x_22 = l_Lean_Syntax_getArg(x_1, x_21); -x_23 = lean_unsigned_to_nat(1u); -x_24 = l_Lean_Syntax_getArg(x_1, x_23); -lean_dec(x_1); -x_25 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_22); -if (x_25 == 0) -{ -x_1 = x_24; -goto _start; -} -else -{ -uint8_t x_27; -lean_dec(x_24); -x_27 = 1; -return x_27; -} -} -} -} -else -{ -uint8_t x_28; -lean_dec(x_1); -x_28 = 1; -return x_28; -} -} -} -} -lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___main___boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_1); -x_3 = lean_box(x_2); +x_3 = 1; return x_3; } } -uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot(lean_object* x_1) { +} +uint8_t l___private_Init_Lean_Elab_Term_4__isCDot(lean_object* x_1) { _start: { -uint8_t x_2; -x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_1); -return x_2; +lean_object* x_2; uint8_t x_3; +x_2 = l_Lean_Parser_Term_cdot___elambda__1___closed__2; +lean_inc(x_1); +x_3 = l_Lean_Syntax_isOfKind(x_1, x_2); +if (x_3 == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__2; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; uint8_t x_9; +x_5 = l_Lean_Syntax_getArgs(x_1); +lean_dec(x_1); +x_6 = lean_array_get_size(x_5); +lean_dec(x_5); +x_7 = lean_unsigned_to_nat(1u); +x_8 = lean_nat_dec_eq(x_6, x_7); +lean_dec(x_6); +x_9 = l_coeDecidableEq(x_8); +if (x_9 == 0) +{ +uint8_t x_10; +x_10 = 0; +return x_10; +} +else +{ +uint8_t x_11; +x_11 = 1; +return x_11; } } -lean_object* l___private_Init_Lean_Elab_Term_4__hasCDot___boxed(lean_object* x_1) { +} +} +lean_object* l___private_Init_Lean_Elab_Term_4__isCDot___boxed(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Term_4__hasCDot(x_1); +x_2 = l___private_Init_Lean_Elab_Term_4__isCDot(x_1); x_3 = lean_box(x_2); return x_3; } @@ -10137,170 +10057,6 @@ return x_129; } } } -lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; lean_object* x_51; uint8_t x_52; -x_51 = l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_inc(x_1); -x_52 = l_Lean_Syntax_isOfKind(x_1, x_51); -if (x_52 == 0) -{ -uint8_t x_53; -x_53 = 0; -x_5 = x_53; -goto block_50; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_54 = l_Lean_Syntax_getArgs(x_1); -x_55 = lean_array_get_size(x_54); -lean_dec(x_54); -x_56 = lean_unsigned_to_nat(2u); -x_57 = lean_nat_dec_eq(x_55, x_56); -lean_dec(x_55); -x_5 = x_57; -goto block_50; -} -block_50: -{ -uint8_t x_6; -x_6 = l_coeDecidableEq(x_5); -if (x_6 == 0) -{ -lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_2); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_4); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -lean_dec(x_1); -lean_inc(x_3); -x_13 = l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(x_10, x_2, x_3, x_4); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -lean_inc(x_3); -x_18 = l___private_Init_Lean_Elab_Term_5__expandCDot(x_12, x_17, x_3, x_15); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = !lean_is_exclusive(x_19); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; uint8_t x_24; -x_22 = lean_ctor_get(x_19, 0); -x_23 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_20); -lean_dec(x_3); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -x_26 = l_Array_empty___closed__1; -x_27 = lean_array_push(x_26, x_16); -x_28 = lean_array_push(x_27, x_22); -x_29 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_19, 0, x_30); -lean_ctor_set(x_23, 0, x_19); -return x_23; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_31 = lean_ctor_get(x_23, 1); -lean_inc(x_31); -lean_dec(x_23); -x_32 = l_Array_empty___closed__1; -x_33 = lean_array_push(x_32, x_16); -x_34 = lean_array_push(x_33, x_22); -x_35 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_19, 0, x_36); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_19); -lean_ctor_set(x_37, 1, x_31); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_38 = lean_ctor_get(x_19, 0); -x_39 = lean_ctor_get(x_19, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_19); -x_40 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_20); -lean_dec(x_3); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -if (lean_is_exclusive(x_40)) { - lean_ctor_release(x_40, 0); - lean_ctor_release(x_40, 1); - x_42 = x_40; -} else { - lean_dec_ref(x_40); - x_42 = lean_box(0); -} -x_43 = l_Array_empty___closed__1; -x_44 = lean_array_push(x_43, x_16); -x_45 = lean_array_push(x_44, x_38); -x_46 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_39); -if (lean_is_scalar(x_42)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_42; -} -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_41); -return x_49; -} -} -} -} -} -lean_object* l___private_Init_Lean_Elab_Term_6__expandCDotInApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(x_1, x_2, x_3, x_4); -return x_5; -} -} uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -10317,7 +10073,7 @@ else { lean_object* x_7; uint8_t x_8; x_7 = lean_array_fget(x_2, x_4); -x_8 = l___private_Init_Lean_Elab_Term_4__hasCDot___main(x_7); +x_8 = l___private_Init_Lean_Elab_Term_4__isCDot(x_7); if (x_8 == 0) { lean_object* x_9; lean_object* x_10; @@ -10391,6 +10147,40 @@ goto _start; } } } +uint8_t l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +uint8_t x_6; +lean_dec(x_4); +x_6 = 0; +return x_6; +} +else +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_fget(x_2, x_4); +x_8 = l___private_Init_Lean_Elab_Term_4__isCDot(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_add(x_4, x_9); +lean_dec(x_4); +x_4 = x_10; +goto _start; +} +else +{ +lean_dec(x_4); +return x_8; +} +} +} +} lean_object* _init_l_Lean_Elab_Term_expandCDot_x3f___closed__1() { _start: { @@ -10428,323 +10218,352 @@ return x_3; lean_object* l_Lean_Elab_Term_expandCDot_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { +uint8_t x_4; lean_object* x_133; uint8_t x_134; +x_133 = l_Lean_Parser_Term_app___elambda__1___closed__2; +lean_inc(x_1); +x_134 = l_Lean_Syntax_isOfKind(x_1, x_133); +if (x_134 == 0) +{ +uint8_t x_135; +x_135 = 0; +x_4 = x_135; +goto block_132; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; +x_136 = l_Lean_Syntax_getArgs(x_1); +x_137 = lean_array_get_size(x_136); +lean_dec(x_136); +x_138 = lean_unsigned_to_nat(2u); +x_139 = lean_nat_dec_eq(x_137, x_138); +lean_dec(x_137); +x_4 = x_139; +goto block_132; +} +block_132: +{ +uint8_t x_5; +x_5 = l_coeDecidableEq(x_4); +if (x_5 == 0) +{ if (lean_obj_tag(x_1) == 1) { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_array_get_size(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_5, x_5, x_6, x_7); -lean_dec(x_6); -if (x_8 == 0) +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) { -lean_object* x_9; lean_object* x_10; -lean_dec(x_5); -lean_dec(x_4); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 1); +x_9 = lean_array_get_size(x_8); +x_10 = lean_unsigned_to_nat(0u); +x_11 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_8, x_8, x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_free_object(x_1); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_2); -lean_dec(x_1); -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_3); -return x_10; +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; } else { -lean_object* x_11; uint8_t x_12; -x_11 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_12 = lean_name_eq(x_4, x_11); -if (x_12 == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_1); -if (x_13 == 0) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_14 = lean_ctor_get(x_1, 1); -lean_dec(x_14); -x_15 = lean_ctor_get(x_1, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_14 = l_Array_empty___closed__1; +lean_inc(x_2); +x_15 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_10, x_8, x_14, x_2, x_3); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); lean_dec(x_15); -x_16 = l_Array_empty___closed__1; -lean_inc(x_2); -x_17 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_7, x_5, x_16, x_2, x_3); -x_18 = lean_ctor_get(x_17, 0); +x_18 = lean_ctor_get(x_16, 0); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +x_19 = lean_ctor_get(x_16, 1); lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_ctor_get(x_18, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -lean_ctor_set(x_1, 1, x_20); -x_22 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_19); +lean_dec(x_16); +lean_ctor_set(x_1, 1, x_18); +x_20 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_17); lean_dec(x_2); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -x_25 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_21, x_21, x_7, x_16); -lean_dec(x_21); -x_26 = l_Lean_nullKind___closed__2; -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -x_28 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_29 = lean_array_push(x_28, x_27); -x_30 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_31 = lean_array_push(x_29, x_30); -x_32 = lean_array_push(x_31, x_1); -x_33 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_32); -x_35 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_22, 0, x_35); -return x_22; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_36 = lean_ctor_get(x_22, 1); -lean_inc(x_36); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_22 = lean_ctor_get(x_20, 0); lean_dec(x_22); -x_37 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_21, x_21, x_7, x_16); -lean_dec(x_21); -x_38 = l_Lean_nullKind___closed__2; -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_41 = lean_array_push(x_40, x_39); -x_42 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_43 = lean_array_push(x_41, x_42); -x_44 = lean_array_push(x_43, x_1); -x_45 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_46 = lean_alloc_ctor(1, 2, 0); +x_23 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_19, x_19, x_10, x_14); +lean_dec(x_19); +x_24 = l_Lean_nullKind___closed__2; +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +x_26 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_27 = lean_array_push(x_26, x_25); +x_28 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_29 = lean_array_push(x_27, x_28); +x_30 = lean_array_push(x_29, x_1); +x_31 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_20, 0, x_33); +return x_20; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_34 = lean_ctor_get(x_20, 1); +lean_inc(x_34); +lean_dec(x_20); +x_35 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_19, x_19, x_10, x_14); +lean_dec(x_19); +x_36 = l_Lean_nullKind___closed__2; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_39 = lean_array_push(x_38, x_37); +x_40 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_41 = lean_array_push(x_39, x_40); +x_42 = lean_array_push(x_41, x_1); +x_43 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_44); -x_47 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_36); -return x_48; +lean_ctor_set(x_46, 1, x_34); +return x_46; +} } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_47 = lean_ctor_get(x_1, 0); +x_48 = lean_ctor_get(x_1, 1); +lean_inc(x_48); +lean_inc(x_47); lean_dec(x_1); -x_49 = l_Array_empty___closed__1; -lean_inc(x_2); -x_50 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_7, x_5, x_49, x_2, x_3); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_51, 1); -lean_inc(x_54); -lean_dec(x_51); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_4); -lean_ctor_set(x_55, 1, x_53); -x_56 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_52); +x_49 = lean_array_get_size(x_48); +x_50 = lean_unsigned_to_nat(0u); +x_51 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__1(x_48, x_48, x_49, x_50); +lean_dec(x_49); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +lean_dec(x_48); +lean_dec(x_47); lean_dec(x_2); -x_57 = lean_ctor_get(x_56, 1); +x_52 = lean_box(0); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_3); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_54 = l_Array_empty___closed__1; +lean_inc(x_2); +x_55 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_50, x_48, x_54, x_2, x_3); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); lean_inc(x_57); -if (lean_is_exclusive(x_56)) { - lean_ctor_release(x_56, 0); - lean_ctor_release(x_56, 1); - x_58 = x_56; +lean_dec(x_55); +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_58); +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_dec(x_56); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_47); +lean_ctor_set(x_60, 1, x_58); +x_61 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_57); +lean_dec(x_2); +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_63 = x_61; } else { - lean_dec_ref(x_56); - x_58 = lean_box(0); + lean_dec_ref(x_61); + x_63 = lean_box(0); } -x_59 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_54, x_54, x_7, x_49); -lean_dec(x_54); -x_60 = l_Lean_nullKind___closed__2; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_63 = lean_array_push(x_62, x_61); -x_64 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_65 = lean_array_push(x_63, x_64); -x_66 = lean_array_push(x_65, x_55); -x_67 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_69, 0, x_68); -if (lean_is_scalar(x_58)) { - x_70 = lean_alloc_ctor(0, 2, 0); +x_64 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_59, x_59, x_50, x_54); +lean_dec(x_59); +x_65 = l_Lean_nullKind___closed__2; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_68 = lean_array_push(x_67, x_66); +x_69 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_70 = lean_array_push(x_68, x_69); +x_71 = lean_array_push(x_70, x_60); +x_72 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_73); +if (lean_is_scalar(x_63)) { + x_75 = lean_alloc_ctor(0, 2, 0); } else { - x_70 = x_58; + x_75 = x_63; +} +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_62); +return x_75; } -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_57); -return x_70; } } else { -lean_object* x_71; lean_object* x_72; uint8_t x_73; -lean_dec(x_5); -lean_dec(x_4); -x_71 = l_Array_empty___closed__1; -lean_inc(x_2); -lean_inc(x_1); -x_72 = l___private_Init_Lean_Elab_Term_6__expandCDotInApp___main(x_1, x_71, x_2, x_3); -x_73 = !lean_is_exclusive(x_1); -if (x_73 == 0) -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_74 = lean_ctor_get(x_1, 1); -lean_dec(x_74); -x_75 = lean_ctor_get(x_1, 0); -lean_dec(x_75); -x_76 = lean_ctor_get(x_72, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_72, 1); -lean_inc(x_77); -lean_dec(x_72); -x_78 = lean_ctor_get(x_76, 0); -lean_inc(x_78); -x_79 = lean_ctor_get(x_76, 1); -lean_inc(x_79); -lean_dec(x_76); -x_80 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_77); +lean_object* x_76; lean_object* x_77; lean_dec(x_2); -x_81 = !lean_is_exclusive(x_80); -if (x_81 == 0) +lean_dec(x_1); +x_76 = lean_box(0); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_3); +return x_77; +} +} +else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_82 = lean_ctor_get(x_80, 0); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_78 = lean_unsigned_to_nat(0u); +x_79 = l_Lean_Syntax_getArg(x_1, x_78); +x_80 = lean_unsigned_to_nat(1u); +x_81 = l_Lean_Syntax_getArg(x_1, x_80); +x_82 = l_Lean_Syntax_getArgs(x_81); +lean_dec(x_81); +x_83 = lean_array_get_size(x_82); +x_84 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(x_1, x_82, x_83, x_78); +lean_dec(x_83); +lean_dec(x_1); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_dec(x_82); -x_83 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_79, x_79, x_7, x_71); lean_dec(x_79); -x_84 = l_Lean_nullKind___closed__2; -lean_ctor_set(x_1, 1, x_83); -lean_ctor_set(x_1, 0, x_84); -x_85 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_86 = lean_array_push(x_85, x_1); -x_87 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_88 = lean_array_push(x_86, x_87); -x_89 = lean_array_push(x_88, x_78); -x_90 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_89); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_80, 0, x_92); -return x_80; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_93 = lean_ctor_get(x_80, 1); -lean_inc(x_93); -lean_dec(x_80); -x_94 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_79, x_79, x_7, x_71); -lean_dec(x_79); -x_95 = l_Lean_nullKind___closed__2; -lean_ctor_set(x_1, 1, x_94); -lean_ctor_set(x_1, 0, x_95); -x_96 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_97 = lean_array_push(x_96, x_1); -x_98 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_99 = lean_array_push(x_97, x_98); -x_100 = lean_array_push(x_99, x_78); -x_101 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_100); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_102); -x_104 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_93); -return x_104; -} -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -lean_dec(x_1); -x_105 = lean_ctor_get(x_72, 0); -lean_inc(x_105); -x_106 = lean_ctor_get(x_72, 1); -lean_inc(x_106); -lean_dec(x_72); -x_107 = lean_ctor_get(x_105, 0); -lean_inc(x_107); -x_108 = lean_ctor_get(x_105, 1); -lean_inc(x_108); -lean_dec(x_105); -x_109 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_106); lean_dec(x_2); -x_110 = lean_ctor_get(x_109, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_109)) { - lean_ctor_release(x_109, 0); - lean_ctor_release(x_109, 1); - x_111 = x_109; -} else { - lean_dec_ref(x_109); - x_111 = lean_box(0); -} -x_112 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_108, x_108, x_7, x_71); -lean_dec(x_108); -x_113 = l_Lean_nullKind___closed__2; -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_112); -x_115 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; -x_116 = lean_array_push(x_115, x_114); -x_117 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; -x_118 = lean_array_push(x_116, x_117); -x_119 = lean_array_push(x_118, x_107); -x_120 = l_Lean_Parser_Term_fun___elambda__1___closed__2; -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_119); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_121); -if (lean_is_scalar(x_111)) { - x_123 = lean_alloc_ctor(0, 2, 0); -} else { - x_123 = x_111; -} -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_110); -return x_123; -} -} -} +x_85 = lean_box(0); +x_86 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_3); +return x_86; } else { -lean_object* x_124; lean_object* x_125; +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; +x_87 = l_Array_empty___closed__1; +lean_inc(x_2); +x_88 = l_Array_umapMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__2(x_78, x_82, x_87, x_2, x_3); +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +lean_dec(x_88); +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +x_92 = lean_ctor_get(x_89, 1); +lean_inc(x_92); +lean_dec(x_89); +x_93 = l_Lean_Elab_Term_getCurrMacroScope(x_2, x_90); lean_dec(x_2); -lean_dec(x_1); -x_124 = lean_box(0); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_3); -return x_125; +x_94 = !lean_is_exclusive(x_93); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_95 = lean_ctor_get(x_93, 0); +lean_dec(x_95); +x_96 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_92, x_92, x_78, x_87); +lean_dec(x_92); +x_97 = l_Lean_nullKind___closed__2; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_100 = lean_array_push(x_99, x_98); +x_101 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_102 = lean_array_push(x_100, x_101); +x_103 = lean_array_push(x_87, x_79); +x_104 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_91, x_91, x_78, x_87); +lean_dec(x_91); +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_97); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_array_push(x_103, x_105); +x_107 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = lean_array_push(x_102, x_108); +x_110 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_93, 0, x_112); +return x_93; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; +x_113 = lean_ctor_get(x_93, 1); +lean_inc(x_113); +lean_dec(x_93); +x_114 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_92, x_92, x_78, x_87); +lean_dec(x_92); +x_115 = l_Lean_nullKind___closed__2; +x_116 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_114); +x_117 = l_Lean_Elab_Term_expandCDot_x3f___closed__2; +x_118 = lean_array_push(x_117, x_116); +x_119 = l_Lean_Elab_Term_expandCDot_x3f___closed__3; +x_120 = lean_array_push(x_118, x_119); +x_121 = lean_array_push(x_87, x_79); +x_122 = l_Array_iterateMAux___main___at_Array_append___spec__1___rarg(x_91, x_91, x_78, x_87); +lean_dec(x_91); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_115); +lean_ctor_set(x_123, 1, x_122); +x_124 = lean_array_push(x_121, x_123); +x_125 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_124); +x_127 = lean_array_push(x_120, x_126); +x_128 = l_Lean_Parser_Term_fun___elambda__1___closed__2; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_127); +x_130 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_130, 0, x_129); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_113); +return x_131; +} +} +} } } } @@ -10760,7 +10579,19 @@ x_6 = lean_box(x_5); return x_6; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1() { +lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = l_Array_anyRangeMAux___main___at_Lean_Elab_Term_expandCDot_x3f___spec__3(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* _init_l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -10770,27 +10601,27 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1; x_2 = l_Bool_HasRepr___closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2; +x_2 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__2; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; @@ -10840,7 +10671,7 @@ lean_ctor_set(x_13, 0, x_10); lean_ctor_set(x_13, 1, x_12); x_14 = l_Lean_Expr_hasSorry___main___closed__1; x_15 = l_Lean_mkConst(x_14, x_13); -x_16 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3; +x_16 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__3; x_17 = l_Lean_mkAppB(x_15, x_6, x_16); x_18 = lean_ctor_get(x_2, 4); lean_inc(x_18); @@ -10909,7 +10740,7 @@ lean_ctor_set(x_34, 0, x_31); lean_ctor_set(x_34, 1, x_33); x_35 = l_Lean_Expr_hasSorry___main___closed__1; x_36 = l_Lean_mkConst(x_35, x_34); -x_37 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3; +x_37 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__3; x_38 = l_Lean_mkAppB(x_36, x_6, x_37); x_39 = lean_ctor_get(x_2, 4); lean_inc(x_39); @@ -10997,11 +10828,11 @@ return x_55; } } } -lean_object* l___private_Init_Lean_Elab_Term_7__exceptionToSorry___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_6__exceptionToSorry___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -11102,7 +10933,7 @@ lean_dec(x_1); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1() { _start: { lean_object* x_1; @@ -11110,17 +10941,17 @@ x_1 = lean_mk_string("postpone"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; -x_2 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1; +x_2 = l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_8__postponeElabTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_7__postponeElabTerm(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; @@ -11130,7 +10961,7 @@ lean_inc(x_21); x_22 = lean_ctor_get(x_20, 1); lean_inc(x_22); lean_dec(x_20); -x_23 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2; +x_23 = l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__2; x_24 = l_Lean_checkTraceOption(x_21, x_23); lean_dec(x_21); if (x_24 == 0) @@ -11222,7 +11053,7 @@ return x_18; } } } -lean_object* _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__1() { _start: { lean_object* x_1; @@ -11230,27 +11061,27 @@ x_1 = lean_mk_string("unexpected syntax"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2; +x_1 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_6) == 0) @@ -11270,7 +11101,7 @@ x_13 = lean_unsigned_to_nat(2u); x_14 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_14, 0, x_13); lean_ctor_set(x_14, 1, x_12); -x_15 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3; +x_15 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3; x_16 = lean_alloc_ctor(9, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); @@ -11350,7 +11181,7 @@ lean_dec(x_20); x_28 = lean_ctor_get(x_22, 0); lean_inc(x_28); lean_dec(x_22); -x_29 = l___private_Init_Lean_Elab_Term_7__exceptionToSorry(x_2, x_28, x_3, x_7, x_27); +x_29 = l___private_Init_Lean_Elab_Term_6__exceptionToSorry(x_2, x_28, x_3, x_7, x_27); lean_dec(x_2); return x_29; } @@ -11403,7 +11234,7 @@ else { lean_object* x_35; lean_dec(x_20); -x_35 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm(x_2, x_3, x_7, x_1); +x_35 = l___private_Init_Lean_Elab_Term_7__postponeElabTerm(x_2, x_3, x_7, x_1); return x_35; } } @@ -11411,7 +11242,7 @@ return x_35; } } } -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; uint8_t x_10; lean_object* x_11; @@ -11419,19 +11250,19 @@ x_9 = lean_unbox(x_4); lean_dec(x_4); x_10 = lean_unbox(x_5); lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); +x_11 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); return x_11; } } -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_9; } } -lean_object* l___private_Init_Lean_Elab_Term_9__elabTermUsing___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Init_Lean_Elab_Term_8__elabTermUsing___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; uint8_t x_10; lean_object* x_11; @@ -11439,7 +11270,7 @@ x_9 = lean_unbox(x_4); lean_dec(x_4); x_10 = lean_unbox(x_5); lean_dec(x_5); -x_11 = l___private_Init_Lean_Elab_Term_9__elabTermUsing(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); +x_11 = l___private_Init_Lean_Elab_Term_8__elabTermUsing(x_1, x_2, x_3, x_9, x_10, x_6, x_7, x_8); return x_11; } } @@ -12033,7 +11864,7 @@ x_61 = lean_ctor_get(x_40, 0); lean_inc(x_61); lean_dec(x_40); lean_inc(x_32); -x_62 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_32, x_4, x_1, x_3, x_2, x_61, x_31, x_32); +x_62 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_32, x_4, x_1, x_3, x_2, x_61, x_31, x_32); return x_62; } } @@ -12317,7 +12148,7 @@ x_129 = lean_ctor_get(x_108, 0); lean_inc(x_129); lean_dec(x_108); lean_inc(x_100); -x_130 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_100, x_4, x_1, x_3, x_2, x_129, x_99, x_100); +x_130 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_100, x_4, x_1, x_3, x_2, x_129, x_99, x_100); return x_130; } } @@ -12659,7 +12490,7 @@ x_209 = lean_ctor_get(x_188, 0); lean_inc(x_209); lean_dec(x_188); lean_inc(x_180); -x_210 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_180, x_4, x_1, x_3, x_2, x_209, x_179, x_180); +x_210 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_180, x_4, x_1, x_3, x_2, x_209, x_179, x_180); return x_210; } } @@ -13043,7 +12874,7 @@ x_299 = lean_ctor_get(x_278, 0); lean_inc(x_299); lean_dec(x_278); lean_inc(x_270); -x_300 = l___private_Init_Lean_Elab_Term_9__elabTermUsing___main(x_270, x_4, x_1, x_3, x_2, x_299, x_269, x_270); +x_300 = l___private_Init_Lean_Elab_Term_8__elabTermUsing___main(x_270, x_4, x_1, x_3, x_2, x_299, x_269, x_270); return x_300; } } @@ -17461,7 +17292,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1() { _start: { lean_object* x_1; @@ -17469,22 +17300,22 @@ x_1 = lean_mk_string("Prod.mk"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__2() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__3() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1; +x_1 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__2; +x_3 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -17492,7 +17323,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4() { _start: { lean_object* x_1; @@ -17500,17 +17331,17 @@ x_1 = lean_mk_string("Prod"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4; +x_2 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6() { _start: { lean_object* x_1; @@ -17518,41 +17349,41 @@ x_1 = lean_mk_string("mk"); return x_1; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__7() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5; -x_2 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6; +x_1 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5; +x_2 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__8() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__7; +x_2 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__9() { +lean_object* _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__8; +x_2 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -17569,7 +17400,7 @@ return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_9 = lean_unsigned_to_nat(1u); x_10 = lean_nat_sub(x_2, x_9); lean_dec(x_2); @@ -17582,10 +17413,10 @@ x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); x_16 = lean_box(0); -x_17 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__7; +x_17 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7; x_18 = lean_name_mk_numeral(x_17, x_14); -x_19 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__3; -x_20 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__9; +x_19 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__3; +x_20 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_16); lean_ctor_set(x_21, 1, x_19); @@ -17600,46 +17431,47 @@ x_27 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); x_28 = lean_array_push(x_22, x_27); -x_29 = lean_array_push(x_28, x_12); -x_30 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = lean_array_push(x_22, x_31); -x_33 = lean_array_push(x_32, x_3); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_30); -lean_ctor_set(x_34, 1, x_33); +x_29 = lean_array_push(x_22, x_12); +x_30 = lean_array_push(x_29, x_3); +x_31 = l_Lean_nullKind___closed__2; +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_array_push(x_28, x_32); +x_34 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_33); x_2 = x_10; -x_3 = x_34; +x_3 = x_35; x_5 = x_15; goto _start; } } } -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main(x_1, x_2, x_3, x_4, x_5); return x_6; } } -lean_object* l___private_Init_Lean_Elab_Term_10__mkPairsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_9__mkPairsAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_10__mkPairsAux(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_9__mkPairsAux(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_1); return x_6; @@ -17654,7 +17486,7 @@ x_5 = lean_unsigned_to_nat(1u); x_6 = lean_nat_sub(x_4, x_5); lean_dec(x_4); x_7 = l_Array_back___at___private_Init_Lean_Parser_Parser_6__updateCache___spec__1(x_1); -x_8 = l___private_Init_Lean_Elab_Term_10__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); +x_8 = l___private_Init_Lean_Elab_Term_9__mkPairsAux___main(x_1, x_6, x_7, x_2, x_3); return x_8; } } @@ -17668,7 +17500,7 @@ lean_dec(x_1); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Term_11__elabCDot(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_10__elabCDot(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; @@ -17862,7 +17694,7 @@ x_118 = l_Lean_Syntax_isOfKind(x_10, x_117); if (x_118 == 0) { uint8_t x_119; -x_119 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_119 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_119 == 0) { uint8_t x_120; @@ -17969,7 +17801,7 @@ if (x_19 == 0) { uint8_t x_22; lean_dec(x_17); -x_22 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_22 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_22 == 0) { lean_object* x_23; lean_object* x_24; @@ -17984,7 +17816,7 @@ else { lean_object* x_25; lean_dec(x_1); -x_25 = l___private_Init_Lean_Elab_Term_11__elabCDot(x_16, x_2, x_3, x_4); +x_25 = l___private_Init_Lean_Elab_Term_10__elabCDot(x_16, x_2, x_3, x_4); return x_25; } } @@ -18012,7 +17844,7 @@ else { lean_object* x_32; lean_dec(x_1); -x_32 = l___private_Init_Lean_Elab_Term_11__elabCDot(x_16, x_2, x_3, x_4); +x_32 = l___private_Init_Lean_Elab_Term_10__elabCDot(x_16, x_2, x_3, x_4); return x_32; } } @@ -18190,7 +18022,7 @@ x_83 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_83, 0, x_81); lean_inc(x_3); lean_inc(x_83); -x_84 = l___private_Init_Lean_Elab_Term_11__elabCDot(x_16, x_83, x_3, x_82); +x_84 = l___private_Init_Lean_Elab_Term_10__elabCDot(x_16, x_83, x_3, x_82); if (lean_obj_tag(x_84) == 0) { lean_object* x_85; lean_object* x_86; lean_object* x_87; @@ -18639,30 +18471,30 @@ return x_3; lean_object* l_Lean_Elab_Term_elabArrayLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_5; lean_object* x_62; uint8_t x_63; -x_62 = l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; +uint8_t x_5; lean_object* x_64; uint8_t x_65; +x_64 = l_Lean_Parser_Term_arrayLit___elambda__1___closed__2; lean_inc(x_1); -x_63 = l_Lean_Syntax_isOfKind(x_1, x_62); -if (x_63 == 0) +x_65 = l_Lean_Syntax_isOfKind(x_1, x_64); +if (x_65 == 0) { -uint8_t x_64; -x_64 = 0; -x_5 = x_64; -goto block_61; +uint8_t x_66; +x_66 = 0; +x_5 = x_66; +goto block_63; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; -x_65 = l_Lean_Syntax_getArgs(x_1); -x_66 = lean_array_get_size(x_65); -lean_dec(x_65); -x_67 = lean_unsigned_to_nat(3u); -x_68 = lean_nat_dec_eq(x_66, x_67); -lean_dec(x_66); -x_5 = x_68; -goto block_61; +lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; +x_67 = l_Lean_Syntax_getArgs(x_1); +x_68 = lean_array_get_size(x_67); +lean_dec(x_67); +x_69 = lean_unsigned_to_nat(3u); +x_70 = lean_nat_dec_eq(x_68, x_69); +lean_dec(x_68); +x_5 = x_70; +goto block_63; } -block_61: +block_63: { uint8_t x_6; x_6 = l_coeDecidableEq(x_5); @@ -18677,7 +18509,7 @@ return x_8; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; x_9 = lean_unsigned_to_nat(1u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); x_11 = l_Lean_Syntax_getArgs(x_10); @@ -18722,38 +18554,44 @@ x_36 = l_Lean_Parser_Term_listLit___elambda__1___closed__2; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = lean_array_push(x_27, x_37); -x_39 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_38); -x_41 = !lean_is_exclusive(x_3); -if (x_41 == 0) +x_38 = lean_array_push(x_21, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_30); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_array_push(x_27, x_39); +x_41 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_40); +x_43 = !lean_is_exclusive(x_3); +if (x_43 == 0) { -lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; -x_42 = lean_ctor_get(x_3, 8); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_1); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_3, 8, x_43); -x_44 = 1; -x_45 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_44, x_44, x_40, x_3, x_14); -return x_45; +lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; +x_44 = lean_ctor_get(x_3, 8); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_1); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_3, 8, x_45); +x_46 = 1; +x_47 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_46, x_46, x_42, x_3, x_14); +return x_47; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; lean_object* x_60; -x_46 = lean_ctor_get(x_3, 0); -x_47 = lean_ctor_get(x_3, 1); -x_48 = lean_ctor_get(x_3, 2); -x_49 = lean_ctor_get(x_3, 3); -x_50 = lean_ctor_get(x_3, 4); -x_51 = lean_ctor_get(x_3, 5); -x_52 = lean_ctor_get(x_3, 6); -x_53 = lean_ctor_get(x_3, 7); -x_54 = lean_ctor_get(x_3, 8); -x_55 = lean_ctor_get(x_3, 9); -x_56 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; lean_object* x_62; +x_48 = lean_ctor_get(x_3, 0); +x_49 = lean_ctor_get(x_3, 1); +x_50 = lean_ctor_get(x_3, 2); +x_51 = lean_ctor_get(x_3, 3); +x_52 = lean_ctor_get(x_3, 4); +x_53 = lean_ctor_get(x_3, 5); +x_54 = lean_ctor_get(x_3, 6); +x_55 = lean_ctor_get(x_3, 7); +x_56 = lean_ctor_get(x_3, 8); +x_57 = lean_ctor_get(x_3, 9); +x_58 = lean_ctor_get_uint8(x_3, sizeof(void*)*10); +lean_inc(x_57); +lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); @@ -18762,27 +18600,25 @@ lean_inc(x_51); lean_inc(x_50); lean_inc(x_49); lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_46); lean_dec(x_3); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_1); -lean_ctor_set(x_57, 1, x_54); -x_58 = lean_alloc_ctor(0, 10, 1); -lean_ctor_set(x_58, 0, x_46); -lean_ctor_set(x_58, 1, x_47); -lean_ctor_set(x_58, 2, x_48); -lean_ctor_set(x_58, 3, x_49); -lean_ctor_set(x_58, 4, x_50); -lean_ctor_set(x_58, 5, x_51); -lean_ctor_set(x_58, 6, x_52); -lean_ctor_set(x_58, 7, x_53); -lean_ctor_set(x_58, 8, x_57); -lean_ctor_set(x_58, 9, x_55); -lean_ctor_set_uint8(x_58, sizeof(void*)*10, x_56); -x_59 = 1; -x_60 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_59, x_59, x_40, x_58, x_14); -return x_60; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_1); +lean_ctor_set(x_59, 1, x_56); +x_60 = lean_alloc_ctor(0, 10, 1); +lean_ctor_set(x_60, 0, x_48); +lean_ctor_set(x_60, 1, x_49); +lean_ctor_set(x_60, 2, x_50); +lean_ctor_set(x_60, 3, x_51); +lean_ctor_set(x_60, 4, x_52); +lean_ctor_set(x_60, 5, x_53); +lean_ctor_set(x_60, 6, x_54); +lean_ctor_set(x_60, 7, x_55); +lean_ctor_set(x_60, 8, x_59); +lean_ctor_set(x_60, 9, x_57); +lean_ctor_set_uint8(x_60, sizeof(void*)*10, x_58); +x_61 = 1; +x_62 = l_Lean_Elab_Term_elabTermAux___main(x_2, x_61, x_61, x_42, x_60, x_14); +return x_62; } } } @@ -18825,7 +18661,7 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -18895,15 +18731,15 @@ return x_17; } } } -lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_12__resolveLocalNameAux___main(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux___main(x_1, x_2, x_3); return x_4; } } -lean_object* l___private_Init_Lean_Elab_Term_13__resolveLocalName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalName(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; @@ -18914,7 +18750,7 @@ if (x_5 == 0) lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); x_7 = lean_box(0); -x_8 = l___private_Init_Lean_Elab_Term_12__resolveLocalNameAux___main(x_6, x_1, x_7); +x_8 = l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux___main(x_6, x_1, x_7); lean_ctor_set(x_4, 0, x_8); return x_4; } @@ -18927,7 +18763,7 @@ lean_inc(x_10); lean_inc(x_9); lean_dec(x_4); x_11 = lean_box(0); -x_12 = l___private_Init_Lean_Elab_Term_12__resolveLocalNameAux___main(x_9, x_1, x_11); +x_12 = l___private_Init_Lean_Elab_Term_11__resolveLocalNameAux___main(x_9, x_1, x_11); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_12); lean_ctor_set(x_13, 1, x_10); @@ -18935,16 +18771,16 @@ return x_13; } } } -lean_object* l___private_Init_Lean_Elab_Term_13__resolveLocalName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Init_Lean_Elab_Term_12__resolveLocalName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_Term_13__resolveLocalName(x_1, x_2, x_3); +x_4 = l___private_Init_Lean_Elab_Term_12__resolveLocalName(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -18983,32 +18819,32 @@ return x_16; } } } -lean_object* l___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars(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_box(0); lean_inc(x_2); -x_6 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___spec__1(x_1, x_2, x_2, x_5, x_3, x_4); +x_6 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___spec__1(x_1, x_2, x_2, x_5, x_3, x_4); lean_dec(x_2); return x_6; } } -lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Nat_foldMAux___main___at___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_2); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars(x_1, x_2, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars(x_1, x_2, x_3, x_4); lean_dec(x_1); return x_5; } @@ -19129,7 +18965,7 @@ lean_object* x_22; lean_object* x_23; uint8_t x_24; x_22 = lean_nat_sub(x_19, x_20); lean_dec(x_20); lean_dec(x_19); -x_23 = l___private_Init_Lean_Elab_Term_14__mkFreshLevelMVars(x_1, x_22, x_4, x_8); +x_23 = l___private_Init_Lean_Elab_Term_13__mkFreshLevelMVars(x_1, x_22, x_4, x_8); x_24 = !lean_is_exclusive(x_23); if (x_24 == 0) { @@ -19179,7 +19015,7 @@ lean_dec(x_1); return x_6; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_15__mkConsts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_14__mkConsts___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_4) == 0) @@ -19397,7 +19233,7 @@ return x_48; } } } -lean_object* l___private_Init_Lean_Elab_Term_15__mkConsts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_14__mkConsts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -19406,24 +19242,24 @@ x_7 = lean_ctor_get(x_6, 1); lean_inc(x_7); lean_dec(x_6); x_8 = lean_box(0); -x_9 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_15__mkConsts___spec__1(x_1, x_3, x_8, x_2, x_4, x_7); +x_9 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_14__mkConsts___spec__1(x_1, x_3, x_8, x_2, x_4, x_7); return x_9; } } -lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_15__mkConsts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_Term_14__mkConsts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; -x_7 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_15__mkConsts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_List_foldlM___main___at___private_Init_Lean_Elab_Term_14__mkConsts___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); return x_7; } } -lean_object* l___private_Init_Lean_Elab_Term_15__mkConsts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +lean_object* l___private_Init_Lean_Elab_Term_14__mkConsts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; -x_6 = l___private_Init_Lean_Elab_Term_15__mkConsts(x_1, x_2, x_3, x_4, x_5); +x_6 = l___private_Init_Lean_Elab_Term_14__mkConsts(x_1, x_2, x_3, x_4, x_5); lean_dec(x_1); return x_6; } @@ -19517,7 +19353,7 @@ _start: { lean_object* x_7; lean_object* x_8; lean_inc(x_2); -x_7 = l___private_Init_Lean_Elab_Term_13__resolveLocalName(x_2, x_5, x_6); +x_7 = l___private_Init_Lean_Elab_Term_12__resolveLocalName(x_2, x_5, x_6); x_8 = lean_ctor_get(x_7, 0); lean_inc(x_8); if (lean_obj_tag(x_8) == 0) @@ -19531,7 +19367,7 @@ if (x_10 == 0) { lean_object* x_11; lean_dec(x_2); -x_11 = l___private_Init_Lean_Elab_Term_15__mkConsts(x_1, x_3, x_4, x_5, x_9); +x_11 = l___private_Init_Lean_Elab_Term_14__mkConsts(x_1, x_3, x_4, x_5, x_9); return x_11; } else @@ -19564,7 +19400,7 @@ if (x_22 == 0) { lean_object* x_23; lean_dec(x_2); -x_23 = l___private_Init_Lean_Elab_Term_15__mkConsts(x_1, x_21, x_4, x_5, x_20); +x_23 = l___private_Init_Lean_Elab_Term_14__mkConsts(x_1, x_21, x_4, x_5, x_20); return x_23; } else @@ -20419,11 +20255,11 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l___private_Init_Lean_Elab_Term_16__regTraceClasses(lean_object* x_1) { +lean_object* l___private_Init_Lean_Elab_Term_15__regTraceClasses(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2; +x_2 = l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__2; x_3 = l_Lean_registerTraceClass(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -20685,7 +20521,8 @@ l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1 = _init_l_Lean_Elab_Term lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__1); l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2 = _init_l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkFreshInstanceName___rarg___closed__2); -l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1(); +l___private_Init_Lean_Elab_Term_4__isCDot___closed__1 = _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__1(); +l___private_Init_Lean_Elab_Term_4__isCDot___closed__2 = _init_l___private_Init_Lean_Elab_Term_4__isCDot___closed__2(); l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1(); lean_mark_persistent(l___private_Init_Lean_Elab_Term_5__expandCDot___closed__1); l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2 = _init_l___private_Init_Lean_Elab_Term_5__expandCDot___closed__2(); @@ -20700,22 +20537,22 @@ l_Lean_Elab_Term_expandCDot_x3f___closed__2 = _init_l_Lean_Elab_Term_expandCDot_ lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__2); l_Lean_Elab_Term_expandCDot_x3f___closed__3 = _init_l_Lean_Elab_Term_expandCDot_x3f___closed__3(); lean_mark_persistent(l_Lean_Elab_Term_expandCDot_x3f___closed__3); -l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1 = _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__1); -l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2 = _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__2); -l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3 = _init_l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__exceptionToSorry___closed__3); -l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1 = _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__1); -l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2 = _init_l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__postponeElabTerm___closed__2); -l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__1); -l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__2); -l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__elabTermUsing___main___closed__3); +l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1 = _init_l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__1); +l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__2 = _init_l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__2); +l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__3 = _init_l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_6__exceptionToSorry___closed__3); +l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1 = _init_l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__1); +l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__2 = _init_l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_7__postponeElabTerm___closed__2); +l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__1); +l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__2); +l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_8__elabTermUsing___main___closed__3); l_Lean_Elab_Term_elabTermAux___main___closed__1 = _init_l_Lean_Elab_Term_elabTermAux___main___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabTermAux___main___closed__1); l_Lean_Elab_Term_elabTermAux___main___closed__2 = _init_l_Lean_Elab_Term_elabTermAux___main___closed__2(); @@ -20802,24 +20639,24 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabHole___closed__3) res = l___regBuiltinTermElab_Lean_Elab_Term_elabHole(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__1); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__2(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__2); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__3(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__3); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__4); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__5); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__6); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__7 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__7(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__7); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__8 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__8(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__8); -l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__9 = _init_l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__9(); -lean_mark_persistent(l___private_Init_Lean_Elab_Term_10__mkPairsAux___main___closed__9); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__1); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__2); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__3 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__3(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__3); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__4); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__5); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__6); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__7); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__8 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__8(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__8); +l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__9 = _init_l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__9(); +lean_mark_persistent(l___private_Init_Lean_Elab_Term_9__mkPairsAux___main___closed__9); l_Lean_Elab_Term_elabParen___closed__1 = _init_l_Lean_Elab_Term_elabParen___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabParen___closed__1); l_Lean_Elab_Term_elabParen___closed__2 = _init_l_Lean_Elab_Term_elabParen___closed__2(); @@ -20993,7 +20830,7 @@ lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabChar___closed__3) res = l___regBuiltinTermElab_Lean_Elab_Term_elabChar(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l___private_Init_Lean_Elab_Term_16__regTraceClasses(lean_io_mk_world()); +res = l___private_Init_Lean_Elab_Term_15__regTraceClasses(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_mk_io_result(lean_box(0)); diff --git a/stage0/stdlib/Init/Lean/Elab/TermApp.c b/stage0/stdlib/Init/Lean/Elab/TermApp.c index ea809ee79e..877e8400f8 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermApp.c +++ b/stage0/stdlib/Init/Lean/Elab/TermApp.c @@ -52,6 +52,7 @@ extern lean_object* l_Option_get_x21___rarg___closed__3; lean_object* l___private_Init_Lean_Elab_TermApp_20__regTraceClasses(lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__2; lean_object* lean_array_fswap(lean_object*, lean_object*, lean_object*); +extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__7; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabProj___closed__3; @@ -87,13 +88,16 @@ lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_14 lean_object* l___private_Init_Lean_Elab_TermApp_13__elabAppLVals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_TermApp_10__mkBaseProjections___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_filterAux___main___at___private_Init_Lean_Elab_TermApp_15__getSuccess___spec__1(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp___closed__1; lean_object* l_Lean_Elab_Term_addNamedArg___closed__6; lean_object* l___private_Init_Lean_Elab_TermApp_13__elabAppLVals___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__16; +lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__2; lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_TermApp_14__elabAppFn___main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__14; lean_object* l___private_Init_Lean_Elab_TermApp_16__toMessageData___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_NamedArg_inhabited; extern lean_object* l___private_Init_Lean_Elab_Util_8__regTraceClasses___closed__2; @@ -101,7 +105,6 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabId___closed__3; lean_object* l___private_Init_Lean_Elab_TermApp_17__mergeFailures(lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp___main___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_foldlM___main___at___private_Init_Lean_Elab_TermApp_10__mkBaseProjections___spec__1___closed__1; @@ -124,7 +127,6 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_8__resolveLValLoop___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabArrayRef(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp___main(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_12__elabAppLValsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -166,12 +168,14 @@ lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_8__res lean_object* l___private_Init_Lean_Elab_TermApp_14__elabAppFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTermAux___main(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; lean_object* l_Lean_Elab_Term_throwError___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__12; +lean_object* l_Lean_Elab_Term_elabAtom(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_resolveName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabAppCore(lean_object*); @@ -196,6 +200,7 @@ lean_object* l_Array_forMAux___main___at___private_Init_Lean_Elab_TermApp_8__res lean_object* l_Lean_LocalDecl_toExpr(lean_object*); lean_object* l_Lean_Elab_Term_elabChoice(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp(lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2(lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__1; lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabApp(lean_object*); @@ -272,6 +277,7 @@ lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__11; lean_object* l_Lean_Elab_Term_elabExplicitUniv(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_declareBuiltinTermElab___closed__4; lean_object* l___private_Init_Lean_Elab_TermApp_11__addLValArg___main___closed__3; +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__27; lean_object* l_Lean_Elab_Term_tryPostponeIfMVar(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__9; @@ -284,6 +290,7 @@ lean_object* l___private_Init_Lean_Elab_TermApp_2__ensureArgType(lean_object*, l lean_object* l_Array_anyRangeMAux___main___at_Lean_Elab_Term_addNamedArg___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_mkOptionalNode___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__8; +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_consumeMData___main(lean_object*); lean_object* l_Lean_Elab_Term_addNamedArg___closed__1; lean_object* l___private_Init_Lean_Elab_TermApp_4__elabAppArgsAux___main___closed__4; @@ -330,7 +337,6 @@ lean_object* l___private_Init_Lean_Elab_TermApp_12__elabAppLValsAux___main___box lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabSortApp(lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_1__synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermApp_7__resolveLValAux___closed__22; -extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* l_List_map___main___at___private_Init_Lean_Elab_TermApp_14__elabAppFn___main___spec__1(lean_object*); lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_findField_x3f___main(lean_object*, lean_object*, lean_object*); @@ -6352,7 +6358,7 @@ x_172 = l_Lean_Syntax_isOfKind(x_2, x_171); if (x_172 == 0) { uint8_t x_173; -x_173 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_173 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_173 == 0) { lean_object* x_174; uint8_t x_175; @@ -8773,7 +8779,217 @@ return x_44; } } } -lean_object* _init_l___private_Init_Lean_Elab_TermApp_19__expandApp___main___closed__1() { +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_lt(x_3, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_5); +lean_dec(x_3); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_6); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = lean_array_fget(x_2, x_3); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_3, x_11); +lean_dec(x_3); +x_13 = !lean_is_exclusive(x_4); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_4, 0); +x_15 = lean_ctor_get(x_4, 1); +lean_inc(x_10); +x_16 = l_Lean_Syntax_getKind(x_10); +x_17 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_18 = lean_name_eq(x_16, x_17); +lean_dec(x_16); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_19, 0, x_10); +x_20 = lean_array_push(x_15, x_19); +lean_ctor_set(x_4, 1, x_20); +x_3 = x_12; +goto _start; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = l_Lean_Syntax_getArg(x_10, x_11); +x_23 = l_Lean_Syntax_getId(x_22); +lean_dec(x_22); +x_24 = lean_unsigned_to_nat(3u); +x_25 = l_Lean_Syntax_getArg(x_10, x_24); +x_26 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_26, 0, x_25); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_23); +lean_ctor_set(x_27, 1, x_26); +lean_inc(x_5); +x_28 = l_Lean_Elab_Term_addNamedArg(x_10, x_14, x_27, x_5, x_6); +lean_dec(x_10); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_ctor_set(x_4, 0, x_29); +x_3 = x_12; +x_6 = x_30; +goto _start; +} +else +{ +uint8_t x_32; +lean_free_object(x_4); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_5); +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) +{ +return x_28; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_28, 0); +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_28); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_36 = lean_ctor_get(x_4, 0); +x_37 = lean_ctor_get(x_4, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_4); +lean_inc(x_10); +x_38 = l_Lean_Syntax_getKind(x_10); +x_39 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; +x_40 = lean_name_eq(x_38, x_39); +lean_dec(x_38); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_10); +x_42 = lean_array_push(x_37, x_41); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_36); +lean_ctor_set(x_43, 1, x_42); +x_3 = x_12; +x_4 = x_43; +goto _start; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_45 = l_Lean_Syntax_getArg(x_10, x_11); +x_46 = l_Lean_Syntax_getId(x_45); +lean_dec(x_45); +x_47 = lean_unsigned_to_nat(3u); +x_48 = l_Lean_Syntax_getArg(x_10, x_47); +x_49 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_49, 0, x_48); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set(x_50, 1, x_49); +lean_inc(x_5); +x_51 = l_Lean_Elab_Term_addNamedArg(x_10, x_36, x_50, x_5, x_6); +lean_dec(x_10); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_51, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_37); +x_3 = x_12; +x_4 = x_54; +x_6 = x_53; +goto _start; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +lean_dec(x_37); +lean_dec(x_12); +lean_dec(x_5); +x_56 = lean_ctor_get(x_51, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_51, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_58 = x_51; +} else { + lean_dec_ref(x_51); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +} +} +} +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_3); +return x_4; +} +} +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2___rarg___boxed), 3, 0); +return x_2; +} +} +lean_object* _init_l___private_Init_Lean_Elab_TermApp_19__expandApp___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -8784,537 +9000,100 @@ lean_ctor_set(x_2, 1, x_1); return x_2; } } -lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp___main(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -uint8_t x_4; lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Parser_Term_app___elambda__1___closed__2; -lean_inc(x_1); -x_127 = l_Lean_Syntax_isOfKind(x_1, x_126); -if (x_127 == 0) -{ -uint8_t x_128; -x_128 = 0; -x_4 = x_128; -goto block_125; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; -x_129 = l_Lean_Syntax_getArgs(x_1); -x_130 = lean_array_get_size(x_129); -lean_dec(x_129); -x_131 = lean_unsigned_to_nat(2u); -x_132 = lean_nat_dec_eq(x_130, x_131); -lean_dec(x_130); -x_4 = x_132; -goto block_125; -} -block_125: -{ -uint8_t x_5; -x_5 = l_coeDecidableEq(x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_2); -x_6 = l___private_Init_Lean_Elab_TermApp_19__expandApp___main___closed__1; -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_3); -return x_8; -} -else -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_118; uint8_t x_119; -x_9 = lean_unsigned_to_nat(0u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -lean_dec(x_1); -x_118 = l_Lean_Parser_Term_namedArgument___elambda__1___closed__2; -lean_inc(x_12); -x_119 = l_Lean_Syntax_isOfKind(x_12, x_118); -if (x_119 == 0) -{ -uint8_t x_120; -x_120 = 0; -x_13 = x_120; -goto block_117; -} -else -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_121 = l_Lean_Syntax_getArgs(x_12); -x_122 = lean_array_get_size(x_121); -lean_dec(x_121); -x_123 = lean_unsigned_to_nat(5u); -x_124 = lean_nat_dec_eq(x_122, x_123); -lean_dec(x_122); -x_13 = x_124; -goto block_117; -} -block_117: -{ -uint8_t x_14; -x_14 = l_coeDecidableEq(x_13); -if (x_14 == 0) -{ -lean_object* x_15; -x_15 = l___private_Init_Lean_Elab_TermApp_19__expandApp___main(x_10, x_2, x_3); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -x_18 = !lean_is_exclusive(x_15); -if (x_18 == 0) -{ -lean_object* x_19; uint8_t x_20; -x_19 = lean_ctor_get(x_15, 0); -lean_dec(x_19); -x_20 = !lean_is_exclusive(x_16); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_16, 1); -lean_dec(x_21); -x_22 = !lean_is_exclusive(x_17); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_17, 1); -x_24 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_24, 0, x_12); -x_25 = lean_array_push(x_23, x_24); -lean_ctor_set(x_17, 1, x_25); -return x_15; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_17, 0); -x_27 = lean_ctor_get(x_17, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_17); -x_28 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_28, 0, x_12); -x_29 = lean_array_push(x_27, x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_26); -lean_ctor_set(x_30, 1, x_29); -lean_ctor_set(x_16, 1, x_30); -return x_15; -} -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_31 = lean_ctor_get(x_16, 0); -lean_inc(x_31); -lean_dec(x_16); -x_32 = lean_ctor_get(x_17, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_17, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_34 = x_17; -} else { - lean_dec_ref(x_17); - x_34 = lean_box(0); -} -x_35 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_35, 0, x_12); -x_36 = lean_array_push(x_33, x_35); -if (lean_is_scalar(x_34)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_34; -} -lean_ctor_set(x_37, 0, x_32); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_31); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_15, 0, x_38); -return x_15; -} -} -else -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_39 = lean_ctor_get(x_15, 1); -lean_inc(x_39); -lean_dec(x_15); -x_40 = lean_ctor_get(x_16, 0); -lean_inc(x_40); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - lean_ctor_release(x_16, 1); - x_41 = x_16; -} else { - lean_dec_ref(x_16); - x_41 = lean_box(0); -} -x_42 = lean_ctor_get(x_17, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_17, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - lean_ctor_release(x_17, 1); - x_44 = x_17; -} else { - lean_dec_ref(x_17); - x_44 = lean_box(0); -} -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_12); -x_46 = lean_array_push(x_43, x_45); -if (lean_is_scalar(x_44)) { - x_47 = lean_alloc_ctor(0, 2, 0); -} else { - x_47 = x_44; -} -lean_ctor_set(x_47, 0, x_42); -lean_ctor_set(x_47, 1, x_46); -if (lean_is_scalar(x_41)) { - x_48 = lean_alloc_ctor(0, 2, 0); -} else { - x_48 = x_41; -} -lean_ctor_set(x_48, 0, x_40); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_39); -return x_49; -} -} -else -{ -uint8_t x_50; -lean_dec(x_12); -x_50 = !lean_is_exclusive(x_15); -if (x_50 == 0) -{ -return x_15; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_15, 0); -x_52 = lean_ctor_get(x_15, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_15); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_54 = l_Lean_Syntax_getArg(x_12, x_11); -x_55 = lean_unsigned_to_nat(3u); -x_56 = l_Lean_Syntax_getArg(x_12, x_55); -lean_dec(x_12); -lean_inc(x_2); -x_57 = l___private_Init_Lean_Elab_TermApp_19__expandApp___main(x_10, x_2, x_3); -if (lean_obj_tag(x_57) == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -x_60 = lean_ctor_get(x_57, 1); -lean_inc(x_60); -lean_dec(x_57); -x_61 = !lean_is_exclusive(x_58); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_62 = lean_ctor_get(x_58, 0); -x_63 = lean_ctor_get(x_58, 1); -lean_dec(x_63); -x_64 = !lean_is_exclusive(x_59); -if (x_64 == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_65 = lean_ctor_get(x_59, 0); -x_66 = lean_ctor_get(x_59, 1); -x_67 = l_Lean_Syntax_getId(x_54); -x_68 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_68, 0, x_56); -x_69 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Lean_Elab_Term_addNamedArg(x_54, x_65, x_69, x_2, x_60); -lean_dec(x_54); -if (lean_obj_tag(x_70) == 0) -{ -uint8_t x_71; -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) -{ -lean_object* x_72; -x_72 = lean_ctor_get(x_70, 0); -lean_ctor_set(x_59, 0, x_72); -lean_ctor_set(x_70, 0, x_58); -return x_70; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_70, 0); -x_74 = lean_ctor_get(x_70, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_70); -lean_ctor_set(x_59, 0, x_73); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_58); -lean_ctor_set(x_75, 1, x_74); -return x_75; -} -} -else -{ -uint8_t x_76; -lean_free_object(x_59); -lean_dec(x_66); -lean_free_object(x_58); -lean_dec(x_62); -x_76 = !lean_is_exclusive(x_70); -if (x_76 == 0) -{ -return x_70; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_70, 0); -x_78 = lean_ctor_get(x_70, 1); -lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_70); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} -} -} -else -{ -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_80 = lean_ctor_get(x_59, 0); -x_81 = lean_ctor_get(x_59, 1); -lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_59); -x_82 = l_Lean_Syntax_getId(x_54); -x_83 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_83, 0, x_56); -x_84 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_Elab_Term_addNamedArg(x_54, x_80, x_84, x_2, x_60); -lean_dec(x_54); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_88 = x_85; -} else { - lean_dec_ref(x_85); - x_88 = lean_box(0); -} -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_81); -lean_ctor_set(x_58, 1, x_89); -if (lean_is_scalar(x_88)) { - x_90 = lean_alloc_ctor(0, 2, 0); -} else { - x_90 = x_88; -} -lean_ctor_set(x_90, 0, x_58); -lean_ctor_set(x_90, 1, x_87); -return x_90; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_81); -lean_free_object(x_58); -lean_dec(x_62); -x_91 = lean_ctor_get(x_85, 0); -lean_inc(x_91); -x_92 = lean_ctor_get(x_85, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_85)) { - lean_ctor_release(x_85, 0); - lean_ctor_release(x_85, 1); - x_93 = x_85; -} else { - lean_dec_ref(x_85); - x_93 = lean_box(0); -} -if (lean_is_scalar(x_93)) { - x_94 = lean_alloc_ctor(1, 2, 0); -} else { - x_94 = x_93; -} -lean_ctor_set(x_94, 0, x_91); -lean_ctor_set(x_94, 1, x_92); -return x_94; -} -} -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_95 = lean_ctor_get(x_58, 0); -lean_inc(x_95); -lean_dec(x_58); -x_96 = lean_ctor_get(x_59, 0); -lean_inc(x_96); -x_97 = lean_ctor_get(x_59, 1); -lean_inc(x_97); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_98 = x_59; -} else { - lean_dec_ref(x_59); - x_98 = lean_box(0); -} -x_99 = l_Lean_Syntax_getId(x_54); -x_100 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_100, 0, x_56); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Elab_Term_addNamedArg(x_54, x_96, x_101, x_2, x_60); -lean_dec(x_54); -if (lean_obj_tag(x_102) == 0) -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); -x_104 = lean_ctor_get(x_102, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_105 = x_102; -} else { - lean_dec_ref(x_102); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_98)) { - x_106 = lean_alloc_ctor(0, 2, 0); -} else { - x_106 = x_98; -} -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_97); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_95); -lean_ctor_set(x_107, 1, x_106); -if (lean_is_scalar(x_105)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_105; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_104); -return x_108; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_98); -lean_dec(x_97); -lean_dec(x_95); -x_109 = lean_ctor_get(x_102, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_102, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_102)) { - lean_ctor_release(x_102, 0); - lean_ctor_release(x_102, 1); - x_111 = x_102; -} else { - lean_dec_ref(x_102); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_111; -} -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_110); -return x_112; -} -} -} -else -{ -uint8_t x_113; -lean_dec(x_56); -lean_dec(x_54); -lean_dec(x_2); -x_113 = !lean_is_exclusive(x_57); -if (x_113 == 0) -{ -return x_57; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_57, 0); -x_115 = lean_ctor_get(x_57, 1); -lean_inc(x_115); -lean_inc(x_114); -lean_dec(x_57); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; -} -} -} -} -} -} -} -} lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_unsigned_to_nat(0u); +x_5 = l_Lean_Syntax_getArg(x_1, x_4); +x_6 = lean_unsigned_to_nat(1u); +x_7 = l_Lean_Syntax_getArg(x_1, x_6); +x_8 = l_Lean_Syntax_getArgs(x_7); +lean_dec(x_7); +x_9 = l___private_Init_Lean_Elab_TermApp_19__expandApp___closed__1; +x_10 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__1(x_1, x_8, x_4, x_9, x_2, x_3); +lean_dec(x_8); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_5); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_10); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +lean_dec(x_5); +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +} +lean_object* l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l_Array_iterateMAux___main___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +lean_object* l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ lean_object* x_4; -x_4 = l___private_Init_Lean_Elab_TermApp_19__expandApp___main(x_1, x_2, x_3); +x_4 = l_ReaderT_pure___at___private_Init_Lean_Elab_TermApp_19__expandApp___spec__2___rarg(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +lean_object* l___private_Init_Lean_Elab_TermApp_19__expandApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Init_Lean_Elab_TermApp_19__expandApp(x_1, x_2, x_3); +lean_dec(x_1); return x_4; } } @@ -9323,8 +9102,7 @@ _start: { lean_object* x_5; lean_inc(x_3); -lean_inc(x_1); -x_5 = l___private_Init_Lean_Elab_TermApp_19__expandApp___main(x_1, x_3, x_4); +x_5 = l___private_Init_Lean_Elab_TermApp_19__expandApp(x_1, x_3, x_4); if (lean_obj_tag(x_5) == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -9501,11 +9279,21 @@ x_5 = l_Lean_Elab_Term_addBuiltinTermElab(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Elab_Term_elabAtom(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 = l_Array_empty___closed__1; +lean_inc(x_1); +x_6 = l___private_Init_Lean_Elab_TermApp_18__elabAppAux(x_1, x_1, x_5, x_5, x_2, x_3, x_4); +return x_6; +} +} lean_object* l_Lean_Elab_Term_elabId(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Elab_Term_elabApp(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_Term_elabAtom(x_1, x_2, x_3, x_4); return x_5; } } @@ -9550,7 +9338,7 @@ lean_object* l_Lean_Elab_Term_elabExplicit(lean_object* x_1, lean_object* x_2, l _start: { lean_object* x_5; -x_5 = l_Lean_Elab_Term_elabApp(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_Term_elabAtom(x_1, x_2, x_3, x_4); return x_5; } } @@ -9595,7 +9383,7 @@ lean_object* l_Lean_Elab_Term_elabChoice(lean_object* x_1, lean_object* x_2, lea _start: { lean_object* x_5; -x_5 = l_Lean_Elab_Term_elabApp(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_Term_elabAtom(x_1, x_2, x_3, x_4); return x_5; } } @@ -9640,7 +9428,7 @@ lean_object* l_Lean_Elab_Term_elabProj(lean_object* x_1, lean_object* x_2, lean_ _start: { lean_object* x_5; -x_5 = l_Lean_Elab_Term_elabApp(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_Term_elabAtom(x_1, x_2, x_3, x_4); return x_5; } } @@ -9685,7 +9473,7 @@ lean_object* l_Lean_Elab_Term_elabArrayRef(lean_object* x_1, lean_object* x_2, l _start: { lean_object* x_5; -x_5 = l_Lean_Elab_Term_elabApp(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Elab_Term_elabAtom(x_1, x_2, x_3, x_4); return x_5; } } @@ -10101,8 +9889,8 @@ l___private_Init_Lean_Elab_TermApp_18__elabAppAux___closed__2 = _init_l___privat lean_mark_persistent(l___private_Init_Lean_Elab_TermApp_18__elabAppAux___closed__2); l___private_Init_Lean_Elab_TermApp_18__elabAppAux___closed__3 = _init_l___private_Init_Lean_Elab_TermApp_18__elabAppAux___closed__3(); lean_mark_persistent(l___private_Init_Lean_Elab_TermApp_18__elabAppAux___closed__3); -l___private_Init_Lean_Elab_TermApp_19__expandApp___main___closed__1 = _init_l___private_Init_Lean_Elab_TermApp_19__expandApp___main___closed__1(); -lean_mark_persistent(l___private_Init_Lean_Elab_TermApp_19__expandApp___main___closed__1); +l___private_Init_Lean_Elab_TermApp_19__expandApp___closed__1 = _init_l___private_Init_Lean_Elab_TermApp_19__expandApp___closed__1(); +lean_mark_persistent(l___private_Init_Lean_Elab_TermApp_19__expandApp___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1(); lean_mark_persistent(l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__1); l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__2 = _init_l___regBuiltinTermElab_Lean_Elab_Term_elabApp___closed__2(); diff --git a/stage0/stdlib/Init/Lean/Elab/TermBinders.c b/stage0/stdlib/Init/Lean/Elab/TermBinders.c index ac9b46d85c..80b98dc8c1 100644 --- a/stage0/stdlib/Init/Lean/Elab/TermBinders.c +++ b/stage0/stdlib/Init/Lean/Elab/TermBinders.c @@ -47,6 +47,7 @@ lean_object* l___regBuiltinTermElab_Lean_Elab_Term_elabFun___closed__2; lean_object* l_Lean_Elab_Term_elabForall___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_match___elambda__1___closed__1; +extern uint8_t l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; extern lean_object* l_Prod_HasRepr___rarg___closed__1; lean_object* l_Array_umapMAux___main___at___private_Init_Lean_Elab_TermBinders_10__expandFunBindersAux___main___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -254,7 +255,6 @@ lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__1; lean_object* l___private_Init_Lean_Elab_TermBinders_6__elabBinderViews___main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern uint8_t l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l___private_Init_Lean_Elab_TermBinders_3__expandOptIdent(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLet___closed__2; @@ -303,7 +303,7 @@ x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) { uint8_t x_6; -x_6 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_6 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_6 == 0) { lean_object* x_7; @@ -539,7 +539,7 @@ lean_dec(x_3); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_20 = lean_ctor_get(x_18, 0); x_21 = lean_box(0); x_22 = l_Lean_Expr_getOptParamDefault_x3f___closed__2; @@ -560,71 +560,73 @@ x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); x_33 = lean_array_push(x_27, x_32); -x_34 = lean_array_push(x_33, x_1); -x_35 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_array_push(x_27, x_36); -x_38 = lean_array_push(x_37, x_17); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_35); -lean_ctor_set(x_39, 1, x_38); -lean_ctor_set(x_18, 0, x_39); +x_34 = lean_array_push(x_27, x_1); +x_35 = lean_array_push(x_34, x_17); +x_36 = l_Lean_nullKind___closed__2; +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = lean_array_push(x_33, x_37); +x_39 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +lean_ctor_set(x_18, 0, x_40); return x_18; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_40 = lean_ctor_get(x_18, 0); -x_41 = lean_ctor_get(x_18, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_41 = lean_ctor_get(x_18, 0); +x_42 = lean_ctor_get(x_18, 1); +lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); lean_dec(x_18); -x_42 = lean_box(0); -x_43 = l_Lean_Expr_getOptParamDefault_x3f___closed__2; -x_44 = lean_name_mk_numeral(x_43, x_40); -x_45 = l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__5; -x_46 = l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__7; -x_47 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_47, 0, x_42); -lean_ctor_set(x_47, 1, x_45); -lean_ctor_set(x_47, 2, x_44); -lean_ctor_set(x_47, 3, x_46); -x_48 = l_Array_empty___closed__1; -x_49 = lean_array_push(x_48, x_47); -x_50 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; -x_51 = lean_array_push(x_49, x_50); -x_52 = l_Lean_Parser_Term_id___elambda__1___closed__2; -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_51); -x_54 = lean_array_push(x_48, x_53); -x_55 = lean_array_push(x_54, x_1); -x_56 = l_Lean_Parser_Term_app___elambda__1___closed__2; -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_55); -x_58 = lean_array_push(x_48, x_57); -x_59 = lean_array_push(x_58, x_17); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_56); -lean_ctor_set(x_60, 1, x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_41); -return x_61; +x_43 = lean_box(0); +x_44 = l_Lean_Expr_getOptParamDefault_x3f___closed__2; +x_45 = lean_name_mk_numeral(x_44, x_41); +x_46 = l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__5; +x_47 = l___private_Init_Lean_Elab_TermBinders_4__expandBinderModifier___closed__7; +x_48 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_48, 0, x_43); +lean_ctor_set(x_48, 1, x_46); +lean_ctor_set(x_48, 2, x_45); +lean_ctor_set(x_48, 3, x_47); +x_49 = l_Array_empty___closed__1; +x_50 = lean_array_push(x_49, x_48); +x_51 = l___private_Init_Lean_Elab_Term_5__expandCDot___closed__4; +x_52 = lean_array_push(x_50, x_51); +x_53 = l_Lean_Parser_Term_id___elambda__1___closed__2; +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = lean_array_push(x_49, x_54); +x_56 = lean_array_push(x_49, x_1); +x_57 = lean_array_push(x_56, x_17); +x_58 = l_Lean_nullKind___closed__2; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = lean_array_push(x_55, x_59); +x_61 = l_Lean_Parser_Term_app___elambda__1___closed__2; +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_60); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_42); +return x_63; } } } else { -lean_object* x_62; +lean_object* x_64; lean_dec(x_3); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_1); -lean_ctor_set(x_62, 1, x_4); -return x_62; +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_1); +lean_ctor_set(x_64, 1, x_4); +return x_64; } } } @@ -3454,7 +3456,7 @@ x_6 = l_Lean_Syntax_isOfKind(x_1, x_5); if (x_6 == 0) { uint8_t x_7; -x_7 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_7 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_7 == 0) { lean_object* x_8; @@ -3953,30 +3955,30 @@ return x_5; lean_object* l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_6; lean_object* x_76; uint8_t x_77; -x_76 = l_Lean_Parser_Term_app___elambda__1___closed__2; +uint8_t x_6; lean_object* x_120; uint8_t x_121; +x_120 = l_Lean_Parser_Term_app___elambda__1___closed__2; lean_inc(x_2); -x_77 = l_Lean_Syntax_isOfKind(x_2, x_76); -if (x_77 == 0) +x_121 = l_Lean_Syntax_isOfKind(x_2, x_120); +if (x_121 == 0) { -uint8_t x_78; -x_78 = 0; -x_6 = x_78; -goto block_75; +uint8_t x_122; +x_122 = 0; +x_6 = x_122; +goto block_119; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_79 = l_Lean_Syntax_getArgs(x_2); -x_80 = lean_array_get_size(x_79); -lean_dec(x_79); -x_81 = lean_unsigned_to_nat(2u); -x_82 = lean_nat_dec_eq(x_80, x_81); -lean_dec(x_80); -x_6 = x_82; -goto block_75; +lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; +x_123 = l_Lean_Syntax_getArgs(x_2); +x_124 = lean_array_get_size(x_123); +lean_dec(x_123); +x_125 = lean_unsigned_to_nat(2u); +x_126 = lean_nat_dec_eq(x_124, x_125); +lean_dec(x_124); +x_6 = x_126; +goto block_119; } -block_75: +block_119: { uint8_t x_7; x_7 = l_coeDecidableEq(x_6); @@ -3989,7 +3991,7 @@ x_9 = l_Lean_Syntax_isOfKind(x_2, x_8); if (x_9 == 0) { uint8_t x_10; -x_10 = l___private_Init_Lean_Elab_Term_4__hasCDot___main___closed__1; +x_10 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; if (x_10 == 0) { lean_object* x_11; @@ -4163,69 +4165,256 @@ return x_57; } else { -if (x_1 == 0) -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; x_58 = lean_unsigned_to_nat(0u); x_59 = l_Lean_Syntax_getArg(x_2, x_58); x_60 = lean_unsigned_to_nat(1u); x_61 = l_Lean_Syntax_getArg(x_2, x_60); -lean_dec(x_2); -x_62 = 0; -x_63 = l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(x_62, x_59, x_3, x_4, x_5); -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -if (lean_obj_tag(x_64) == 0) +x_62 = l_Lean_nullKind___closed__2; +lean_inc(x_61); +x_63 = l_Lean_Syntax_isOfKind(x_61, x_62); +if (x_63 == 0) { -uint8_t x_65; +uint8_t x_64; +x_64 = l___private_Init_Lean_Elab_Term_4__isCDot___closed__1; +if (x_64 == 0) +{ +lean_object* x_65; lean_dec(x_61); -x_65 = !lean_is_exclusive(x_63); -if (x_65 == 0) +lean_dec(x_59); +x_65 = l_Lean_Syntax_isSimpleTermId_x3f(x_2); +lean_dec(x_2); +if (lean_obj_tag(x_65) == 0) { -lean_object* x_66; -x_66 = lean_ctor_get(x_63, 0); -lean_dec(x_66); -return x_63; +lean_object* x_66; lean_object* x_67; +lean_dec(x_3); +x_66 = lean_box(0); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_5); +return x_67; } else { -lean_object* x_67; lean_object* x_68; -x_67 = lean_ctor_get(x_63, 1); -lean_inc(x_67); -lean_dec(x_63); -x_68 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_68, 0, x_64); -lean_ctor_set(x_68, 1, x_67); -return x_68; +uint8_t x_68; +x_68 = !lean_is_exclusive(x_65); +if (x_68 == 0) +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_65, 0); +x_70 = lean_array_push(x_3, x_69); +lean_ctor_set(x_65, 0, x_70); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_65); +lean_ctor_set(x_71, 1, x_5); +return x_71; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_ctor_get(x_65, 0); +lean_inc(x_72); +lean_dec(x_65); +x_73 = lean_array_push(x_3, x_72); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_5); +return x_75; +} } } else { -lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); -lean_dec(x_63); -x_70 = lean_ctor_get(x_64, 0); -lean_inc(x_70); -lean_dec(x_64); -x_71 = 1; -x_1 = x_71; -x_2 = x_61; -x_3 = x_70; -x_5 = x_69; +lean_dec(x_2); +if (x_1 == 0) +{ +lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; +x_76 = l_Lean_Syntax_getArg(x_61, x_58); +lean_dec(x_61); +x_77 = 0; +x_78 = l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(x_77, x_59, x_3, x_4, x_5); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +if (lean_obj_tag(x_79) == 0) +{ +uint8_t x_80; +lean_dec(x_76); +x_80 = !lean_is_exclusive(x_78); +if (x_80 == 0) +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_78, 0); +lean_dec(x_81); +return x_78; +} +else +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_78, 1); +lean_inc(x_82); +lean_dec(x_78); +x_83 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_83, 0, x_79); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +else +{ +lean_object* x_84; lean_object* x_85; uint8_t x_86; +x_84 = lean_ctor_get(x_78, 1); +lean_inc(x_84); +lean_dec(x_78); +x_85 = lean_ctor_get(x_79, 0); +lean_inc(x_85); +lean_dec(x_79); +x_86 = 1; +x_1 = x_86; +x_2 = x_76; +x_3 = x_85; +x_5 = x_84; goto _start; } } else { -lean_object* x_73; lean_object* x_74; +lean_object* x_88; lean_object* x_89; +lean_dec(x_61); +lean_dec(x_59); lean_dec(x_3); +x_88 = lean_box(0); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_5); +return x_89; +} +} +} +else +{ +lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; +x_90 = l_Lean_Syntax_getArgs(x_61); +x_91 = lean_array_get_size(x_90); +lean_dec(x_90); +x_92 = lean_nat_dec_eq(x_91, x_60); +lean_dec(x_91); +x_93 = l_coeDecidableEq(x_92); +if (x_93 == 0) +{ +lean_object* x_94; +lean_dec(x_61); +lean_dec(x_59); +x_94 = l_Lean_Syntax_isSimpleTermId_x3f(x_2); lean_dec(x_2); -x_73 = lean_box(0); -x_74 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_5); -return x_74; +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; +lean_dec(x_3); +x_95 = lean_box(0); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_5); +return x_96; +} +else +{ +uint8_t x_97; +x_97 = !lean_is_exclusive(x_94); +if (x_97 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_94, 0); +x_99 = lean_array_push(x_3, x_98); +lean_ctor_set(x_94, 0, x_99); +x_100 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_100, 0, x_94); +lean_ctor_set(x_100, 1, x_5); +return x_100; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_101 = lean_ctor_get(x_94, 0); +lean_inc(x_101); +lean_dec(x_94); +x_102 = lean_array_push(x_3, x_101); +x_103 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_103, 0, x_102); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_5); +return x_104; +} +} +} +else +{ +lean_dec(x_2); +if (x_1 == 0) +{ +lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; +x_105 = l_Lean_Syntax_getArg(x_61, x_58); +lean_dec(x_61); +x_106 = 0; +x_107 = l___private_Init_Lean_Elab_TermBinders_8__getFunBinderIdsAux_x3f___main(x_106, x_59, x_3, x_4, x_5); +x_108 = lean_ctor_get(x_107, 0); +lean_inc(x_108); +if (lean_obj_tag(x_108) == 0) +{ +uint8_t x_109; +lean_dec(x_105); +x_109 = !lean_is_exclusive(x_107); +if (x_109 == 0) +{ +lean_object* x_110; +x_110 = lean_ctor_get(x_107, 0); +lean_dec(x_110); +return x_107; +} +else +{ +lean_object* x_111; lean_object* x_112; +x_111 = lean_ctor_get(x_107, 1); +lean_inc(x_111); +lean_dec(x_107); +x_112 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_112, 0, x_108); +lean_ctor_set(x_112, 1, x_111); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_113 = lean_ctor_get(x_107, 1); +lean_inc(x_113); +lean_dec(x_107); +x_114 = lean_ctor_get(x_108, 0); +lean_inc(x_114); +lean_dec(x_108); +x_115 = 1; +x_1 = x_115; +x_2 = x_105; +x_3 = x_114; +x_5 = x_113; +goto _start; +} +} +else +{ +lean_object* x_117; lean_object* x_118; +lean_dec(x_61); +lean_dec(x_59); +lean_dec(x_3); +x_117 = lean_box(0); +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_117); +lean_ctor_set(x_118, 1, x_5); +return x_118; +} +} } } }