diff --git a/stage0/src/Lean/Elab/BuiltinNotation.lean b/stage0/src/Lean/Elab/BuiltinNotation.lean index 61dbb01f0b..d170e0c4c9 100644 --- a/stage0/src/Lean/Elab/BuiltinNotation.lean +++ b/stage0/src/Lean/Elab/BuiltinNotation.lean @@ -64,19 +64,17 @@ open Meta @[builtinMacro Lean.Parser.Term.have] def expandHave : Macro := fun stx => let thisId := mkIdentFrom stx `this match stx with - | `(have $x $bs* $[: $type]? := $val $[;]? $body) => `(let_fun $x $bs* $[: $type]? := $val; $body) - | `(have : $type := $val $[;]? $body) => `(have $thisId : $type := $val; $body) - | `(have $x $bs* $[: $type]? $alts:matchAlts $[;]? $body) => `(let_fun $x $bs* $[: $type]? $alts:matchAlts; $body) - | `(have : $type $alts:matchAlts $[;]? $body) => `(have $thisId : $type $alts:matchAlts; $body) - | `(have $pattern:term := $val:term $[;]? $body) => `(let_fun $pattern:term := $val:term ; $body) - | _ => Macro.throwUnsupported + | `(have $x $bs* $[: $type]? := $val $[;]? $body) => `(let_fun $x $bs* $[: $type]? := $val; $body) + | `(have $[: $type]? := $val $[;]? $body) => `(have $thisId:ident $[: $type]? := $val; $body) + | `(have $x $bs* $[: $type]? $alts:matchAlts $[;]? $body) => `(let_fun $x $bs* $[: $type]? $alts:matchAlts; $body) + | `(have $[: $type]? $alts:matchAlts $[;]? $body) => `(have $thisId:ident $[: $type]? $alts:matchAlts; $body) + | `(have $pattern:term := $val:term $[;]? $body) => `(let_fun $pattern:term := $val:term ; $body) + | _ => Macro.throwUnsupported @[builtinMacro Lean.Parser.Term.suffices] def expandSuffices : Macro - | `(suffices $x:ident : $type from $val $[;]? $body) => `(have $x : $type := $body; $val) - | `(suffices $type:term from $val $[;]? $body) => `(have : $type := $body; $val) - | `(suffices $x:ident : $type by%$b $tac:tacticSeq $[;]? $body) => `(have $x : $type := $body; by%$b $tac:tacticSeq) - | `(suffices $type:term by%$b $tac:tacticSeq $[;]? $body) => `(have : $type := $body; by%$b $tac:tacticSeq) - | _ => Macro.throwUnsupported + | `(suffices $[$x :]? $type from $val $[;]? $body) => `(have $[$x]? : $type := $body; $val) + | `(suffices $[$x :]? $type by%$b $tac:tacticSeq $[;]? $body) => `(have $[$x]? : $type := $body; by%$b $tac:tacticSeq) + | _ => Macro.throwUnsupported open Lean.Parser in private def elabParserMacroAux (prec : Syntax) (e : Syntax) : TermElabM Syntax := do diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index 631495b573..559e4aeb8e 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -168,11 +168,9 @@ def letDecl := nodeWithAntiquot "letDecl" `Lean.Parser.Term.letDecl (notFoll @[builtinTermParser] def «let_delayed» := leading_parser:leadPrec withPosition ("let_delayed " >> letDecl) >> optSemicolon termParser -- like `let_fun` but with optional name -def haveIdLhs := nodeWithAntiquot "haveIdLhs" `Lean.Parser.Term.haveIdLhs <| ident >> checkWsBefore "expected space before binders" >> many (ppSpace >> (simpleBinderWithoutType <|> bracketedBinder)) >> optType -def haveNoIdLhs := nodeWithAntiquot "haveNoIdLhs" `Lean.Parser.Term.haveNoIdLhs <| typeSpec -def haveLhs := haveIdLhs <|> haveNoIdLhs -def haveIdDecl := nodeWithAntiquot "haveIdDecl" `Lean.Parser.Term.haveIdDecl $ atomic (haveLhs >> " := ") >> termParser -def haveEqnsDecl := nodeWithAntiquot "haveEqnsDecl" `Lean.Parser.Term.haveEqnsDecl $ haveLhs >> matchAlts +def haveIdLhs := optional (ident >> many (ppSpace >> (simpleBinderWithoutType <|> bracketedBinder))) >> optType +def haveIdDecl := nodeWithAntiquot "haveIdDecl" `Lean.Parser.Term.haveIdDecl $ atomic (haveIdLhs >> " := ") >> termParser +def haveEqnsDecl := nodeWithAntiquot "haveEqnsDecl" `Lean.Parser.Term.haveEqnsDecl $ haveIdLhs >> matchAlts def haveDecl := nodeWithAntiquot "haveDecl" `Lean.Parser.Term.haveDecl (haveIdDecl <|> letPatDecl <|> haveEqnsDecl) @[builtinTermParser] def «have» := leading_parser:leadPrec withPosition ("have " >> haveDecl) >> optSemicolon termParser diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index eeaac3e145..4e2a8876d6 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -36,7 +36,7 @@ lean_object* l_Lean_mkSort(lean_object*); lean_object* l_Std_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l_Lean_Syntax_getHeadInfo_x3f(lean_object*); extern lean_object* l_instReprSigma___rarg___closed__2; -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__4; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__2; @@ -48,7 +48,6 @@ lean_object* l_Lean_Elab_Term_expandCDot_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -extern lean_object* l_Lean_Parser_Term_haveNoIdLhs___closed__1; lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubst_match__1___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__1; @@ -69,7 +68,6 @@ lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSorry___closed__11; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -extern lean_object* l_Lean_Parser_Term_haveNoIdLhs___closed__2; lean_object* l_Lean_Elab_Term_elabPanic___closed__3; extern lean_object* l_Lean_identKind___closed__2; lean_object* l_Lean_Elab_Term_elabSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -80,7 +78,7 @@ extern lean_object* l_Lean_Parser_Term_subst___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__2; uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux_match__1(lean_object*); -lean_object* l_Lean_Elab_Term_expandHave___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSorry___closed__10; extern lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__12; @@ -102,7 +100,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex(lean_object*); lean_object* l_Lean_Elab_Term_elabSorry___closed__7; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__2; -lean_object* l_Lean_Elab_Term_expandHave___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_termS_x21_____closed__3; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__8; lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); @@ -147,12 +145,13 @@ lean_object* lean_string_utf8_byte_size(lean_object*); extern lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; extern lean_object* l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; extern lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__2; -lean_object* l_Lean_Elab_Term_expandHave___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__6; uint8_t l_USize_decLt(size_t, size_t); extern lean_object* l_Lean_nameLitKind; +extern lean_object* l_Lean_Parser_Tactic_case___closed__10; lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__2; lean_object* l_Lean_Elab_Term_expandShow___closed__1; extern lean_object* l_termS_x21_____closed__2; @@ -169,10 +168,10 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1997____closed__4; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__7; lean_object* l_Lean_Meta_DiscrTree_mkNoindexAnnotation(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNoindex___closed__1; -lean_object* l_Lean_Elab_Term_expandHave___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__10; -lean_object* l_Lean_Elab_Term_expandHave___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandShow___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__4; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -197,7 +196,6 @@ lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, le lean_object* l_Lean_Elab_Term_elabAnonymousCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_setOptionFromString___closed__4; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); @@ -214,7 +212,6 @@ lean_object* l_Lean_Elab_Term_expandShow___boxed(lean_object*, lean_object*, lea extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_16080____closed__2; extern lean_object* l_Lean_instQuoteProd___rarg___closed__2; lean_object* l_Lean_Elab_Term_expandDbgTrace(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__8; lean_object* l_Lean_Elab_Term_elabTrailingParserMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__1; @@ -224,9 +221,8 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserM lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__5; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandCDot_x3f_go(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqSymm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandHave___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave_match__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__1; extern lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__2; @@ -238,6 +234,7 @@ lean_object* l_Lean_Name_toString(lean_object*, uint8_t); extern lean_object* l_Lean_Meta_mkArrow___closed__2; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_expandMacro_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_903____closed__4; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -271,11 +268,13 @@ uint8_t l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__1 uint8_t l_Lean_LocalDecl_binderInfo(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux_match__1(lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabParen___closed__1; lean_object* l___private_Init_Meta_0__Lean_quoteNameMk(lean_object*); lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___closed__1; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17402____closed__2; -lean_object* l_Lean_Elab_Term_expandHave___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParen___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -306,7 +305,6 @@ lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___boxed(lean_ob extern lean_object* l_Lean_KernelException_toMessageData___closed__15; lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__7; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAnonymousCtor___spec__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -323,21 +321,20 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_71____closed__2; extern lean_object* l_Lean_KernelException_toMessageData___closed__3; size_t lean_usize_of_nat(lean_object*); extern lean_object* l_term___x2b_x2b_____closed__2; -lean_object* l_Lean_Elab_Term_expandHave___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabSorry___closed__1; extern lean_object* l_myMacro____x40_Init_Data_ToString_Macro___hyg_17____closed__13; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__10; extern lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; lean_object* l_Lean_Elab_Term_elabSubst___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f_match__1(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instToExprUnit___lambda__1___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro(lean_object*); -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__13; lean_object* l_Lean_Elab_Term_elabStateRefT___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind___closed__2; lean_object* l_Lean_Elab_Term_expandHave___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_beq___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___spec__1(lean_object*, lean_object*); @@ -361,7 +358,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_1318____closed__8; extern lean_object* l_Lean_Name_instReprName___closed__1; lean_object* l_Array_mapMUnsafe_map___at_myMacro____x40_Init_NotationExtra___hyg_4440____spec__3(size_t, size_t, lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLeadingParserMacro___lambda__1___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__3; lean_object* l_Lean_Elab_Term_expandParen___closed__3; @@ -390,6 +387,7 @@ lean_object* l_Lean_Elab_Term_elabSubst___lambda__3___boxed(lean_object*, lean_o lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_14569____closed__11; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__3; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3; lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__7; extern lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__1; @@ -415,7 +413,7 @@ lean_object* l_Lean_Elab_Term_expandParen___closed__2; extern lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandHave___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__2; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__2; @@ -438,7 +436,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__8; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__9; lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__15; lean_object* l_Lean_Elab_Term_elabSubst___closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -485,10 +483,11 @@ lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandSuffices(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___closed__3; -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__10; +extern lean_object* l_Lean_Parser_Tactic_intro___closed__1; lean_object* l_Lean_Elab_Term_elabTrailingParserMacro___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_unexpand____x40_Init_Notation___hyg_1981____closed__1; lean_object* l_Lean_Elab_Term_elabSubst___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -514,6 +513,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__1; extern lean_object* l_Lean_levelOne; uint8_t l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2___closed__1; lean_object* l_Lean_Elab_Term_elabSubst___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert(lean_object*); lean_object* l_Array_back___at_Lean_Syntax_Traverser_up___spec__2(lean_object*); @@ -550,6 +550,7 @@ lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInst___spec__1(lean extern lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__4; +lean_object* l_Lean_Elab_Term_expandHave___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__8; lean_object* l_Lean_Elab_Term_expandAssert___closed__2; extern lean_object* l_Lean_Parser_Tactic_tactic_xb7_x2e_____closed__5; @@ -567,8 +568,9 @@ lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_expandCDot_x3f lean_object* l_Lean_Meta_getFVarLocalDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___lambda__1___closed__5; lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Term_elabAnonymousCtor___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*, lean_object*); -lean_object* l_Lean_Elab_Term_expandHave___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabSubst___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_19525____closed__1; lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -2619,147 +2621,295 @@ return x_74; } } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_unsigned_to_nat(3u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_11, x_12); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_unsigned_to_nat(3u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_11); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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; -x_17 = lean_ctor_get(x_15, 0); -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_17); -x_19 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_17); -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_23 = lean_array_push(x_22, x_21); -x_24 = lean_array_push(x_23, x_2); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_3); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_27 = lean_array_push(x_26, x_25); -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 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_31 = lean_array_push(x_30, x_4); -x_32 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_33 = lean_array_push(x_31, x_32); -x_34 = lean_array_push(x_33, x_29); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_5); -lean_ctor_set(x_35, 1, x_34); -x_36 = lean_array_push(x_22, x_35); -x_37 = lean_array_push(x_36, x_6); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_7); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_array_push(x_26, x_38); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_8); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_17); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_26, x_42); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_28); -lean_ctor_set(x_44, 1, x_43); -x_45 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_46 = lean_array_push(x_45, x_19); -x_47 = lean_array_push(x_46, x_40); -x_48 = lean_array_push(x_47, x_44); -x_49 = lean_array_push(x_48, x_14); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_9); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_15, 0, x_50); -return 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; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +lean_inc(x_16); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_20 = lean_array_push(x_19, x_2); +x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_22 = lean_array_push(x_20, x_21); +x_23 = l_Lean_nullKind___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_26 = lean_array_push(x_25, x_24); +x_27 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +lean_inc(x_16); +x_28 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_28, 0, x_16); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_30 = lean_array_push(x_29, x_28); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_23); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_33 = lean_array_push(x_32, x_18); +if (lean_obj_tag(x_3) == 0) +{ +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_dec(x_16); +lean_dec(x_8); +x_34 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +x_35 = lean_array_push(x_26, x_34); +x_36 = lean_array_push(x_35, x_4); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_5); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_array_push(x_29, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_6); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_array_push(x_33, x_39); +x_41 = lean_array_push(x_40, x_31); +x_42 = lean_array_push(x_41, x_13); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_7); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_14, 0, x_43); +return x_14; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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; -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 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_51); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_51); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_51); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_51); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_58 = lean_array_push(x_57, x_56); -x_59 = lean_array_push(x_58, x_2); +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_44 = lean_ctor_get(x_3, 0); +lean_inc(x_44); +lean_dec(x_3); +x_45 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; +x_46 = lean_name_mk_string(x_8, x_45); +x_47 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_16); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_array_push(x_19, x_48); +x_50 = lean_array_push(x_49, x_44); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_46); +lean_ctor_set(x_51, 1, x_50); +x_52 = lean_array_push(x_29, x_51); +x_53 = l_Array_empty___closed__1; +x_54 = l_Array_append___rarg(x_53, x_52); +lean_dec(x_52); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_23); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_26, x_55); +x_57 = lean_array_push(x_56, x_4); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_5); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_29, x_58); x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_3); +lean_ctor_set(x_60, 0, x_6); lean_ctor_set(x_60, 1, x_59); -x_61 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_nullKind___closed__2; +x_61 = lean_array_push(x_33, x_60); +x_62 = lean_array_push(x_61, x_31); +x_63 = lean_array_push(x_62, x_13); 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 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_66 = lean_array_push(x_65, x_4); -x_67 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_68 = lean_array_push(x_66, x_67); -x_69 = lean_array_push(x_68, x_64); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_5); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_array_push(x_57, x_70); -x_72 = lean_array_push(x_71, x_6); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_7); -lean_ctor_set(x_73, 1, x_72); -x_74 = lean_array_push(x_61, x_73); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_8); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_51); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_61, x_77); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_63); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_81 = lean_array_push(x_80, x_54); -x_82 = lean_array_push(x_81, x_75); -x_83 = lean_array_push(x_82, x_79); -x_84 = lean_array_push(x_83, x_14); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_9); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_52); -return x_86; +lean_ctor_set(x_64, 0, x_7); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_14, 0, x_64); +return x_14; +} +} +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; +x_65 = lean_ctor_get(x_14, 0); +x_66 = lean_ctor_get(x_14, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_14); +x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +lean_inc(x_65); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_65); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_70 = lean_array_push(x_69, x_2); +x_71 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_72 = lean_array_push(x_70, 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 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; +x_76 = lean_array_push(x_75, x_74); +x_77 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +lean_inc(x_65); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_65); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_80 = lean_array_push(x_79, x_78); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_73); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_83 = lean_array_push(x_82, x_68); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_dec(x_65); +lean_dec(x_8); +x_84 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +x_85 = lean_array_push(x_76, x_84); +x_86 = lean_array_push(x_85, x_4); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_5); +lean_ctor_set(x_87, 1, x_86); +x_88 = lean_array_push(x_79, x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_6); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_array_push(x_83, x_89); +x_91 = lean_array_push(x_90, x_81); +x_92 = lean_array_push(x_91, x_13); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_7); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_66); +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; 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; +x_95 = lean_ctor_get(x_3, 0); +lean_inc(x_95); +lean_dec(x_3); +x_96 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; +x_97 = lean_name_mk_string(x_8, x_96); +x_98 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_99 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_99, 0, x_65); +lean_ctor_set(x_99, 1, x_98); +x_100 = lean_array_push(x_69, x_99); +x_101 = lean_array_push(x_100, x_95); +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_97); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_array_push(x_79, x_102); +x_104 = l_Array_empty___closed__1; +x_105 = l_Array_append___rarg(x_104, x_103); +lean_dec(x_103); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_73); +lean_ctor_set(x_106, 1, x_105); +x_107 = lean_array_push(x_76, x_106); +x_108 = lean_array_push(x_107, x_4); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_5); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_array_push(x_79, x_109); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_6); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_83, x_111); +x_113 = lean_array_push(x_112, x_81); +x_114 = lean_array_push(x_113, x_13); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_7); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_66); +return x_116; } } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +lean_object* l_Lean_Elab_Term_expandHave___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_myMacro____x40_Init_Notation___hyg_13362____closed__7; +lean_inc(x_2); +x_15 = lean_name_mk_string(x_2, x_14); +lean_inc(x_13); +x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); +lean_dec(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_17 = lean_box(1); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_11); +return x_18; +} +else +{ +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_Syntax_getArg(x_3, x_12); +x_20 = l_Lean_Syntax_isNone(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = l_Lean_nullKind; +x_22 = lean_unsigned_to_nat(1u); +x_23 = l_Lean_Syntax_isNodeOf(x_19, x_21, x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +x_24 = lean_box(1); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_11); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_box(0); +x_27 = l_Lean_Elab_Term_expandHave___lambda__2(x_3, x_4, x_9, x_13, x_5, x_6, x_7, x_2, x_26, x_10, x_11); +return x_27; +} +} +else +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_19); +x_28 = lean_box(0); +x_29 = l_Lean_Elab_Term_expandHave___lambda__2(x_3, x_4, x_9, x_13, x_5, x_6, x_7, x_2, x_28, x_10, x_11); +return x_29; +} +} +} +} +lean_object* l_Lean_Elab_Term_expandHave___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -2988,11 +3138,11 @@ return x_121; } } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_10 = lean_unsigned_to_nat(1u); +x_10 = lean_unsigned_to_nat(2u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = l_myMacro____x40_Init_Notation___hyg_13362____closed__7; lean_inc(x_2); @@ -3015,15 +3165,15 @@ return x_16; } else { -lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_17 = lean_unsigned_to_nat(2u); -x_18 = l_Lean_Syntax_getArg(x_3, x_17); -x_19 = l_Lean_Syntax_isNone(x_18); -if (x_19 == 0) +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_Syntax_getArg(x_3, x_10); +x_18 = l_Lean_Syntax_isNone(x_17); +if (x_18 == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_nullKind; -x_21 = l_Lean_Syntax_isNodeOf(x_18, x_20, x_10); +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = l_Lean_nullKind; +x_20 = lean_unsigned_to_nat(1u); +x_21 = l_Lean_Syntax_isNodeOf(x_17, x_19, x_20); if (x_21 == 0) { lean_object* x_22; lean_object* x_23; @@ -3041,174 +3191,297 @@ else { lean_object* x_24; lean_object* x_25; x_24 = lean_box(0); -x_25 = l_Lean_Elab_Term_expandHave___lambda__3(x_3, x_4, x_2, x_5, x_7, x_11, x_24, x_8, x_9); +x_25 = l_Lean_Elab_Term_expandHave___lambda__4(x_3, x_4, x_2, x_5, x_7, x_11, x_24, x_8, x_9); return x_25; } } else { lean_object* x_26; lean_object* x_27; -lean_dec(x_18); +lean_dec(x_17); x_26 = lean_box(0); -x_27 = l_Lean_Elab_Term_expandHave___lambda__3(x_3, x_4, x_2, x_5, x_7, x_11, x_26, x_8, x_9); +x_27 = l_Lean_Elab_Term_expandHave___lambda__4(x_3, x_4, x_2, x_5, x_7, x_11, x_26, x_8, x_9); return x_27; } } } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_13 = lean_unsigned_to_nat(3u); -x_14 = l_Lean_Syntax_getArg(x_1, x_13); -x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_11, x_12); -x_16 = !lean_is_exclusive(x_15); -if (x_16 == 0) +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = lean_unsigned_to_nat(3u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_10, x_11); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_17 = lean_ctor_get(x_15, 0); -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_17); -x_19 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_17); -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_17); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_23 = lean_array_push(x_22, x_21); -x_24 = lean_array_push(x_23, x_2); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_3); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_27 = lean_array_push(x_26, x_25); -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 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_31 = lean_array_push(x_30, x_4); -x_32 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_33 = lean_array_push(x_31, x_32); -x_34 = lean_array_push(x_33, x_29); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_5); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_17); -x_37 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_37, 0, x_17); -lean_ctor_set(x_37, 1, x_36); -x_38 = lean_array_push(x_30, x_35); -x_39 = lean_array_push(x_38, x_37); -x_40 = lean_array_push(x_39, x_6); +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; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +lean_inc(x_16); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_20 = lean_array_push(x_19, x_2); +x_21 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_22 = lean_array_push(x_20, x_21); +x_23 = l_Lean_nullKind___closed__2; +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +lean_inc(x_16); +x_26 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_28 = lean_array_push(x_27, x_24); +x_29 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +lean_inc(x_16); +x_30 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_30, 0, x_16); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_32 = lean_array_push(x_31, x_30); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_32); +x_34 = lean_array_push(x_27, x_18); +if (lean_obj_tag(x_3) == 0) +{ +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_dec(x_16); +lean_dec(x_8); +x_35 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +x_36 = lean_array_push(x_28, x_35); +x_37 = lean_array_push(x_36, x_26); +x_38 = lean_array_push(x_37, x_4); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_5); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_array_push(x_31, x_39); x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_7); +lean_ctor_set(x_41, 0, x_6); lean_ctor_set(x_41, 1, x_40); -x_42 = lean_array_push(x_26, x_41); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_8); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_17); +x_42 = lean_array_push(x_34, x_41); +x_43 = lean_array_push(x_42, x_33); +x_44 = lean_array_push(x_43, x_13); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_7); lean_ctor_set(x_45, 1, x_44); -x_46 = lean_array_push(x_26, x_45); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_28); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_49 = lean_array_push(x_48, x_19); -x_50 = lean_array_push(x_49, x_43); -x_51 = lean_array_push(x_50, x_47); -x_52 = lean_array_push(x_51, x_14); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_9); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_15, 0, x_53); -return x_15; +lean_ctor_set(x_14, 0, x_45); +return x_14; } 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; 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_54 = lean_ctor_get(x_15, 0); -x_55 = lean_ctor_get(x_15, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_15); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_54); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_54); +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_46 = lean_ctor_get(x_3, 0); +lean_inc(x_46); +lean_dec(x_3); +x_47 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; +x_48 = lean_name_mk_string(x_8, x_47); +x_49 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_16); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_19, x_50); +x_52 = lean_array_push(x_51, x_46); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_48); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_array_push(x_31, x_53); +x_55 = l_Array_empty___closed__1; +x_56 = l_Array_append___rarg(x_55, x_54); +lean_dec(x_54); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_23); lean_ctor_set(x_57, 1, x_56); -x_58 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_54); -x_59 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_59, 0, x_54); -lean_ctor_set(x_59, 1, x_58); -x_60 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_61 = lean_array_push(x_60, x_59); -x_62 = lean_array_push(x_61, x_2); +x_58 = lean_array_push(x_28, x_57); +x_59 = lean_array_push(x_58, x_26); +x_60 = lean_array_push(x_59, x_4); +x_61 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_61, 0, x_5); +lean_ctor_set(x_61, 1, x_60); +x_62 = lean_array_push(x_31, x_61); x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_3); +lean_ctor_set(x_63, 0, x_6); lean_ctor_set(x_63, 1, x_62); -x_64 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_65 = lean_array_push(x_64, x_63); -x_66 = l_Lean_nullKind___closed__2; +x_64 = lean_array_push(x_34, x_63); +x_65 = lean_array_push(x_64, x_33); +x_66 = lean_array_push(x_65, x_13); x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_65); -x_68 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_69 = lean_array_push(x_68, x_4); -x_70 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_71 = lean_array_push(x_69, x_70); -x_72 = lean_array_push(x_71, x_67); -x_73 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_73, 0, x_5); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_54); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_54); -lean_ctor_set(x_75, 1, x_74); -x_76 = lean_array_push(x_68, x_73); -x_77 = lean_array_push(x_76, x_75); -x_78 = lean_array_push(x_77, x_6); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_7); +lean_ctor_set(x_67, 0, x_7); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_14, 0, x_67); +return x_14; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_68 = lean_ctor_get(x_14, 0); +x_69 = lean_ctor_get(x_14, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_14); +x_70 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +lean_inc(x_68); +x_71 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_73 = lean_array_push(x_72, x_2); +x_74 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_75 = lean_array_push(x_73, x_74); +x_76 = l_Lean_nullKind___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 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +lean_inc(x_68); +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_68); lean_ctor_set(x_79, 1, x_78); -x_80 = lean_array_push(x_64, x_79); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_8); -lean_ctor_set(x_81, 1, x_80); +x_80 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_81 = lean_array_push(x_80, x_77); x_82 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +lean_inc(x_68); x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_54); +lean_ctor_set(x_83, 0, x_68); lean_ctor_set(x_83, 1, x_82); -x_84 = lean_array_push(x_64, x_83); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_66); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_87 = lean_array_push(x_86, x_57); -x_88 = lean_array_push(x_87, x_81); -x_89 = lean_array_push(x_88, x_85); -x_90 = lean_array_push(x_89, x_14); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_9); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_55); -return x_92; +x_84 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_85 = lean_array_push(x_84, x_83); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_76); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_array_push(x_80, x_71); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_68); +lean_dec(x_8); +x_88 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +x_89 = lean_array_push(x_81, x_88); +x_90 = lean_array_push(x_89, x_79); +x_91 = lean_array_push(x_90, x_4); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_5); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_84, x_92); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_6); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_87, x_94); +x_96 = lean_array_push(x_95, x_86); +x_97 = lean_array_push(x_96, x_13); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_7); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_69); +return x_99; +} +else +{ +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; +x_100 = lean_ctor_get(x_3, 0); +lean_inc(x_100); +lean_dec(x_3); +x_101 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; +x_102 = lean_name_mk_string(x_8, x_101); +x_103 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_104 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_104, 0, x_68); +lean_ctor_set(x_104, 1, x_103); +x_105 = lean_array_push(x_72, x_104); +x_106 = lean_array_push(x_105, x_100); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_102); +lean_ctor_set(x_107, 1, x_106); +x_108 = lean_array_push(x_84, x_107); +x_109 = l_Array_empty___closed__1; +x_110 = l_Array_append___rarg(x_109, x_108); +lean_dec(x_108); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_76); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_81, x_111); +x_113 = lean_array_push(x_112, x_79); +x_114 = lean_array_push(x_113, x_4); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_5); +lean_ctor_set(x_115, 1, x_114); +x_116 = lean_array_push(x_84, x_115); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_6); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_87, x_117); +x_119 = lean_array_push(x_118, x_86); +x_120 = lean_array_push(x_119, x_13); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_7); +lean_ctor_set(x_121, 1, x_120); +x_122 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_69); +return x_122; } } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +lean_object* l_Lean_Elab_Term_expandHave___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_unsigned_to_nat(3u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(2u); +x_15 = l_Lean_Syntax_getArg(x_2, x_14); +x_16 = l_Lean_Syntax_isNone(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_nullKind; +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_isNodeOf(x_15, x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_11); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_expandHave___lambda__6(x_2, x_3, x_9, x_13, x_4, x_5, x_6, x_7, x_22, x_10, x_11); +return x_23; +} +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = lean_box(0); +x_25 = l_Lean_Elab_Term_expandHave___lambda__6(x_2, x_3, x_9, x_13, x_4, x_5, x_6, x_7, x_24, x_10, x_11); +return x_25; +} +} +} +lean_object* l_Lean_Elab_Term_expandHave___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -3453,48 +3726,49 @@ return x_131; } } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_unsigned_to_nat(2u); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_unsigned_to_nat(3u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_Syntax_getArg(x_2, x_10); -x_13 = l_Lean_Syntax_isNone(x_12); -if (x_13 == 0) +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_2, x_12); +x_14 = l_Lean_Syntax_isNone(x_13); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = l_Lean_nullKind; -x_15 = lean_unsigned_to_nat(1u); -x_16 = l_Lean_Syntax_isNodeOf(x_12, x_14, x_15); -if (x_16 == 0) +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = l_Lean_nullKind; +x_16 = lean_unsigned_to_nat(1u); +x_17 = l_Lean_Syntax_isNodeOf(x_13, x_15, x_16); +if (x_17 == 0) { -lean_object* x_17; lean_object* x_18; +lean_object* x_18; lean_object* x_19; lean_dec(x_11); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); -x_17 = lean_box(1); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_9); -return x_18; +x_18 = lean_box(1); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_9); +return x_19; } else { -lean_object* x_19; lean_object* x_20; -x_19 = lean_box(0); -x_20 = l_Lean_Elab_Term_expandHave___lambda__6(x_2, x_3, x_4, x_5, x_7, x_11, x_19, x_8, x_9); -return x_20; +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l_Lean_Elab_Term_expandHave___lambda__8(x_2, x_3, x_4, x_5, x_7, x_11, x_20, x_8, x_9); +return x_21; } } else { -lean_object* x_21; lean_object* x_22; -lean_dec(x_12); -x_21 = lean_box(0); -x_22 = l_Lean_Elab_Term_expandHave___lambda__6(x_2, x_3, x_4, x_5, x_7, x_11, x_21, x_8, x_9); -return x_22; +lean_object* x_22; lean_object* x_23; +lean_dec(x_13); +x_22 = lean_box(0); +x_23 = l_Lean_Elab_Term_expandHave___lambda__8(x_2, x_3, x_4, x_5, x_7, x_11, x_22, x_8, x_9); +return x_23; } } } @@ -3658,21 +3932,19 @@ return x_49; } else { -lean_object* x_50; lean_object* x_51; uint8_t x_52; +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; x_50 = l_Lean_Syntax_getArg(x_17, x_16); -x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; +x_51 = l_Lean_nullKind; +x_52 = lean_unsigned_to_nat(2u); lean_inc(x_50); -x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); -if (x_52 == 0) +x_53 = l_Lean_Syntax_isNodeOf(x_50, x_51, x_52); +if (x_53 == 0) { -lean_object* x_53; uint8_t x_54; -x_53 = l_Lean_Parser_Term_haveNoIdLhs___closed__2; -lean_inc(x_50); -x_54 = l_Lean_Syntax_isOfKind(x_50, x_53); +uint8_t x_54; +x_54 = l_Lean_Syntax_isNodeOf(x_50, x_51, x_16); if (x_54 == 0) { lean_object* x_55; lean_object* x_56; -lean_dec(x_50); lean_dec(x_17); lean_dec(x_5); lean_dec(x_1); @@ -3684,12 +3956,14 @@ return x_56; } else { -lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_57 = l_Lean_Syntax_getArg(x_50, x_16); -lean_dec(x_50); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__7; +lean_object* x_57; uint8_t x_58; +x_57 = l_Lean_Syntax_getArg(x_17, x_10); +x_58 = l_Lean_Syntax_isNone(x_57); +if (x_58 == 0) +{ +uint8_t x_59; lean_inc(x_57); -x_59 = l_Lean_Syntax_isOfKind(x_57, x_58); +x_59 = l_Lean_Syntax_isNodeOf(x_57, x_51, x_10); if (x_59 == 0) { lean_object* x_60; lean_object* x_61; @@ -3705,95 +3979,97 @@ return x_61; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_62 = l_Lean_Syntax_getArg(x_57, x_10); +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = l_Lean_Syntax_getArg(x_57, x_16); lean_dec(x_57); -x_63 = l_Lean_Syntax_getArg(x_17, x_10); +x_63 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__7; +lean_inc(x_62); +x_64 = l_Lean_Syntax_isOfKind(x_62, x_63); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_62); lean_dec(x_17); -x_64 = l_myMacro____x40_Init_Notation___hyg_13362____closed__8; -lean_inc(x_63); -x_65 = l_Lean_Syntax_isOfKind(x_63, x_64); -if (x_65 == 0) +lean_dec(x_5); +lean_dec(x_1); +x_65 = lean_box(1); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_3); +return x_66; +} +else { -lean_object* x_66; lean_object* x_67; -lean_dec(x_63); +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_67 = l_Lean_Syntax_getArg(x_62, x_10); lean_dec(x_62); +x_68 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_68, 0, x_67); +x_69 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_70 = lean_box(0); +x_71 = l_Lean_Elab_Term_expandHave___lambda__3(x_17, x_69, x_1, x_5, x_20, x_12, x_6, x_70, x_68, x_2, x_3); +lean_dec(x_1); +lean_dec(x_17); +return x_71; +} +} +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_dec(x_57); +x_72 = lean_box(0); +x_73 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_74 = lean_box(0); +x_75 = l_Lean_Elab_Term_expandHave___lambda__3(x_17, x_73, x_1, x_5, x_20, x_12, x_6, x_74, x_72, x_2, x_3); +lean_dec(x_1); +lean_dec(x_17); +return x_75; +} +} +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_dec(x_5); -lean_dec(x_1); -x_66 = lean_box(1); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_3); -return x_67; -} -else -{ -lean_object* x_68; lean_object* x_69; uint8_t x_70; -x_68 = lean_unsigned_to_nat(2u); -x_69 = l_Lean_Syntax_getArg(x_1, x_68); -x_70 = l_Lean_Syntax_isNone(x_69); -if (x_70 == 0) -{ -lean_object* x_71; uint8_t x_72; -x_71 = l_Lean_nullKind; -x_72 = l_Lean_Syntax_isNodeOf(x_69, x_71, x_10); -if (x_72 == 0) -{ -lean_object* x_73; lean_object* x_74; -lean_dec(x_63); -lean_dec(x_62); -lean_dec(x_5); -lean_dec(x_1); -x_73 = lean_box(1); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_73); -lean_ctor_set(x_74, 1, x_3); -return x_74; -} -else -{ -lean_object* x_75; lean_object* x_76; -x_75 = lean_box(0); -x_76 = l_Lean_Elab_Term_expandHave___lambda__2(x_1, x_62, x_58, x_5, x_51, x_63, x_20, x_12, x_6, x_75, x_2, x_3); -lean_dec(x_1); -return x_76; -} -} -else -{ -lean_object* x_77; lean_object* x_78; -lean_dec(x_69); -x_77 = lean_box(0); -x_78 = l_Lean_Elab_Term_expandHave___lambda__2(x_1, x_62, x_58, x_5, x_51, x_63, x_20, x_12, x_6, x_77, x_2, x_3); -lean_dec(x_1); -return x_78; -} -} -} -} -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -lean_dec(x_5); -x_79 = l_Lean_Syntax_getArg(x_50, x_16); -x_80 = l_Lean_Syntax_getArg(x_50, x_10); -x_81 = lean_unsigned_to_nat(2u); -x_82 = l_Lean_Syntax_getArg(x_50, x_81); +x_76 = l_Lean_Syntax_getArg(x_50, x_16); +x_77 = l_Lean_Syntax_getArg(x_50, x_10); lean_dec(x_50); -x_83 = l_Lean_Syntax_isNone(x_82); -if (x_83 == 0) +x_78 = l_Lean_Syntax_getArg(x_17, x_10); +x_79 = l_Lean_Syntax_isNone(x_78); +if (x_79 == 0) { -lean_object* x_84; uint8_t x_85; -x_84 = l_Lean_nullKind; -lean_inc(x_82); -x_85 = l_Lean_Syntax_isNodeOf(x_82, x_84, x_10); +uint8_t x_80; +lean_inc(x_78); +x_80 = l_Lean_Syntax_isNodeOf(x_78, x_51, x_10); +if (x_80 == 0) +{ +lean_object* x_81; lean_object* x_82; +lean_dec(x_78); +lean_dec(x_77); +lean_dec(x_76); +lean_dec(x_17); +lean_dec(x_1); +x_81 = lean_box(1); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_3); +return x_82; +} +else +{ +lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_83 = l_Lean_Syntax_getArg(x_78, x_16); +lean_dec(x_78); +x_84 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__7; +lean_inc(x_83); +x_85 = l_Lean_Syntax_isOfKind(x_83, x_84); if (x_85 == 0) { lean_object* x_86; lean_object* x_87; -lean_dec(x_82); -lean_dec(x_80); -lean_dec(x_79); +lean_dec(x_83); +lean_dec(x_77); +lean_dec(x_76); lean_dec(x_17); lean_dec(x_1); x_86 = lean_box(1); @@ -3804,76 +4080,75 @@ return x_87; } else { -lean_object* x_88; lean_object* x_89; uint8_t x_90; -x_88 = l_Lean_Syntax_getArg(x_82, x_16); -lean_dec(x_82); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__7; -lean_inc(x_88); -x_90 = l_Lean_Syntax_isOfKind(x_88, x_89); -if (x_90 == 0) -{ -lean_object* x_91; lean_object* x_92; -lean_dec(x_88); -lean_dec(x_80); -lean_dec(x_79); -lean_dec(x_17); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_88 = l_Lean_Syntax_getArg(x_83, x_10); +lean_dec(x_83); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_91 = lean_box(0); +x_92 = l_Lean_Elab_Term_expandHave___lambda__5(x_17, x_90, x_1, x_77, x_76, x_91, x_89, x_2, x_3); +lean_dec(x_77); lean_dec(x_1); -x_91 = lean_box(1); -x_92 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_3); +lean_dec(x_17); return x_92; } +} +} else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_93 = l_Lean_Syntax_getArg(x_88, x_10); -lean_dec(x_88); -x_94 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_94, 0, x_93); -x_95 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_96 = lean_box(0); -x_97 = l_Lean_Elab_Term_expandHave___lambda__4(x_17, x_95, x_1, x_80, x_79, x_96, x_94, x_2, x_3); -lean_dec(x_80); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_78); +x_93 = lean_box(0); +x_94 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_95 = lean_box(0); +x_96 = l_Lean_Elab_Term_expandHave___lambda__5(x_17, x_94, x_1, x_77, x_76, x_95, x_93, x_2, x_3); +lean_dec(x_77); lean_dec(x_1); lean_dec(x_17); -return x_97; +return x_96; +} } } } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -lean_dec(x_82); -x_98 = lean_box(0); -x_99 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_100 = lean_box(0); -x_101 = l_Lean_Elab_Term_expandHave___lambda__4(x_17, x_99, x_1, x_80, x_79, x_100, x_98, x_2, x_3); -lean_dec(x_80); -lean_dec(x_1); +lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_97 = l_Lean_Syntax_getArg(x_17, x_16); +x_98 = l_Lean_nullKind; +x_99 = lean_unsigned_to_nat(2u); +lean_inc(x_97); +x_100 = l_Lean_Syntax_isNodeOf(x_97, x_98, x_99); +if (x_100 == 0) +{ +uint8_t x_101; +x_101 = l_Lean_Syntax_isNodeOf(x_97, x_98, x_16); +if (x_101 == 0) +{ +lean_object* x_102; lean_object* x_103; lean_dec(x_17); -return x_101; -} -} -} +lean_dec(x_5); +lean_dec(x_1); +x_102 = lean_box(1); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_3); +return x_103; } else { -lean_object* x_102; lean_object* x_103; uint8_t x_104; -x_102 = l_Lean_Syntax_getArg(x_17, x_16); -x_103 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; -lean_inc(x_102); -x_104 = l_Lean_Syntax_isOfKind(x_102, x_103); -if (x_104 == 0) +lean_object* x_104; uint8_t x_105; +x_104 = l_Lean_Syntax_getArg(x_17, x_10); +x_105 = l_Lean_Syntax_isNone(x_104); +if (x_105 == 0) { -lean_object* x_105; uint8_t x_106; -x_105 = l_Lean_Parser_Term_haveNoIdLhs___closed__2; -lean_inc(x_102); -x_106 = l_Lean_Syntax_isOfKind(x_102, x_105); +uint8_t x_106; +lean_inc(x_104); +x_106 = l_Lean_Syntax_isNodeOf(x_104, x_98, x_10); if (x_106 == 0) { lean_object* x_107; lean_object* x_108; -lean_dec(x_102); +lean_dec(x_104); lean_dec(x_17); lean_dec(x_5); lean_dec(x_1); @@ -3886,8 +4161,8 @@ return x_108; else { lean_object* x_109; lean_object* x_110; uint8_t x_111; -x_109 = l_Lean_Syntax_getArg(x_102, x_16); -lean_dec(x_102); +x_109 = l_Lean_Syntax_getArg(x_104, x_16); +lean_dec(x_104); x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__7; lean_inc(x_109); x_111 = l_Lean_Syntax_isOfKind(x_109, x_110); @@ -3906,134 +4181,113 @@ return x_113; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; x_114 = l_Lean_Syntax_getArg(x_109, x_10); lean_dec(x_109); -x_115 = lean_unsigned_to_nat(2u); -x_116 = l_Lean_Syntax_getArg(x_17, x_115); -lean_dec(x_17); -x_117 = l_Lean_Syntax_getArg(x_1, x_115); -x_118 = l_Lean_Syntax_isNone(x_117); -if (x_118 == 0) -{ -lean_object* x_119; uint8_t x_120; -x_119 = l_Lean_nullKind; -x_120 = l_Lean_Syntax_isNodeOf(x_117, x_119, x_10); -if (x_120 == 0) -{ -lean_object* x_121; lean_object* x_122; -lean_dec(x_116); -lean_dec(x_114); -lean_dec(x_5); +x_115 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_115, 0, x_114); +x_116 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_117 = lean_box(0); +x_118 = l_Lean_Elab_Term_expandHave___lambda__7(x_17, x_1, x_5, x_18, x_12, x_6, x_116, x_117, x_115, x_2, x_3); lean_dec(x_1); -x_121 = lean_box(1); -x_122 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_3); +lean_dec(x_17); +return x_118; +} +} +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +lean_dec(x_104); +x_119 = lean_box(0); +x_120 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_121 = lean_box(0); +x_122 = l_Lean_Elab_Term_expandHave___lambda__7(x_17, x_1, x_5, x_18, x_12, x_6, x_120, x_121, x_119, x_2, x_3); +lean_dec(x_1); +lean_dec(x_17); return x_122; } -else -{ -lean_object* x_123; lean_object* x_124; -x_123 = lean_box(0); -x_124 = l_Lean_Elab_Term_expandHave___lambda__5(x_1, x_114, x_110, x_5, x_103, x_116, x_18, x_12, x_6, x_123, x_2, x_3); -lean_dec(x_1); -return x_124; } } else { -lean_object* x_125; lean_object* x_126; -lean_dec(x_117); -x_125 = lean_box(0); -x_126 = l_Lean_Elab_Term_expandHave___lambda__5(x_1, x_114, x_110, x_5, x_103, x_116, x_18, x_12, x_6, x_125, x_2, x_3); -lean_dec(x_1); -return x_126; -} -} -} -} -else -{ -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; uint8_t x_131; +lean_object* x_123; lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_dec(x_5); -x_127 = l_Lean_Syntax_getArg(x_102, x_16); -x_128 = l_Lean_Syntax_getArg(x_102, x_10); -x_129 = lean_unsigned_to_nat(2u); -x_130 = l_Lean_Syntax_getArg(x_102, x_129); -lean_dec(x_102); -x_131 = l_Lean_Syntax_isNone(x_130); -if (x_131 == 0) +x_123 = l_Lean_Syntax_getArg(x_97, x_16); +x_124 = l_Lean_Syntax_getArg(x_97, x_10); +lean_dec(x_97); +x_125 = l_Lean_Syntax_getArg(x_17, x_10); +x_126 = l_Lean_Syntax_isNone(x_125); +if (x_126 == 0) { -lean_object* x_132; uint8_t x_133; -x_132 = l_Lean_nullKind; +uint8_t x_127; +lean_inc(x_125); +x_127 = l_Lean_Syntax_isNodeOf(x_125, x_98, x_10); +if (x_127 == 0) +{ +lean_object* x_128; lean_object* x_129; +lean_dec(x_125); +lean_dec(x_124); +lean_dec(x_123); +lean_dec(x_17); +lean_dec(x_1); +x_128 = lean_box(1); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_3); +return x_129; +} +else +{ +lean_object* x_130; lean_object* x_131; uint8_t x_132; +x_130 = l_Lean_Syntax_getArg(x_125, x_16); +lean_dec(x_125); +x_131 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__7; lean_inc(x_130); -x_133 = l_Lean_Syntax_isNodeOf(x_130, x_132, x_10); -if (x_133 == 0) +x_132 = l_Lean_Syntax_isOfKind(x_130, x_131); +if (x_132 == 0) { -lean_object* x_134; lean_object* x_135; +lean_object* x_133; lean_object* x_134; lean_dec(x_130); -lean_dec(x_128); -lean_dec(x_127); +lean_dec(x_124); +lean_dec(x_123); lean_dec(x_17); lean_dec(x_1); -x_134 = lean_box(1); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_3); -return x_135; +x_133 = lean_box(1); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_3); +return x_134; } else { -lean_object* x_136; lean_object* x_137; uint8_t x_138; -x_136 = l_Lean_Syntax_getArg(x_130, x_16); +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_135 = l_Lean_Syntax_getArg(x_130, x_10); lean_dec(x_130); -x_137 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__7; -lean_inc(x_136); -x_138 = l_Lean_Syntax_isOfKind(x_136, x_137); -if (x_138 == 0) -{ -lean_object* x_139; lean_object* x_140; -lean_dec(x_136); -lean_dec(x_128); -lean_dec(x_127); -lean_dec(x_17); -lean_dec(x_1); -x_139 = lean_box(1); -x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_3); -return x_140; -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_141 = l_Lean_Syntax_getArg(x_136, x_10); -lean_dec(x_136); -x_142 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_142, 0, x_141); -x_143 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_144 = lean_box(0); -x_145 = l_Lean_Elab_Term_expandHave___lambda__7(x_17, x_1, x_128, x_143, x_127, x_144, x_142, x_2, x_3); -lean_dec(x_128); +x_136 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_137 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_138 = lean_box(0); +x_139 = l_Lean_Elab_Term_expandHave___lambda__9(x_17, x_1, x_124, x_137, x_123, x_138, x_136, x_2, x_3); +lean_dec(x_124); lean_dec(x_1); lean_dec(x_17); -return x_145; +return x_139; } } } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -lean_dec(x_130); -x_146 = lean_box(0); -x_147 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_148 = lean_box(0); -x_149 = l_Lean_Elab_Term_expandHave___lambda__7(x_17, x_1, x_128, x_147, x_127, x_148, x_146, x_2, x_3); -lean_dec(x_128); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_125); +x_140 = lean_box(0); +x_141 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_142 = lean_box(0); +x_143 = l_Lean_Elab_Term_expandHave___lambda__9(x_17, x_1, x_124, x_141, x_123, x_142, x_140, x_2, x_3); +lean_dec(x_124); lean_dec(x_1); lean_dec(x_17); -return x_149; +return x_143; } } } @@ -4052,27 +4306,27 @@ lean_dec(x_1); return x_9; } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_Term_expandHave___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); +lean_object* x_12; +x_12 = l_Lean_Elab_Term_expandHave___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_1); -return x_13; +return x_12; } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_10; -x_10 = l_Lean_Elab_Term_expandHave___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_object* x_12; +x_12 = l_Lean_Elab_Term_expandHave___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_2); +lean_dec(x_3); lean_dec(x_1); -return x_10; +return x_12; } } lean_object* l_Lean_Elab_Term_expandHave___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { @@ -4081,6 +4335,18 @@ _start: lean_object* x_10; x_10 = l_Lean_Elab_Term_expandHave___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l_Lean_Elab_Term_expandHave___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_expandHave___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); @@ -4088,22 +4354,34 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_13; -x_13 = l_Lean_Elab_Term_expandHave___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_11); +lean_object* x_12; +x_12 = l_Lean_Elab_Term_expandHave___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_1); -return x_13; +return x_12; } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Elab_Term_expandHave___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} +lean_object* l_Lean_Elab_Term_expandHave___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Term_expandHave___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Term_expandHave___lambda__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); @@ -4111,11 +4389,11 @@ lean_dec(x_1); return x_10; } } -lean_object* l_Lean_Elab_Term_expandHave___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_expandHave___lambda__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Term_expandHave___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l_Lean_Elab_Term_expandHave___lambda__9(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_6); lean_dec(x_3); @@ -4152,32 +4430,36 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = lean_unsigned_to_nat(3u); -x_11 = l_Lean_Syntax_getArg(x_1, x_10); -x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_8, x_9); -x_13 = !lean_is_exclusive(x_12); -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; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_2); -x_16 = lean_name_mk_string(x_2, x_15); +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_11 = lean_unsigned_to_nat(3u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_9, x_10); +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -x_17 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -x_18 = l_Lean_Parser_Tactic_tacticHave_____closed__5; +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_16 = x_13; +} else { + lean_dec_ref(x_13); + x_16 = lean_box(0); +} +x_17 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; lean_inc(x_2); -x_19 = lean_name_mk_string(x_2, x_18); -x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; +x_18 = lean_name_mk_string(x_2, x_17); +lean_inc(x_14); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_17); +x_20 = l_Lean_Parser_Tactic_tacticHave_____closed__5; lean_inc(x_2); x_21 = lean_name_mk_string(x_2, x_20); -x_22 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; +x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; lean_inc(x_2); x_23 = lean_name_mk_string(x_2, x_22); x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; @@ -4195,626 +4477,136 @@ lean_ctor_set(x_31, 0, x_25); lean_ctor_set(x_31, 1, x_30); x_32 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; x_33 = lean_array_push(x_32, x_31); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_23); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_34 = l_Lean_nullKind___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 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; lean_inc(x_14); -x_36 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_36, 0, x_14); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_38 = lean_array_push(x_37, x_34); -x_39 = lean_array_push(x_38, x_36); -x_40 = lean_array_push(x_39, x_11); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_21); -lean_ctor_set(x_41, 1, x_40); -x_42 = lean_array_push(x_32, x_41); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_19); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_37 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +x_38 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; lean_inc(x_14); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_14); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_array_push(x_32, x_45); -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 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_50 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_51 = lean_array_push(x_50, x_17); -x_52 = lean_array_push(x_51, x_43); -x_53 = lean_array_push(x_52, x_48); -if (lean_obj_tag(x_49) == 0) -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_54 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_14); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_28, x_55); -x_57 = lean_array_push(x_56, x_5); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_6); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_array_push(x_53, x_58); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_16); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_12, 0, x_60); -return x_12; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -lean_dec(x_14); -x_61 = lean_ctor_get(x_49, 0); -lean_inc(x_61); -lean_dec(x_49); -x_62 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_63 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_array_push(x_28, x_63); -x_65 = lean_array_push(x_64, x_5); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_6); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_array_push(x_53, x_66); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_16); -lean_ctor_set(x_68, 1, x_67); -lean_ctor_set(x_12, 0, x_68); -return x_12; -} -} -else -{ -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; 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; -x_69 = lean_ctor_get(x_12, 0); -x_70 = lean_ctor_get(x_12, 1); -lean_inc(x_70); -lean_inc(x_69); -lean_dec(x_12); -x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_2); -x_72 = lean_name_mk_string(x_2, x_71); -lean_inc(x_69); -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_69); -lean_ctor_set(x_73, 1, x_71); -x_74 = l_Lean_Parser_Tactic_tacticHave_____closed__5; -lean_inc(x_2); -x_75 = lean_name_mk_string(x_2, x_74); -x_76 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; -lean_inc(x_2); -x_77 = lean_name_mk_string(x_2, x_76); -x_78 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; -lean_inc(x_2); -x_79 = lean_name_mk_string(x_2, x_78); -x_80 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; -x_81 = lean_name_mk_string(x_2, x_80); -x_82 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_69); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_69); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_85 = lean_array_push(x_84, x_83); -x_86 = lean_array_push(x_85, x_3); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_81); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_89 = lean_array_push(x_88, x_87); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_79); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_69); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_69); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_94 = lean_array_push(x_93, x_90); -x_95 = lean_array_push(x_94, x_92); -x_96 = lean_array_push(x_95, x_11); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_77); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_88, x_97); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_75); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -lean_inc(x_69); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_69); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_array_push(x_88, x_101); -x_103 = l_Lean_nullKind___closed__2; -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_103); -lean_ctor_set(x_104, 1, x_102); -x_105 = l_Lean_Syntax_getHeadInfo_x3f(x_4); -x_106 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_107 = lean_array_push(x_106, x_73); -x_108 = lean_array_push(x_107, x_99); -x_109 = lean_array_push(x_108, x_104); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_110 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_111 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_111, 0, x_69); -lean_ctor_set(x_111, 1, x_110); -x_112 = lean_array_push(x_84, x_111); -x_113 = lean_array_push(x_112, x_5); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_6); -lean_ctor_set(x_114, 1, x_113); -x_115 = lean_array_push(x_109, x_114); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_72); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_70); -return x_117; -} -else -{ -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_dec(x_69); -x_118 = lean_ctor_get(x_105, 0); -lean_inc(x_118); -lean_dec(x_105); -x_119 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_120 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -x_121 = lean_array_push(x_84, x_120); -x_122 = lean_array_push(x_121, x_5); -x_123 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_123, 0, x_6); -lean_ctor_set(x_123, 1, x_122); -x_124 = lean_array_push(x_109, x_123); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_72); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_70); -return x_126; -} -} -} -} -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_unsigned_to_nat(3u); -x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_6, x_7); -x_11 = !lean_is_exclusive(x_10); -if (x_11 == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_12 = lean_ctor_get(x_10, 0); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_2); -x_14 = lean_name_mk_string(x_2, x_13); -lean_inc(x_12); -x_15 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_15, 0, x_12); -lean_ctor_set(x_15, 1, x_13); -x_16 = l_Lean_Parser_Tactic_tacticHave_____closed__5; -lean_inc(x_2); -x_17 = lean_name_mk_string(x_2, x_16); -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; -lean_inc(x_2); -x_19 = lean_name_mk_string(x_2, x_18); -x_20 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; -lean_inc(x_2); -x_21 = lean_name_mk_string(x_2, x_20); -x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; -x_23 = lean_name_mk_string(x_2, x_22); -x_24 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_12); -x_25 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_25, 0, x_12); -lean_ctor_set(x_25, 1, x_24); -x_26 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_27 = lean_array_push(x_26, x_25); -x_28 = lean_array_push(x_27, x_3); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_23); -lean_ctor_set(x_29, 1, x_28); -x_30 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_31 = lean_array_push(x_30, x_29); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_21); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_12); -x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_12); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_36 = lean_array_push(x_35, x_32); -x_37 = lean_array_push(x_36, x_34); -x_38 = lean_array_push(x_37, x_9); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_19); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_14); lean_ctor_set(x_39, 1, x_38); -x_40 = lean_array_push(x_30, x_39); +x_40 = lean_array_push(x_32, x_39); x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_17); +lean_ctor_set(x_41, 0, x_34); lean_ctor_set(x_41, 1, x_40); -x_42 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_12); -lean_ctor_set(x_43, 1, x_42); -x_44 = lean_array_push(x_30, x_43); -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 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_48 = lean_array_push(x_47, x_15); -x_49 = lean_array_push(x_48, x_41); -x_50 = lean_array_push(x_49, x_46); -x_51 = lean_array_push(x_50, x_4); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_14); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_10, 0, x_52); -return x_10; +x_42 = l_Lean_Syntax_getHeadInfo_x3f(x_4); +x_43 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_44 = lean_array_push(x_43, x_19); +if (lean_obj_tag(x_7) == 0) +{ +lean_object* x_76; +x_76 = l_Array_empty___closed__1; +x_45 = x_76; +goto block_75; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; 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_53 = lean_ctor_get(x_10, 0); -x_54 = lean_ctor_get(x_10, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_10); -x_55 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_2); -x_56 = lean_name_mk_string(x_2, x_55); -lean_inc(x_53); -x_57 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_57, 0, x_53); -lean_ctor_set(x_57, 1, x_55); -x_58 = l_Lean_Parser_Tactic_tacticHave_____closed__5; -lean_inc(x_2); -x_59 = lean_name_mk_string(x_2, x_58); -x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; -lean_inc(x_2); -x_61 = lean_name_mk_string(x_2, x_60); -x_62 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; -lean_inc(x_2); -x_63 = lean_name_mk_string(x_2, x_62); -x_64 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; -x_65 = lean_name_mk_string(x_2, x_64); -x_66 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_53); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_53); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_69 = lean_array_push(x_68, x_67); -x_70 = lean_array_push(x_69, x_3); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_77 = lean_ctor_get(x_7, 0); +lean_inc(x_77); +lean_dec(x_7); +x_78 = lean_array_push(x_28, x_77); +x_79 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_80 = lean_array_push(x_78, x_79); +x_45 = x_80; +goto block_75; +} +block_75: +{ +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; +x_46 = l_Array_empty___closed__1; +x_47 = l_Array_append___rarg(x_46, x_45); +lean_dec(x_45); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_34); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_array_push(x_43, x_48); +x_50 = lean_array_push(x_49, x_35); +x_51 = lean_array_push(x_50, x_37); +x_52 = lean_array_push(x_51, x_12); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_23); +lean_ctor_set(x_53, 1, x_52); +x_54 = lean_array_push(x_32, x_53); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_21); +lean_ctor_set(x_55, 1, x_54); +x_56 = lean_array_push(x_44, x_55); +x_57 = lean_array_push(x_56, x_41); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_58 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_14); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_array_push(x_28, x_59); +x_61 = lean_array_push(x_60, x_5); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_6); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_array_push(x_57, x_62); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_18); +lean_ctor_set(x_64, 1, x_63); +if (lean_is_scalar(x_16)) { + x_65 = lean_alloc_ctor(0, 2, 0); +} else { + x_65 = x_16; +} +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_15); +return x_65; +} +else +{ +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_dec(x_14); +x_66 = lean_ctor_get(x_42, 0); +lean_inc(x_66); +lean_dec(x_42); +x_67 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_array_push(x_28, x_68); +x_70 = lean_array_push(x_69, x_5); x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_65); +lean_ctor_set(x_71, 0, x_6); lean_ctor_set(x_71, 1, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_73 = lean_array_push(x_72, x_71); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_63); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_53); -x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_53); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_78 = lean_array_push(x_77, x_74); -x_79 = lean_array_push(x_78, x_76); -x_80 = lean_array_push(x_79, x_9); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_61); -lean_ctor_set(x_81, 1, x_80); -x_82 = lean_array_push(x_72, x_81); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_59); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_53); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_72, x_85); -x_87 = l_Lean_nullKind___closed__2; -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_90 = lean_array_push(x_89, x_57); -x_91 = lean_array_push(x_90, x_83); -x_92 = lean_array_push(x_91, x_88); -x_93 = lean_array_push(x_92, x_4); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_56); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_54); -return x_95; +x_72 = lean_array_push(x_57, x_71); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_18); +lean_ctor_set(x_73, 1, x_72); +if (lean_is_scalar(x_16)) { + x_74 = lean_alloc_ctor(0, 2, 0); +} else { + x_74 = x_16; +} +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_15); +return x_74; } } } -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +} +static lean_object* _init_l_Lean_Elab_Term_expandSuffices___lambda__2___closed__1() { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_11 = lean_unsigned_to_nat(3u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_71____spec__1(x_9, x_10); -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 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; -x_15 = lean_ctor_get(x_13, 0); -x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_2); -x_17 = lean_name_mk_string(x_2, x_16); -lean_inc(x_15); -x_18 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_18, 0, x_15); -lean_ctor_set(x_18, 1, x_16); -x_19 = l_Lean_Parser_Tactic_tacticHave_____closed__5; -lean_inc(x_2); -x_20 = lean_name_mk_string(x_2, x_19); -x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; -lean_inc(x_2); -x_22 = lean_name_mk_string(x_2, x_21); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; -lean_inc(x_2); -x_24 = lean_name_mk_string(x_2, x_23); -x_25 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; -x_26 = lean_name_mk_string(x_2, x_25); -x_27 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_15); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_15); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_30 = lean_array_push(x_29, x_28); -x_31 = lean_array_push(x_30, x_3); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_26); -lean_ctor_set(x_32, 1, x_31); -x_33 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_34 = lean_array_push(x_33, x_32); -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 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_38 = lean_array_push(x_37, x_4); -x_39 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_40 = lean_array_push(x_38, x_39); -x_41 = lean_array_push(x_40, x_36); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_24); -lean_ctor_set(x_42, 1, x_41); -x_43 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_15); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_15); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_array_push(x_37, x_42); -x_46 = lean_array_push(x_45, x_44); -x_47 = lean_array_push(x_46, x_12); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_22); -lean_ctor_set(x_48, 1, x_47); -x_49 = lean_array_push(x_33, x_48); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_20); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -lean_inc(x_15); -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_15); -lean_ctor_set(x_52, 1, x_51); -x_53 = lean_array_push(x_33, x_52); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_35); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Syntax_getHeadInfo_x3f(x_5); -x_56 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_57 = lean_array_push(x_56, x_18); -x_58 = lean_array_push(x_57, x_50); -x_59 = lean_array_push(x_58, x_54); -if (lean_obj_tag(x_55) == 0) -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_60 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_61 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_61, 0, x_15); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_array_push(x_29, x_61); -x_63 = lean_array_push(x_62, x_6); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_7); -lean_ctor_set(x_64, 1, x_63); -x_65 = lean_array_push(x_59, x_64); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_17); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_13, 0, x_66); -return x_13; -} -else -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -lean_dec(x_15); -x_67 = lean_ctor_get(x_55, 0); -lean_inc(x_67); -lean_dec(x_55); -x_68 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_69 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_array_push(x_29, x_69); -x_71 = lean_array_push(x_70, x_6); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_7); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_59, x_72); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_17); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_13, 0, x_74); -return x_13; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_2 = l_myMacro____x40_Init_NotationExtra___hyg_4848____lambda__3___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } -else -{ -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_75 = lean_ctor_get(x_13, 0); -x_76 = lean_ctor_get(x_13, 1); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_13); -x_77 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; -lean_inc(x_2); -x_78 = lean_name_mk_string(x_2, x_77); -lean_inc(x_75); -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_75); -lean_ctor_set(x_79, 1, x_77); -x_80 = l_Lean_Parser_Tactic_tacticHave_____closed__5; -lean_inc(x_2); -x_81 = lean_name_mk_string(x_2, x_80); -x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; -lean_inc(x_2); -x_83 = lean_name_mk_string(x_2, x_82); -x_84 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; -lean_inc(x_2); -x_85 = lean_name_mk_string(x_2, x_84); -x_86 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; -x_87 = lean_name_mk_string(x_2, x_86); -x_88 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_75); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_75); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_91 = lean_array_push(x_90, x_89); -x_92 = lean_array_push(x_91, x_3); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_87); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_95 = lean_array_push(x_94, x_93); -x_96 = l_Lean_nullKind___closed__2; -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_99 = lean_array_push(x_98, x_4); -x_100 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_101 = lean_array_push(x_99, x_100); -x_102 = lean_array_push(x_101, x_97); -x_103 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_103, 0, x_85); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_75); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_75); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_98, x_103); -x_107 = lean_array_push(x_106, x_105); -x_108 = lean_array_push(x_107, x_12); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_83); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_array_push(x_94, x_109); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_81); -lean_ctor_set(x_111, 1, x_110); -x_112 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -lean_inc(x_75); -x_113 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_113, 0, x_75); -lean_ctor_set(x_113, 1, x_112); -x_114 = lean_array_push(x_94, x_113); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_96); -lean_ctor_set(x_115, 1, x_114); -x_116 = l_Lean_Syntax_getHeadInfo_x3f(x_5); -x_117 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_118 = lean_array_push(x_117, x_79); -x_119 = lean_array_push(x_118, x_111); -x_120 = lean_array_push(x_119, x_115); -if (lean_obj_tag(x_116) == 0) -{ -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; -x_121 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_122 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_122, 0, x_75); -lean_ctor_set(x_122, 1, x_121); -x_123 = lean_array_push(x_90, x_122); -x_124 = lean_array_push(x_123, x_6); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_7); -lean_ctor_set(x_125, 1, x_124); -x_126 = lean_array_push(x_120, x_125); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_78); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_76); -return x_128; -} -else -{ -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -lean_dec(x_75); -x_129 = lean_ctor_get(x_116, 0); -lean_inc(x_129); -lean_dec(x_116); -x_130 = l_myMacro____x40_Init_Notation___hyg_19525____closed__3; -x_131 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_131, 0, x_129); -lean_ctor_set(x_131, 1, x_130); -x_132 = lean_array_push(x_90, x_131); -x_133 = lean_array_push(x_132, x_6); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_7); -lean_ctor_set(x_134, 1, x_133); -x_135 = lean_array_push(x_120, x_134); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_78); -lean_ctor_set(x_136, 1, x_135); -x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_76); -return x_137; -} -} -} -} -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -4824,7 +4616,7 @@ x_11 = l_Lean_MonadRef_mkInfoFromRefPos___at_myMacro____x40_Init_Notation___hyg_ x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_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_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; x_13 = lean_ctor_get(x_11, 0); x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; lean_inc(x_2); @@ -4839,156 +4631,373 @@ x_18 = lean_name_mk_string(x_2, x_17); x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; lean_inc(x_2); x_20 = lean_name_mk_string(x_2, x_19); -x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; -lean_inc(x_2); +x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; x_22 = lean_name_mk_string(x_2, x_21); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; -x_24 = lean_name_mk_string(x_2, x_23); -x_25 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +x_23 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; lean_inc(x_13); -x_26 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_26, 0, x_13); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_28 = lean_array_push(x_27, x_26); -x_29 = lean_array_push(x_28, x_3); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_24); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_nullKind___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 = l_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_36 = lean_array_push(x_35, x_4); -x_37 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_38 = lean_array_push(x_36, x_37); -x_39 = lean_array_push(x_38, x_34); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_22); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_13); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_26 = lean_array_push(x_25, x_24); +x_27 = lean_array_push(x_26, x_3); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_30 = lean_array_push(x_29, x_28); +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 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; lean_inc(x_13); -x_42 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_42, 0, x_13); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_array_push(x_35, x_40); -x_44 = lean_array_push(x_43, x_42); -x_45 = lean_array_push(x_44, x_10); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_20); -lean_ctor_set(x_46, 1, x_45); -x_47 = lean_array_push(x_31, x_46); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_18); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_13); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_array_push(x_31, x_50); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_33); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_54 = lean_array_push(x_53, x_16); -x_55 = lean_array_push(x_54, x_48); -x_56 = lean_array_push(x_55, x_52); -x_57 = lean_array_push(x_56, x_5); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_15); -lean_ctor_set(x_58, 1, x_57); -lean_ctor_set(x_11, 0, x_58); +x_34 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_34, 0, x_13); +lean_ctor_set(x_34, 1, x_33); +x_35 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_13); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_array_push(x_29, x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_31); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_40 = lean_array_push(x_39, x_16); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_41 = l_Lean_Elab_Term_expandSuffices___lambda__2___closed__1; +x_42 = lean_array_push(x_41, x_32); +x_43 = lean_array_push(x_42, x_34); +x_44 = lean_array_push(x_43, x_10); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_20); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_array_push(x_29, x_45); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_18); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_array_push(x_40, x_47); +x_49 = lean_array_push(x_48, x_38); +x_50 = lean_array_push(x_49, x_5); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_15); +lean_ctor_set(x_51, 1, x_50); +lean_ctor_set(x_11, 0, x_51); return x_11; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; 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_59 = lean_ctor_get(x_11, 0); -x_60 = lean_ctor_get(x_11, 1); -lean_inc(x_60); -lean_inc(x_59); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_52 = lean_ctor_get(x_4, 0); +lean_inc(x_52); +lean_dec(x_4); +x_53 = lean_array_push(x_25, x_52); +x_54 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_55 = lean_array_push(x_53, x_54); +x_56 = l_Array_empty___closed__1; +x_57 = l_Array_append___rarg(x_56, x_55); +lean_dec(x_55); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_31); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_39, x_58); +x_60 = lean_array_push(x_59, x_32); +x_61 = lean_array_push(x_60, x_34); +x_62 = lean_array_push(x_61, x_10); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_20); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_array_push(x_29, x_63); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_18); +lean_ctor_set(x_65, 1, x_64); +x_66 = lean_array_push(x_40, x_65); +x_67 = lean_array_push(x_66, x_38); +x_68 = lean_array_push(x_67, x_5); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_15); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_11, 0, x_69); +return x_11; +} +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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_70 = lean_ctor_get(x_11, 0); +x_71 = lean_ctor_get(x_11, 1); +lean_inc(x_71); +lean_inc(x_70); lean_dec(x_11); -x_61 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; +x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__2; lean_inc(x_2); -x_62 = lean_name_mk_string(x_2, x_61); -lean_inc(x_59); -x_63 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_63, 0, x_59); -lean_ctor_set(x_63, 1, x_61); -x_64 = l_Lean_Parser_Tactic_tacticHave_____closed__5; +x_73 = lean_name_mk_string(x_2, x_72); +lean_inc(x_70); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_70); +lean_ctor_set(x_74, 1, x_72); +x_75 = l_Lean_Parser_Tactic_tacticHave_____closed__5; lean_inc(x_2); -x_65 = lean_name_mk_string(x_2, x_64); -x_66 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; +x_76 = lean_name_mk_string(x_2, x_75); +x_77 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__2; lean_inc(x_2); -x_67 = lean_name_mk_string(x_2, x_66); -x_68 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; -lean_inc(x_2); -x_69 = lean_name_mk_string(x_2, x_68); -x_70 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; -x_71 = lean_name_mk_string(x_2, x_70); -x_72 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; -lean_inc(x_59); -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_59); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; -x_75 = lean_array_push(x_74, x_73); -x_76 = lean_array_push(x_75, x_3); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_71); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; -x_79 = lean_array_push(x_78, x_77); -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_unexpand____x40_Init_Notation___hyg_1981____closed__1; -x_83 = lean_array_push(x_82, x_4); -x_84 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; -x_85 = lean_array_push(x_83, x_84); -x_86 = lean_array_push(x_85, x_81); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_69); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; -lean_inc(x_59); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_59); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_82, x_87); -x_91 = lean_array_push(x_90, x_89); -x_92 = lean_array_push(x_91, x_10); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_67); -lean_ctor_set(x_93, 1, x_92); -x_94 = lean_array_push(x_78, x_93); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_65); -lean_ctor_set(x_95, 1, x_94); -x_96 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_59); -lean_ctor_set(x_97, 1, x_96); -x_98 = lean_array_push(x_78, x_97); -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 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; -x_101 = lean_array_push(x_100, x_63); -x_102 = lean_array_push(x_101, x_95); -x_103 = lean_array_push(x_102, x_99); -x_104 = lean_array_push(x_103, x_5); +x_78 = lean_name_mk_string(x_2, x_77); +x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__6; +x_80 = lean_name_mk_string(x_2, x_79); +x_81 = l_myMacro____x40_Init_Notation___hyg_14133____closed__9; +lean_inc(x_70); +x_82 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_82, 0, x_70); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_myMacro____x40_Init_Notation___hyg_1318____closed__8; +x_84 = lean_array_push(x_83, x_82); +x_85 = lean_array_push(x_84, x_3); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_80); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_myMacro____x40_Init_Notation___hyg_71____closed__2; +x_88 = lean_array_push(x_87, x_86); +x_89 = l_Lean_nullKind___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 = l_myMacro____x40_Init_Notation___hyg_14569____closed__11; +lean_inc(x_70); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_70); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_myMacro____x40_Init_Notation___hyg_14569____closed__13; +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_70); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_87, x_94); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_89); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_myMacro____x40_Init_Notation___hyg_928____closed__7; +x_98 = lean_array_push(x_97, x_74); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; 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_99 = l_Lean_Elab_Term_expandSuffices___lambda__2___closed__1; +x_100 = lean_array_push(x_99, x_90); +x_101 = lean_array_push(x_100, x_92); +x_102 = lean_array_push(x_101, x_10); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_78); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_array_push(x_87, x_103); x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_62); +lean_ctor_set(x_105, 0, x_76); lean_ctor_set(x_105, 1, x_104); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_60); -return x_106; +x_106 = lean_array_push(x_98, x_105); +x_107 = lean_array_push(x_106, x_96); +x_108 = lean_array_push(x_107, x_5); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_73); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_71); +return x_110; +} +else +{ +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; +x_111 = lean_ctor_get(x_4, 0); +lean_inc(x_111); +lean_dec(x_4); +x_112 = lean_array_push(x_83, x_111); +x_113 = l_myMacro____x40_Init_Notation___hyg_1318____closed__9; +x_114 = lean_array_push(x_112, x_113); +x_115 = l_Array_empty___closed__1; +x_116 = l_Array_append___rarg(x_115, x_114); +lean_dec(x_114); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_89); +lean_ctor_set(x_117, 1, x_116); +x_118 = lean_array_push(x_97, x_117); +x_119 = lean_array_push(x_118, x_90); +x_120 = lean_array_push(x_119, x_92); +x_121 = lean_array_push(x_120, x_10); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_78); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_87, x_122); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_76); +lean_ctor_set(x_124, 1, x_123); +x_125 = lean_array_push(x_98, x_124); +x_126 = lean_array_push(x_125, x_96); +x_127 = lean_array_push(x_126, x_5); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_73); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_71); +return x_129; +} +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_unsigned_to_nat(1u); +x_10 = l_Lean_Syntax_getArg(x_1, x_9); +x_11 = lean_unsigned_to_nat(2u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__3; +lean_inc(x_2); +x_14 = lean_name_mk_string(x_2, x_13); +lean_inc(x_12); +x_15 = l_Lean_Syntax_isOfKind(x_12, x_14); +lean_dec(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_myMacro____x40_Init_Notation___hyg_19525____closed__1; +lean_inc(x_2); +x_17 = lean_name_mk_string(x_2, x_16); +lean_inc(x_12); +x_18 = l_Lean_Syntax_isOfKind(x_12, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_17); +lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_box(1); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_8); +return x_20; +} +else +{ +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; uint8_t x_28; +x_21 = lean_unsigned_to_nat(0u); +x_22 = l_Lean_Syntax_getArg(x_12, x_21); +x_23 = l_Lean_Syntax_getArg(x_12, x_9); +lean_dec(x_12); +x_24 = l_Lean_Parser_Tactic_intro___closed__1; +x_25 = lean_name_mk_string(x_3, x_24); +x_26 = l_Lean_Parser_Tactic_case___closed__10; +x_27 = lean_name_mk_string(x_25, x_26); +lean_inc(x_23); +x_28 = l_Lean_Syntax_isOfKind(x_23, x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_2); +x_29 = lean_box(1); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_8); +return x_30; +} +else +{ +lean_object* x_31; uint8_t x_32; +x_31 = l_Lean_Syntax_getArg(x_4, x_11); +x_32 = l_Lean_Syntax_isNone(x_31); +if (x_32 == 0) +{ +lean_object* x_33; uint8_t x_34; +x_33 = l_Lean_nullKind; +x_34 = l_Lean_Syntax_isNodeOf(x_31, x_33, x_9); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_23); +lean_dec(x_22); +lean_dec(x_17); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_2); +x_35 = lean_box(1); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_8); +return x_36; +} +else +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_box(0); +x_38 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_4, x_2, x_10, x_22, x_23, x_17, x_6, x_37, x_7, x_8); +lean_dec(x_22); +return x_38; +} +} +else +{ +lean_object* x_39; lean_object* x_40; +lean_dec(x_31); +x_39 = lean_box(0); +x_40 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_4, x_2, x_10, x_22, x_23, x_17, x_6, x_39, x_7, x_8); +lean_dec(x_22); +return x_40; +} +} +} +} +else +{ +lean_object* x_41; lean_object* x_42; uint8_t x_43; +lean_dec(x_3); +x_41 = l_Lean_Syntax_getArg(x_12, x_9); +lean_dec(x_12); +x_42 = l_Lean_Syntax_getArg(x_4, x_11); +x_43 = l_Lean_Syntax_isNone(x_42); +if (x_43 == 0) +{ +lean_object* x_44; uint8_t x_45; +x_44 = l_Lean_nullKind; +x_45 = l_Lean_Syntax_isNodeOf(x_42, x_44, x_9); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; +lean_dec(x_41); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_2); +x_46 = lean_box(1); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_8); +return x_47; +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_box(0); +x_49 = l_Lean_Elab_Term_expandSuffices___lambda__2(x_4, x_2, x_10, x_6, x_41, x_48, x_7, x_8); +return x_49; +} +} +else +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_42); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Term_expandSuffices___lambda__2(x_4, x_2, x_10, x_6, x_41, x_50, x_7, x_8); +return x_51; +} } } } @@ -5030,20 +5039,21 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +lean_object* x_14; lean_object* x_15; uint8_t x_16; x_14 = lean_unsigned_to_nat(0u); x_15 = l_Lean_Syntax_getArg(x_9, x_14); -x_16 = l_Lean_nullKind; -x_17 = lean_unsigned_to_nat(2u); -lean_inc(x_15); -x_18 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_17); -if (x_18 == 0) +x_16 = l_Lean_Syntax_isNone(x_15); +if (x_16 == 0) { -uint8_t x_19; -x_19 = l_Lean_Syntax_isNodeOf(x_15, x_16, x_14); +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_nullKind; +x_18 = lean_unsigned_to_nat(2u); +lean_inc(x_15); +x_19 = l_Lean_Syntax_isNodeOf(x_15, x_17, x_18); if (x_19 == 0) { lean_object* x_20; lean_object* x_21; +lean_dec(x_15); lean_dec(x_9); lean_dec(x_1); x_20 = lean_box(1); @@ -5054,362 +5064,72 @@ return x_21; } else { -lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_22 = l_Lean_Syntax_getArg(x_9, x_8); -x_23 = l_Lean_Syntax_getArg(x_9, x_17); -lean_dec(x_9); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4; -lean_inc(x_23); -x_25 = l_Lean_Syntax_isOfKind(x_23, x_24); -if (x_25 == 0) -{ -lean_object* x_26; uint8_t x_27; -x_26 = l_myMacro____x40_Init_Notation___hyg_19525____closed__2; -lean_inc(x_23); -x_27 = l_Lean_Syntax_isOfKind(x_23, x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_1); -x_28 = lean_box(1); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_3); -return x_29; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = l_Lean_Syntax_getArg(x_23, x_14); -x_31 = l_Lean_Syntax_getArg(x_23, x_8); -lean_dec(x_23); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; -lean_inc(x_31); -x_33 = l_Lean_Syntax_isOfKind(x_31, x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_22); -lean_dec(x_1); -x_34 = lean_box(1); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_3); -return x_35; -} -else -{ -lean_object* x_36; uint8_t x_37; -x_36 = l_Lean_Syntax_getArg(x_1, x_17); -x_37 = l_Lean_Syntax_isNone(x_36); -if (x_37 == 0) -{ -uint8_t x_38; -x_38 = l_Lean_Syntax_isNodeOf(x_36, x_16, x_8); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_22); -lean_dec(x_1); -x_39 = lean_box(1); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_39); -lean_ctor_set(x_40, 1, x_3); -return x_40; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_42 = lean_box(0); -x_43 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_1, x_41, x_22, x_30, x_31, x_26, x_42, x_2, x_3); -lean_dec(x_30); -lean_dec(x_1); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_36); -x_44 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_45 = lean_box(0); -x_46 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_1, x_44, x_22, x_30, x_31, x_26, x_45, x_2, x_3); -lean_dec(x_30); -lean_dec(x_1); -return x_46; -} -} -} -} -else -{ -lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_47 = l_Lean_Syntax_getArg(x_23, x_8); -lean_dec(x_23); -x_48 = l_Lean_Syntax_getArg(x_1, x_17); -x_49 = l_Lean_Syntax_isNone(x_48); -if (x_49 == 0) -{ -uint8_t x_50; -x_50 = l_Lean_Syntax_isNodeOf(x_48, x_16, x_8); -if (x_50 == 0) -{ -lean_object* x_51; lean_object* x_52; -lean_dec(x_47); -lean_dec(x_22); -lean_dec(x_1); -x_51 = lean_box(1); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_3); -return x_52; -} -else -{ -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_54 = lean_box(0); -x_55 = l_Lean_Elab_Term_expandSuffices___lambda__2(x_1, x_53, x_22, x_47, x_54, x_2, x_3); -lean_dec(x_1); -return x_55; -} -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_48); -x_56 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_57 = lean_box(0); -x_58 = l_Lean_Elab_Term_expandSuffices___lambda__2(x_1, x_56, x_22, x_47, x_57, x_2, x_3); -lean_dec(x_1); -return x_58; -} -} -} -} -else -{ -lean_object* x_59; lean_object* x_60; uint8_t x_61; -x_59 = l_Lean_Syntax_getArg(x_15, x_14); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = l_Lean_Syntax_getArg(x_15, x_14); lean_dec(x_15); -x_60 = l_Lean_identKind___closed__2; -lean_inc(x_59); -x_61 = l_Lean_Syntax_isOfKind(x_59, x_60); -if (x_61 == 0) -{ -lean_object* x_62; lean_object* x_63; -lean_dec(x_59); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_25 = l_Lean_Parser_Syntax_addPrec___closed__4; +x_26 = lean_box(0); +x_27 = l_Lean_Elab_Term_expandSuffices___lambda__3(x_9, x_24, x_25, x_1, x_26, x_23, x_2, x_3); +lean_dec(x_1); lean_dec(x_9); -lean_dec(x_1); -x_62 = lean_box(1); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_3); -return x_63; +return x_27; +} } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_64 = l_Lean_Syntax_getArg(x_9, x_8); -x_65 = l_Lean_Syntax_getArg(x_9, x_17); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_15); +x_28 = lean_box(0); +x_29 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; +x_30 = l_Lean_Parser_Syntax_addPrec___closed__4; +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Term_expandSuffices___lambda__3(x_9, x_29, x_30, x_1, x_31, x_28, x_2, x_3); +lean_dec(x_1); lean_dec(x_9); -x_66 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17663____closed__4; -lean_inc(x_65); -x_67 = l_Lean_Syntax_isOfKind(x_65, x_66); -if (x_67 == 0) -{ -lean_object* x_68; uint8_t x_69; -x_68 = l_myMacro____x40_Init_Notation___hyg_19525____closed__2; -lean_inc(x_65); -x_69 = l_Lean_Syntax_isOfKind(x_65, x_68); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; -lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_59); -lean_dec(x_1); -x_70 = lean_box(1); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_3); -return x_71; -} -else -{ -lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_72 = l_Lean_Syntax_getArg(x_65, x_14); -x_73 = l_Lean_Syntax_getArg(x_65, x_8); -lean_dec(x_65); -x_74 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15488____closed__3; -lean_inc(x_73); -x_75 = l_Lean_Syntax_isOfKind(x_73, x_74); -if (x_75 == 0) -{ -lean_object* x_76; lean_object* x_77; -lean_dec(x_73); -lean_dec(x_72); -lean_dec(x_64); -lean_dec(x_59); -lean_dec(x_1); -x_76 = lean_box(1); -x_77 = lean_alloc_ctor(1, 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_78; uint8_t x_79; -x_78 = l_Lean_Syntax_getArg(x_1, x_17); -x_79 = l_Lean_Syntax_isNone(x_78); -if (x_79 == 0) -{ -uint8_t x_80; -x_80 = l_Lean_Syntax_isNodeOf(x_78, x_16, x_8); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -lean_dec(x_73); -lean_dec(x_72); -lean_dec(x_64); -lean_dec(x_59); -lean_dec(x_1); -x_81 = lean_box(1); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_3); -return x_82; -} -else -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_84 = lean_box(0); -x_85 = l_Lean_Elab_Term_expandSuffices___lambda__3(x_1, x_83, x_64, x_59, x_72, x_73, x_68, x_84, x_2, x_3); -lean_dec(x_72); -lean_dec(x_1); -return x_85; -} -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_78); -x_86 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_87 = lean_box(0); -x_88 = l_Lean_Elab_Term_expandSuffices___lambda__3(x_1, x_86, x_64, x_59, x_72, x_73, x_68, x_87, x_2, x_3); -lean_dec(x_72); -lean_dec(x_1); -return x_88; -} -} -} -} -else -{ -lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_89 = l_Lean_Syntax_getArg(x_65, x_8); -lean_dec(x_65); -x_90 = l_Lean_Syntax_getArg(x_1, x_17); -x_91 = l_Lean_Syntax_isNone(x_90); -if (x_91 == 0) -{ -uint8_t x_92; -x_92 = l_Lean_Syntax_isNodeOf(x_90, x_16, x_8); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; -lean_dec(x_89); -lean_dec(x_64); -lean_dec(x_59); -lean_dec(x_1); -x_93 = lean_box(1); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_3); -return x_94; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_96 = lean_box(0); -x_97 = l_Lean_Elab_Term_expandSuffices___lambda__4(x_1, x_95, x_64, x_59, x_89, x_96, x_2, x_3); -lean_dec(x_1); -return x_97; -} -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_90); -x_98 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_99 = lean_box(0); -x_100 = l_Lean_Elab_Term_expandSuffices___lambda__4(x_1, x_98, x_64, x_59, x_89, x_99, x_2, x_3); -lean_dec(x_1); -return x_100; +return x_32; } } } } } -} -} -} -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_1); -return x_10; -} -} -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; -x_8 = l_Lean_Elab_Term_expandSuffices___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_8; -} -} -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; -x_11 = l_Lean_Elab_Term_expandSuffices___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_11 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); return x_11; } } -lean_object* l_Lean_Elab_Term_expandSuffices___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; -x_9 = l_Lean_Elab_Term_expandSuffices___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_9 = l_Lean_Elab_Term_expandSuffices___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); return x_9; } } +lean_object* l_Lean_Elab_Term_expandSuffices___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Elab_Term_expandSuffices___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_9; +} +} lean_object* l_Lean_Elab_Term_expandSuffices___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -14642,6 +14362,8 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandHave___closed__1); res = l___regBuiltin_Lean_Elab_Term_expandHave(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Term_expandSuffices___lambda__2___closed__1 = _init_l_Lean_Elab_Term_expandSuffices___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_expandSuffices___lambda__2___closed__1); l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1); res = l___regBuiltin_Lean_Elab_Term_expandSuffices(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 784a81ca51..c9b2289884 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -1456,7 +1456,6 @@ lean_object* l___regBuiltin_Lean_Parser_Command_init__quot_formatter(lean_object lean_object* l_Lean_Parser_Command_unsafe___closed__5; lean_object* l_Lean_Parser_Command_mutual___closed__9; lean_object* l_Lean_Parser_Command_structure_parenthesizer___closed__14; -extern lean_object* l_Lean_Parser_Term_haveIdLhs___closed__1; lean_object* l_Lean_Parser_Command_classInductive___closed__3; extern lean_object* l_Lean_Parser_Term_structInstField___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_resolve__name___closed__7; @@ -2419,6 +2418,7 @@ lean_object* l_Lean_Parser_Command_axiom_formatter___closed__1; lean_object* l_Lean_Parser_Command_synth_formatter___closed__2; lean_object* l_Lean_Parser_Command_noncomputable___elambda__1___closed__4; lean_object* l_Lean_Parser_Command_openSimple___elambda__1___closed__7; +lean_object* l_Lean_Parser_Command_optDeclSig___elambda__1___closed__6; lean_object* l_Lean_Parser_Command_structure___closed__8; extern lean_object* l_Lean_Parser_Term_letRecDecl___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_end___elambda__1___closed__8; @@ -7972,22 +7972,26 @@ return x_4; static lean_object* _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25; -x_2 = l_Lean_Parser_Term_haveIdLhs___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_letIdLhs___elambda__1___closed__6; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_optType; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_5, 0, x_2); +lean_closure_set(x_5, 1, x_4); +return x_5; } } static lean_object* _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__3; -x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_1 = l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____closed__25; +x_2 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__3; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -7997,8 +8001,20 @@ static lean_object* _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4; +x_2 = l_Lean_Parser_Level_paren___elambda__1___closed__12; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__10; -x_2 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4; +x_2 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -8106,7 +8122,7 @@ else lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_dec(x_6); lean_dec(x_4); -x_31 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__5; +x_31 = l_Lean_Parser_Command_optDeclSig___elambda__1___closed__6; x_32 = 1; x_33 = l_Lean_Parser_orelseFnCore(x_8, x_31, x_32, x_1, x_2); return x_33; @@ -49553,6 +49569,8 @@ l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4 = _init_l_Lean_Parser_ lean_mark_persistent(l_Lean_Parser_Command_optDeclSig___elambda__1___closed__4); l_Lean_Parser_Command_optDeclSig___elambda__1___closed__5 = _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed__5(); lean_mark_persistent(l_Lean_Parser_Command_optDeclSig___elambda__1___closed__5); +l_Lean_Parser_Command_optDeclSig___elambda__1___closed__6 = _init_l_Lean_Parser_Command_optDeclSig___elambda__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Command_optDeclSig___elambda__1___closed__6); l_Lean_Parser_Command_optDeclSig___closed__1 = _init_l_Lean_Parser_Command_optDeclSig___closed__1(); lean_mark_persistent(l_Lean_Parser_Command_optDeclSig___closed__1); l_Lean_Parser_Command_optDeclSig___closed__2 = _init_l_Lean_Parser_Command_optDeclSig___closed__2(); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index a9751f10f1..2481a0606d 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -45,7 +45,6 @@ lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__11; lean_object* l_Lean_Parser_Term_haveIdLhs_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__1; lean_object* l_Lean_Parser_Level_quot___closed__3; @@ -191,7 +190,7 @@ lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__5; lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__6; -lean_object* l_Lean_Parser_Term_haveLhs; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__9; lean_object* l_Lean_Parser_Term_pipeProj_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_optional___closed__1; @@ -324,6 +323,7 @@ lean_object* l_Lean_Parser_many(lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__19; extern lean_object* l_Lean_identKind___closed__1; lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__10; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26; lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_formatter(lean_object*); lean_object* l_Lean_Parser_Term_bracketedBinder(uint8_t); lean_object* l_Lean_Parser_Term_structInstLVal_parenthesizer___closed__5; @@ -366,7 +366,6 @@ lean_object* l_Lean_Parser_Term_completion_parenthesizer(lean_object*, lean_obje lean_object* l_Lean_PrettyPrinter_Parenthesizer_lookahead_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_argument___closed__7; lean_object* l_Lean_Parser_Term_inaccessible___closed__9; -lean_object* l_Lean_Parser_Term_haveNoIdLhs___closed__1; lean_object* l_Lean_Parser_Term_char___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_match___closed__7; @@ -392,7 +391,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_12862____closed__9; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__21; lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__1; -lean_object* l_Lean_Parser_Term_haveLhs___closed__3; lean_object* l_Lean_Parser_Command_docComment___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_quotedName___closed__1; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__1; @@ -520,8 +518,6 @@ extern lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__ lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_completion_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_haveNoIdLhs___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__26; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__2; @@ -616,7 +612,6 @@ lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_binderDefault___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_implicitBinder_parenthesizer___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__12; lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__9; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__8; @@ -629,7 +624,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_instBinder___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__2; -lean_object* l_Lean_Parser_Term_haveLhs_formatter___closed__1; +lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__2; extern lean_object* l_Lean_Parser_Level_hole_formatter___closed__2; extern lean_object* l_Lean_Parser_Tactic_tacticHave_____closed__5; lean_object* l_Lean_Parser_Term_byTactic; @@ -642,7 +637,6 @@ lean_object* l_Lean_Parser_tokenWithAntiquotFn(lean_object*, lean_object*, lean_ lean_object* l_Lean_Parser_Term_binderTactic___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_trailing__parser___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_cdot_parenthesizer___closed__5; -lean_object* l_Lean_Parser_Term_haveLhs_formatter___closed__2; lean_object* l_Lean_Parser_Term_bracketedBinder_quot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor___closed__8; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__7; @@ -658,7 +652,6 @@ lean_object* l_Lean_Parser_Term_namedPattern___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_orelse_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__16; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__9; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__7; lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_trueVal___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument_formatter___closed__2; @@ -692,7 +685,6 @@ extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_scientific; lean_object* l_Lean_Parser_Term_unreachable___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__16; lean_object* l___regBuiltin_Lean_Parser_Term_assert_formatter(lean_object*); lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__5; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__6; @@ -706,7 +698,6 @@ lean_object* l_Lean_Parser_Term_bracketedBinder_formatter___boxed(lean_object*, lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__7; lean_object* l_Lean_Parser_Level_quot_formatter___closed__2; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__8; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__24; lean_object* l_Lean_Parser_Term_letrec_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__1; lean_object* l_Lean_Parser_nonReservedSymbolFn(lean_object*, lean_object*, lean_object*); @@ -808,6 +799,7 @@ lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_local___closed__6; lean_object* l_Lean_Parser_Term_attr_quot___closed__6; lean_object* l_Lean_Parser_Term_arrayRef___closed__4; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7; lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__13; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__2; lean_object* l_Lean_Parser_Term_sufficesDecl_formatter___closed__6; @@ -877,6 +869,7 @@ lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__3; lean_object* l_Lean_Parser_addBuiltinParser(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__11; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24; lean_object* l_Lean_Parser_Term_letRecDecls_formatter___closed__1; lean_object* l_Lean_Parser_Term_optIdent___closed__4; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_3076____closed__1; @@ -885,6 +878,7 @@ lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer(uint8_t, lean_objec lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Parser_Term_letRecDecl_formatter___closed__1; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__2; +lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_let__delayed(lean_object*); lean_object* l_Lean_Parser_Term_structInstFieldAbbrev; lean_object* l_Lean_Parser_Term_matchAlt_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -904,6 +898,7 @@ lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_falseVal___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__8; lean_object* lean_string_append(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_haveIdLhs_formatter___closed__2; lean_object* l_Lean_Parser_Term_generalizingParam_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_dbgTrace___closed__6; lean_object* l_Lean_Parser_Term_forInMacro___elambda__1___closed__11; @@ -1020,6 +1015,7 @@ lean_object* l_Lean_Parser_Term_anonymousCtor___closed__9; lean_object* l_Lean_Parser_Term_sorry___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_formatter___closed__1; lean_object* l_Lean_Parser_Level_quot_formatter___closed__3; +lean_object* l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_fieldIdx_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_haveIdDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_falseVal___elambda__1___closed__7; @@ -1037,6 +1033,7 @@ lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_paren_formatter___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19; lean_object* l_Lean_Parser_Term_proj___elambda__1___closed__1; lean_object* l_Lean_Parser_group_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__3; @@ -1075,7 +1072,6 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__6; lean_object* l_Lean_Parser_Term_binderType(uint8_t); -lean_object* l_Lean_Parser_Term_haveIdLhs___closed__5; lean_object* l_Lean_Parser_Term_pipeCompletion___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__13; lean_object* l_Lean_Parser_Term_letDecl___closed__2; @@ -1112,7 +1108,6 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_binop___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letRecDecl; -lean_object* l_Lean_Parser_Term_haveLhs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letRecDecl___closed__8; lean_object* l_Lean_Parser_many_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_explicitUniv___closed__10; @@ -1151,7 +1146,6 @@ lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_hole_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_borrowed; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__19; lean_object* l_Lean_Parser_Term_binrel_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__6; lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__10; @@ -1239,7 +1233,6 @@ lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__17; lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_matchDiscr___closed__5; -lean_object* l_Lean_Parser_Term_haveLhs_parenthesizer___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_dynamicQuot_formatter___closed__1; lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_let___elambda__1___closed__5; @@ -1323,7 +1316,6 @@ lean_object* l_Lean_Parser_Term_assert___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___closed__3; lean_object* l_Lean_Parser_Term_argument___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__21; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_basicFun___closed__7; @@ -1334,7 +1326,6 @@ lean_object* l_Lean_Parser_Term_funBinder_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Tactic_quot(lean_object*); lean_object* l_Lean_Parser_Term_bracketedBinder_quot; -lean_object* l_Lean_Parser_Term_haveIdLhs___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_let__delayed_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_trueVal___closed__1; lean_object* l___regBuiltin_Lean_Parser_Level_quot_formatter(lean_object*); @@ -1346,6 +1337,7 @@ lean_object* l_Lean_Parser_Term_hole_formatter___closed__1; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__2; lean_object* l_Lean_Parser_strLit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letRecDecl___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__6; lean_object* l_Lean_Parser_Term_bracketedBinder_quot___elambda__1___closed__18; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__22; @@ -1371,7 +1363,6 @@ lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__5; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__17; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__18; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__1; lean_object* l_Lean_Parser_Term_whereDecls___closed__1; lean_object* l_Lean_Parser_Term_noImplicitLambda_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_basicFun___closed__10; @@ -1460,7 +1451,6 @@ lean_object* l_Lean_Parser_Term_binderDefault; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__28; lean_object* l_Lean_Parser_Term_assert___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_anonymousCtor_parenthesizer(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__2; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_local___elambda__1___closed__10; lean_object* l_Lean_PrettyPrinter_Formatter_withAntiquot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1497,7 +1487,6 @@ lean_object* l_Lean_Parser_Term_panic_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_noindex_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__7; lean_object* l_Lean_Parser_Term_typeAscription; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__8; lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_simpleBinder___closed__4; lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__4; @@ -1511,6 +1500,7 @@ lean_object* l_Lean_Parser_Term_sort___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17105____closed__4; lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_leading__parser___elambda__1___closed__7; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1; lean_object* l_Lean_Parser_Term_fromTerm___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__12; lean_object* l_Lean_Parser_Term_namedArgument___elambda__1___closed__5; @@ -1540,6 +1530,7 @@ lean_object* l_Lean_Parser_Term_letrec___closed__2; lean_object* l_Lean_Parser_Term_letIdLhs___closed__5; lean_object* l_Lean_Parser_Term_binrel_formatter___closed__2; lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__8; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_dbgTrace; @@ -1592,6 +1583,7 @@ lean_object* l_Lean_Parser_Command_docComment___closed__1; lean_object* l_Lean_Parser_Term_noindex___closed__4; lean_object* l_Lean_Parser_Term_noindex_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__16; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27; lean_object* l_Lean_Parser_Term_match_formatter___closed__8; extern lean_object* l_Array_forInUnsafe_loop___at___private_Init_NotationExtra_0__Lean_mkHintBody___spec__1___closed__2; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__1; @@ -1605,11 +1597,13 @@ lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_paren_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_tupleTail___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8; lean_object* l_Lean_Parser_Term_leading__parser___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__17; lean_object* l_Lean_Parser_Term_assert_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_letrec_formatter(lean_object*); lean_object* l_Lean_Parser_Command_commentBody_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17; lean_object* l___regBuiltin_Lean_Parser_Term_suffices_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_letEqnsDecl___closed__3; @@ -1622,12 +1616,11 @@ lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_pipeCompletion_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_assert___closed__1; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__11; -lean_object* l_Lean_Parser_Term_haveLhs_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_sufficesDecl___closed__3; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__8; +lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_whereDecls___closed__8; lean_object* l_Lean_Parser_Term_nomatch; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__27; lean_object* l_Lean_Parser_Term_parenSpecial; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__9; lean_object* l_Lean_Parser_Term_letIdLhs___elambda__1___closed__6; @@ -1673,7 +1666,6 @@ lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1(lean_object*, lean_obj lean_object* l_Lean_Parser_Term_falseVal___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_dynamicQuot_parenthesizer___closed__5; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__13; lean_object* l___regBuiltin_Lean_Parser_Term_let_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_attributes___closed__5; @@ -1760,7 +1752,6 @@ lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_leading__parser_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_byTactic_parenthesizer___closed__3; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_488____closed__12; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__17; lean_object* l_Lean_Parser_Term_sufficesDecl___closed__5; lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_let__delayed_formatter___closed__2; @@ -1815,6 +1806,7 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__5; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__5; lean_object* l_Lean_Parser_manyIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12; lean_object* l_Lean_Parser_Term_funImplicitBinder___closed__2; lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_matchDiscr_quot___elambda__1___closed__12; @@ -2123,6 +2115,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_subst_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_completion___closed__4; lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__11; lean_object* l_Lean_Parser_Term_trueVal_formatter___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23; lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_generalizingParam___closed__10; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8404____closed__1; @@ -2182,6 +2175,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_simpleBinder_formatter___closed__3; lean_object* l_Lean_Parser_Term_type_formatter___closed__8; lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21; lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_bracketedBinder_quot_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_nomatch___elambda__1(lean_object*, lean_object*); @@ -2231,6 +2225,7 @@ lean_object* l_Lean_Parser_Term_falseVal___closed__6; lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_letIdDecl_formatter___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13; lean_object* l___regBuiltin_Lean_Parser_Term_completion_formatter(lean_object*); lean_object* l_Lean_Parser_Term_borrowed_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__6; @@ -2291,9 +2286,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_funBinder_quot(lean_object*); lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__2; -lean_object* l_Lean_Parser_Term_haveLhs_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_trailing__parser_formatter(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__23; lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__5; lean_object* l_Lean_Parser_Term_fromTerm___closed__7; lean_object* l_Lean_Parser_Term_forInMacro_formatter___closed__2; @@ -2320,7 +2313,6 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_anonymousCtor(lean_object*); lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__9; extern lean_object* l_myMacro____x40_Init_Notation___hyg_13362____closed__13; lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__13; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__13; lean_object* l_Lean_Parser_Term_optEllipsis_formatter___closed__3; lean_object* l_Lean_Parser_Term_show___closed__8; lean_object* l_Lean_Parser_Term_depArrow___closed__1; @@ -2407,7 +2399,6 @@ lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__1; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_explicitBinder___boxed(lean_object*); lean_object* l_Lean_Parser_Term_dynamicQuot___closed__5; -lean_object* l_Lean_Parser_Term_haveLhs___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doubleQuotedName_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_binrel_formatter___closed__1; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__12; @@ -2473,14 +2464,12 @@ lean_object* l_Lean_Parser_evalInsideQuot___elambda__1(lean_object*, lean_object lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_match___closed__1; lean_object* l_Lean_Parser_Term_matchDiscr_quot___closed__8; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__14; lean_object* l_Lean_Parser_Term_sorry_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_leading__parser___closed__4; lean_object* l_Lean_Parser_Command_commentBody___elambda__1___boxed(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_let__fun_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_explicitUniv___closed__4; lean_object* l_Lean_Parser_Term_let__delayed; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__5; lean_object* l_Lean_Parser_Term_hole_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nomatch_formatter___closed__2; lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__3; @@ -2503,7 +2492,6 @@ lean_object* l_Lean_Parser_Term_suffices___elambda__1___lambda__1(lean_object*, lean_object* l_Lean_Parser_Term_suffices_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument___closed__1; lean_object* l_Lean_Parser_Term_binrel___elambda__1___closed__1; -lean_object* l_Lean_Parser_Term_haveNoIdLhs_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__4; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__13; @@ -2514,7 +2502,6 @@ lean_object* l_Lean_Parser_Term_arrow___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__7; lean_object* l_Lean_Parser_Term_explicit_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__18; lean_object* l_Lean_Parser_Term_explicit___closed__7; lean_object* l_Lean_Parser_Term_completion___closed__1; lean_object* l_Lean_Parser_Term_namedPattern___closed__5; @@ -2539,7 +2526,6 @@ lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__4; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_58____closed__4; lean_object* l_Lean_Parser_Term_optEllipsis___closed__5; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; lean_object* l_Lean_Parser_Term_leading__parser___closed__8; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__3; lean_object* l_Lean_Parser_Term_pipeCompletion___closed__3; @@ -2551,6 +2537,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_stateRefT_formatter___closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_arrayRef(lean_object*); lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__11; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_simpleBinderWithoutType; @@ -2593,8 +2580,8 @@ lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_hole___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_letPatDecl_formatter___closed__3; lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__28; lean_object* l_Lean_Parser_Term_namedArgument___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_bracketedBinder_quot_formatter___closed__1; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_bracketedBinder_quot___closed__2; @@ -2610,8 +2597,8 @@ lean_object* l_Lean_Parser_Term_assert_parenthesizer(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_binderDefault___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_explicit_formatter___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__22; lean_object* l_Lean_Parser_Term_have___closed__8; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15; lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__2; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__23; @@ -2624,13 +2611,16 @@ lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_scoped_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr_quot_parenthesizer___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14; lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_funBinder_quot; extern lean_object* l_Lean_Parser_optional_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28; lean_object* l_Lean_Parser_Term_show_formatter___closed__4; lean_object* l_Lean_Parser_Term_trailing__parser_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18; lean_object* l_Lean_Parser_Term_haveIdDecl___closed__3; lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_structInst___closed__12; @@ -2727,6 +2717,7 @@ lean_object* l_Lean_Parser_Term_binrel___closed__2; lean_object* l_Lean_Parser_Term_pipeProj___closed__4; lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_assert___closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25; lean_object* l_Lean_Parser_Term_typeOf_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_cdot___closed__6; lean_object* l_Lean_Parser_Term_arrayRef___closed__6; @@ -2751,7 +2742,6 @@ lean_object* l_Lean_Parser_Term_letEqnsDecl_formatter___closed__1; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_funSimpleBinder_formatter___closed__2; lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__9; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_fun___closed__8; lean_object* l_Lean_Parser_Term_attrInstance; @@ -2841,7 +2831,6 @@ lean_object* l_Lean_Parser_Term_attr_quot_formatter___closed__5; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_generalizingParam___elambda__1___closed__14; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__25; lean_object* l_Lean_Parser_Term_letIdLhs___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_noImplicitLambda_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_show___closed__3; @@ -2873,6 +2862,7 @@ lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__1; lean_object* l_Lean_Parser_Term_explicitBinder___closed__6; lean_object* l_Lean_Parser_Term_noindex___closed__5; lean_object* l_Lean_Parser_Term_haveIdDecl_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22; lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_fun___closed__9; @@ -2903,7 +2893,6 @@ lean_object* l_Lean_Parser_Term_show___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__3; lean_object* l_Lean_Parser_Term_haveEqnsDecl___closed__2; lean_object* l_Lean_Parser_Level_quot_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_haveNoIdLhs; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_haveDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureExpectedType___closed__3; @@ -2939,7 +2928,6 @@ lean_object* l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_let_formatter___closed__4; lean_object* l_Lean_Parser_Term_funSimpleBinder___closed__3; -lean_object* l_Lean_Parser_Term_haveIdLhs___closed__4; lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_formatter(lean_object*); extern lean_object* l_Lean_groupKind; @@ -2953,7 +2941,6 @@ lean_object* l_Lean_Parser_Term_trueVal___closed__5; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__20; lean_object* l_Lean_Parser_Term_haveIdDecl_formatter___closed__4; lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__20; -lean_object* l_Lean_Parser_Term_haveLhs___closed__1; lean_object* l_Lean_Parser_Tactic_seq1___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_namedArgument___closed__8; lean_object* l_Lean_Parser_Term_fromTerm_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3081,7 +3068,6 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_proj(lean_object*); lean_object* l_Lean_Parser_Term_explicit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_quotSeq; lean_object* l_Lean_Parser_Term_optEllipsis___elambda__1(lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__9; lean_object* l_Lean_Parser_Term_funBinder_quot_formatter___closed__6; lean_object* l_Lean_Parser_Term_optType_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_unreachable___closed__4; @@ -3092,7 +3078,6 @@ lean_object* l_Lean_Parser_Term_funBinder_quot_formatter(lean_object*, lean_obje lean_object* l___regBuiltin_Lean_Parser_Term_sort_formatter(lean_object*); lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__4; -lean_object* l_Lean_Parser_Term_haveLhs___closed__2; lean_object* l_Lean_Parser_Term_typeOf___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_typeOf_formatter___closed__1; @@ -3234,6 +3219,7 @@ lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__13; lean_object* l___regBuiltinParser_Lean_Parser_Term_pipeProj(lean_object*); lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_instBinder___closed__8; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9; lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__1; extern lean_object* l_Lean_Parser_tokenWithAntiquotFn___lambda__2___closed__4; lean_object* l_Lean_Parser_Term_sufficesDecl___elambda__1___closed__2; @@ -3493,7 +3479,6 @@ lean_object* l_Lean_Parser_Term_str___closed__1; lean_object* l_Lean_Parser_Term_macroDollarArg___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_fun___closed__5; lean_object* l_Lean_Parser_Command_docComment; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__15; lean_object* l_Lean_Parser_Term_let__fun_formatter___closed__2; lean_object* l_Lean_Parser_Term_argument_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__4; @@ -3517,7 +3502,6 @@ lean_object* l_Lean_Parser_Term_have___closed__4; lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__13; lean_object* l___regBuiltin_Lean_Parser_Term_matchDiscr_quot_parenthesizer(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__3; lean_object* l_Lean_Parser_Term_pipeProj_formatter___closed__4; lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__10; @@ -3636,7 +3620,6 @@ lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__2; lean_object* l_Lean_Parser_Term_depArrow_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Term_haveNoIdLhs_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_funImplicitBinder_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_arrayRef___closed__1; @@ -3777,6 +3760,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_hole_formatter___closed__1; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__5; +lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Command_docComment_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_arrow_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__6; @@ -3790,6 +3774,7 @@ lean_object* l_Lean_Parser_Term_matchAltExpr___closed__1; lean_object* l_Lean_Parser_Term_structInstFieldAbbrev___elambda__1___closed__3; lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__7; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_nomatch_formatter(lean_object*); lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__2; lean_object* l_Lean_Parser_Term_matchAlt___closed__2; @@ -3829,6 +3814,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__19; lean_object* l_Lean_Parser_Term_let_formatter___closed__5; extern lean_object* l_Lean_Parser_Level_hole_parenthesizer___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20; lean_object* l_Lean_Parser_Term_let__fun_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_let__delayed___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_match___closed__11; @@ -3855,7 +3841,6 @@ lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_attrKind___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_let__fun___closed__8; lean_object* l_Lean_Parser_Term_panic___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__20; lean_object* l_Lean_Parser_Term_nomatch_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedPattern_formatter___closed__1; lean_object* l_Lean_Parser_Term_generalizingParam_formatter___closed__8; @@ -3968,7 +3953,6 @@ lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_ellipsis___closed__6; lean_object* l_Lean_Parser_Term_let__delayed_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_basicFun_formatter___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__10; extern lean_object* l_Lean_initFn____x40_Lean_Parser_Extra___hyg_792____closed__11; lean_object* l_Lean_Parser_Term_anonymousCtor_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_let__fun___elambda__1___closed__1; @@ -4148,12 +4132,12 @@ lean_object* l_Lean_Parser_Term_let__delayed___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_arrow_formatter___closed__1; lean_object* l_Lean_Parser_Term_inaccessible_formatter___closed__2; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__10; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16; lean_object* l_Lean_Parser_Term_letRecDecl_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_funBinder_quot___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_explicitUniv(lean_object*); lean_object* l_Lean_Parser_Term_optIdent_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_macroDollarArg___closed__6; -lean_object* l_Lean_Parser_Term_haveNoIdLhs___closed__3; lean_object* l_Lean_Parser_Term_sufficesDecl_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_noImplicitLambda___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_basicFun___closed__4; @@ -4237,7 +4221,6 @@ lean_object* l_Lean_Parser_Term_parenSpecial_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_local___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_falseVal___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_fun_formatter___closed__1; lean_object* l_Lean_Parser_Term_let__delayed_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAltsWhereDecls; @@ -4427,6 +4410,7 @@ extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1094____close lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_letRecDecl___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__16; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6; lean_object* l_Lean_Parser_Term_noindex_formatter___closed__4; lean_object* l___regBuiltinParser_Lean_Parser_Term_borrowed(lean_object*); lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__11; @@ -4456,7 +4440,7 @@ lean_object* l_Lean_Parser_Term_borrowed___elambda__1___closed__14; lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_trueVal___elambda__1___closed__6; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_58_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684_(lean_object*); lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; lean_object* l_Lean_Parser_Term_noindex___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_typeAscription___elambda__1___closed__9; @@ -4532,6 +4516,7 @@ lean_object* l_Lean_Parser_Term_match___closed__10; lean_object* l_Lean_Parser_symbol_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forInMacro_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__4; +lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_whereDecls_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_attrInstance___closed__6; @@ -43018,180 +43003,125 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Term_ident; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_letIdLhs___elambda__1___closed__6; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Term_letIdLhs___elambda__1___closed__6; +x_2 = lean_ctor_get(x_1, 1); +lean_inc(x_2); +x_3 = l_Lean_Parser_Term_ident___closed__1; +x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +lean_closure_set(x_4, 0, x_3); +lean_closure_set(x_4, 1, x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__1; +x_2 = l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__2; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__3; +x_2 = l_Lean_Parser_optional(x_1); +return x_2; +} +} +lean_object* l_Lean_Parser_Term_haveIdLhs___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_3 = l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__4; +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +x_5 = l_Lean_Parser_Term_optType; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_inc(x_1); +x_7 = lean_apply_2(x_4, x_1, x_2); +x_8 = lean_ctor_get(x_7, 4); +lean_inc(x_8); +x_9 = lean_box(0); +x_10 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_671____at_Lean_Parser_ParserState_hasError___spec__1(x_8, x_9); +lean_dec(x_8); +if (x_10 == 0) +{ +lean_dec(x_6); +lean_dec(x_1); +return x_7; +} +else +{ +lean_object* x_11; +x_11 = lean_apply_2(x_6, x_1, x_7); +return x_11; +} +} +} static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_letIdLhs___elambda__1___closed__6; -x_2 = lean_ctor_get(x_1, 1); +x_1 = l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__4; +x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_optType; -x_4 = lean_ctor_get(x_3, 1); +x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); -x_5 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_5, 0, x_2); -lean_closure_set(x_5, 1, x_4); +x_5 = l_Lean_Parser_andthenInfo(x_2, x_4); return x_5; } } static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_letIdLhs___elambda__1___closed__7; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkWsBefore___elambda__1___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveIdLhs___elambda__1), 2, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveIdLhs___closed__2; -x_2 = l_Lean_Parser_Term_haveIdLhs___closed__1; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_ident___closed__1; -x_2 = l_Lean_Parser_Term_haveIdLhs___closed__3; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_letIdLhs___closed__3; -x_2 = l_Lean_Parser_Term_haveIdLhs___closed__4; +x_1 = l_Lean_Parser_Term_haveIdLhs___closed__1; +x_2 = l_Lean_Parser_Term_haveIdLhs___closed__2; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_haveIdLhs___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; -x_3 = l_Lean_Parser_Term_haveIdLhs___closed__5; -x_4 = 0; -x_5 = l_Lean_Parser_nodeWithAntiquot(x_1, x_2, x_3, x_4); -return x_5; -} -} static lean_object* _init_l_Lean_Parser_Term_haveIdLhs() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_haveIdLhs___closed__6; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveNoIdLhs___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("haveNoIdLhs"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveNoIdLhs___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_1997____closed__2; -x_2 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveNoIdLhs___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; -x_2 = l_Lean_Parser_Term_haveNoIdLhs___closed__2; -x_3 = l_Lean_Parser_Term_typeSpec; -x_4 = 0; -x_5 = l_Lean_Parser_nodeWithAntiquot(x_1, x_2, x_3, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveNoIdLhs() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Term_haveNoIdLhs___closed__3; -return x_1; -} -} -lean_object* l_Lean_Parser_Term_haveLhs___elambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; -x_3 = l_Lean_Parser_Term_haveIdLhs; -x_4 = lean_ctor_get(x_3, 1); -lean_inc(x_4); -x_5 = l_Lean_Parser_Term_haveNoIdLhs; -x_6 = lean_ctor_get(x_5, 1); -lean_inc(x_6); -x_7 = 1; -x_8 = l_Lean_Parser_orelseFnCore(x_4, x_6, x_7, x_1, x_2); -return x_8; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_haveIdLhs; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l_Lean_Parser_Term_haveNoIdLhs; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -x_5 = l_Lean_Parser_orelseInfo(x_2, x_4); -return x_5; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveLhs___elambda__1), 2, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveLhs___closed__1; -x_2 = l_Lean_Parser_Term_haveLhs___closed__2; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Term_haveLhs___closed__3; +x_1 = l_Lean_Parser_Term_haveIdLhs___closed__3; return x_1; } } @@ -43199,7 +43129,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveIdDecl___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Term_haveLhs; +x_1 = l_Lean_Parser_Term_haveIdLhs; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_structInstField___closed__1; @@ -43211,7 +43141,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveIdDecl___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_haveLhs___closed__2; +x_1 = l_Lean_Parser_Term_haveIdLhs___closed__2; x_2 = l_Lean_Parser_Term_structInstField___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -43307,7 +43237,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveEqnsDecl___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Term_haveLhs; +x_1 = l_Lean_Parser_Term_haveIdLhs; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l_Lean_Parser_Term_match___elambda__1___closed__5; @@ -43324,7 +43254,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_match___elambda__1___closed__5; x_2 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_haveLhs___closed__2; +x_3 = l_Lean_Parser_Term_haveIdLhs___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_4, 0, x_3); lean_closure_set(x_4, 1, x_2); @@ -44196,60 +44126,30 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Parser_Term_ident_formatter___closed__1; -x_2 = l_Lean_Parser_Term_letIdLhs_formatter___closed__6; +x_2 = l_Lean_Parser_Term_letIdLhs_formatter___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_haveIdLhs_formatter___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveIdLhs_formatter___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} lean_object* l_Lean_Parser_Term_haveIdLhs_formatter(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; uint8_t x_9; lean_object* x_10; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; -x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; -x_8 = l_Lean_Parser_Term_haveIdLhs_formatter___closed__1; -x_9 = 0; -x_10 = l_Lean_Parser_nodeWithAntiquot_formatter(x_6, x_7, x_8, x_9, x_1, x_2, x_3, x_4, x_5); -return x_10; -} -} -lean_object* l_Lean_Parser_Term_haveNoIdLhs_formatter(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; uint8_t x_9; lean_object* x_10; -x_6 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; -x_7 = l_Lean_Parser_Term_haveNoIdLhs___closed__2; -x_8 = l_Lean_Parser_Term_optType_formatter___closed__1; -x_9 = 0; -x_10 = l_Lean_Parser_nodeWithAntiquot_formatter(x_6, x_7, x_8, x_9, x_1, x_2, x_3, x_4, x_5); -return x_10; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs_formatter___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveIdLhs_formatter), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs_formatter___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveNoIdLhs_formatter), 5, 0); -return x_1; -} -} -lean_object* l_Lean_Parser_Term_haveLhs_formatter(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; -x_6 = l_Lean_Parser_Term_haveLhs_formatter___closed__1; -x_7 = l_Lean_Parser_Term_haveLhs_formatter___closed__2; -x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Parser_Term_haveIdLhs_formatter___closed__2; +x_7 = l_Lean_Parser_Term_simpleBinder_formatter___closed__2; +x_8 = l_Lean_PrettyPrinter_Formatter_andthen_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } } @@ -44257,7 +44157,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveIdDecl_formatter___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveLhs_formatter), 5, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveIdLhs_formatter), 5, 0); return x_1; } } @@ -44498,60 +44398,30 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___regBuiltin_Lean_Parser_Term_ident_parenthesizer___closed__1; -x_2 = l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__6; +x_2 = l_Lean_Parser_Term_letIdLhs_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optional_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} lean_object* l_Lean_Parser_Term_haveIdLhs_parenthesizer(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; uint8_t x_9; lean_object* x_10; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__4; -x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_17244____closed__5; -x_8 = l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__1; -x_9 = 0; -x_10 = l_Lean_Parser_nodeWithAntiquot_parenthesizer(x_6, x_7, x_8, x_9, x_1, x_2, x_3, x_4, x_5); -return x_10; -} -} -lean_object* l_Lean_Parser_Term_haveNoIdLhs_parenthesizer(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; uint8_t x_9; lean_object* x_10; -x_6 = l_Lean_Parser_Term_haveNoIdLhs___closed__1; -x_7 = l_Lean_Parser_Term_haveNoIdLhs___closed__2; -x_8 = l_Lean_Parser_Term_optType_parenthesizer___closed__1; -x_9 = 0; -x_10 = l_Lean_Parser_nodeWithAntiquot_parenthesizer(x_6, x_7, x_8, x_9, x_1, x_2, x_3, x_4, x_5); -return x_10; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs_parenthesizer___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveIdLhs_parenthesizer), 5, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Term_haveLhs_parenthesizer___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveNoIdLhs_parenthesizer), 5, 0); -return x_1; -} -} -lean_object* l_Lean_Parser_Term_haveLhs_parenthesizer(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; -x_6 = l_Lean_Parser_Term_haveLhs_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_haveLhs_parenthesizer___closed__2; -x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); +x_6 = l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__2; +x_7 = l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__2; +x_8 = l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } } @@ -44559,7 +44429,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveLhs_parenthesizer), 5, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_haveIdLhs_parenthesizer), 5, 0); return x_1; } } @@ -72891,7 +72761,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -72901,7 +72771,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -72911,7 +72781,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -72921,7 +72791,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -72931,7 +72801,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -72941,7 +72811,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -72951,7 +72821,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -72961,7 +72831,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -72971,7 +72841,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -72981,7 +72851,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -72991,7 +72861,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -73001,7 +72871,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -73011,7 +72881,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -73021,7 +72891,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -73031,7 +72901,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -73041,7 +72911,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -73051,7 +72921,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -73061,7 +72931,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -73071,7 +72941,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -73081,7 +72951,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -73091,7 +72961,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -73101,7 +72971,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__22() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -73111,7 +72981,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__23() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -73121,7 +72991,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__24() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24() { _start: { lean_object* x_1; lean_object* x_2; @@ -73131,7 +73001,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__25() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25() { _start: { lean_object* x_1; lean_object* x_2; @@ -73141,7 +73011,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__26() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -73151,7 +73021,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__27() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27() { _start: { lean_object* x_1; lean_object* x_2; @@ -73161,7 +73031,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__28() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28() { _start: { lean_object* x_1; lean_object* x_2; @@ -73171,13 +73041,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Parser_parserAliasesRef; x_3 = l_Lean_Parser_Tactic_tacticLet_____closed__4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__1; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -73186,7 +73056,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__2; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -73195,7 +73065,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__3; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -73204,7 +73074,7 @@ x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); x_15 = l_Lean_Parser_Tactic_tacticHave_____closed__6; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__4; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -73212,7 +73082,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__5; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -73220,7 +73090,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__6; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -73229,7 +73099,7 @@ x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); x_25 = l_Lean_Parser_Tactic_tacticSuffices_____closed__6; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__7; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -73237,7 +73107,7 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__8; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -73245,7 +73115,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__9; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -73254,7 +73124,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_Tactic_letrec___closed__9; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__10; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -73262,7 +73132,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__11; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -73270,7 +73140,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__12; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -73279,7 +73149,7 @@ x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); x_45 = l_Lean_Parser_Tactic_inductionAlt___closed__15; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__13; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -73287,7 +73157,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); -x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__14; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -73295,7 +73165,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__15; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -73304,7 +73174,7 @@ x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__17; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__16; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -73312,7 +73182,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__17; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -73320,7 +73190,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__18; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -73328,8 +73198,8 @@ lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); -x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__19; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__20; +x_65 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -73337,7 +73207,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); -x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__21; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -73345,7 +73215,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__22; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); if (lean_obj_tag(x_73) == 0) { @@ -73354,7 +73224,7 @@ x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); x_75 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__12; -x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__23; +x_76 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23; x_77 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_75, x_76, x_74); if (lean_obj_tag(x_77) == 0) { @@ -73362,7 +73232,7 @@ lean_object* x_78; lean_object* x_79; lean_object* x_80; x_78 = lean_ctor_get(x_77, 1); lean_inc(x_78); lean_dec(x_77); -x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__24; +x_79 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24; x_80 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_75, x_79, x_78); if (lean_obj_tag(x_80) == 0) { @@ -73370,7 +73240,7 @@ lean_object* x_81; lean_object* x_82; lean_object* x_83; x_81 = lean_ctor_get(x_80, 1); lean_inc(x_81); lean_dec(x_80); -x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__25; +x_82 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25; x_83 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_75, x_82, x_81); if (lean_obj_tag(x_83) == 0) { @@ -73379,7 +73249,7 @@ x_84 = lean_ctor_get(x_83, 1); lean_inc(x_84); lean_dec(x_83); x_85 = l_Lean_command__Unif__hint______Where___x7c_x2d_u22a2_____closed__4; -x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__26; +x_86 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26; x_87 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_85, x_86, x_84); if (lean_obj_tag(x_87) == 0) { @@ -73387,7 +73257,7 @@ lean_object* x_88; lean_object* x_89; lean_object* x_90; x_88 = lean_ctor_get(x_87, 1); lean_inc(x_88); lean_dec(x_87); -x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__27; +x_89 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27; x_90 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_85, x_89, x_88); if (lean_obj_tag(x_90) == 0) { @@ -73395,7 +73265,7 @@ lean_object* x_91; lean_object* x_92; lean_object* x_93; x_91 = lean_ctor_get(x_90, 1); lean_inc(x_91); lean_dec(x_90); -x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__28; +x_92 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28; x_93 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_85, x_92, x_91); return x_93; } @@ -78637,36 +78507,22 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_let__delayed_parenthesizer_ res = l___regBuiltin_Lean_Parser_Term_let__delayed_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__1 = _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__1); +l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__2 = _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__2); +l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__3 = _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__3); +l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__4 = _init_l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___elambda__1___closed__4); l_Lean_Parser_Term_haveIdLhs___closed__1 = _init_l_Lean_Parser_Term_haveIdLhs___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___closed__1); l_Lean_Parser_Term_haveIdLhs___closed__2 = _init_l_Lean_Parser_Term_haveIdLhs___closed__2(); lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___closed__2); l_Lean_Parser_Term_haveIdLhs___closed__3 = _init_l_Lean_Parser_Term_haveIdLhs___closed__3(); lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___closed__3); -l_Lean_Parser_Term_haveIdLhs___closed__4 = _init_l_Lean_Parser_Term_haveIdLhs___closed__4(); -lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___closed__4); -l_Lean_Parser_Term_haveIdLhs___closed__5 = _init_l_Lean_Parser_Term_haveIdLhs___closed__5(); -lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___closed__5); -l_Lean_Parser_Term_haveIdLhs___closed__6 = _init_l_Lean_Parser_Term_haveIdLhs___closed__6(); -lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs___closed__6); l_Lean_Parser_Term_haveIdLhs = _init_l_Lean_Parser_Term_haveIdLhs(); lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs); -l_Lean_Parser_Term_haveNoIdLhs___closed__1 = _init_l_Lean_Parser_Term_haveNoIdLhs___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_haveNoIdLhs___closed__1); -l_Lean_Parser_Term_haveNoIdLhs___closed__2 = _init_l_Lean_Parser_Term_haveNoIdLhs___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_haveNoIdLhs___closed__2); -l_Lean_Parser_Term_haveNoIdLhs___closed__3 = _init_l_Lean_Parser_Term_haveNoIdLhs___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_haveNoIdLhs___closed__3); -l_Lean_Parser_Term_haveNoIdLhs = _init_l_Lean_Parser_Term_haveNoIdLhs(); -lean_mark_persistent(l_Lean_Parser_Term_haveNoIdLhs); -l_Lean_Parser_Term_haveLhs___closed__1 = _init_l_Lean_Parser_Term_haveLhs___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs___closed__1); -l_Lean_Parser_Term_haveLhs___closed__2 = _init_l_Lean_Parser_Term_haveLhs___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs___closed__2); -l_Lean_Parser_Term_haveLhs___closed__3 = _init_l_Lean_Parser_Term_haveLhs___closed__3(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs___closed__3); -l_Lean_Parser_Term_haveLhs = _init_l_Lean_Parser_Term_haveLhs(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs); l_Lean_Parser_Term_haveIdDecl___closed__1 = _init_l_Lean_Parser_Term_haveIdDecl___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_haveIdDecl___closed__1); l_Lean_Parser_Term_haveIdDecl___closed__2 = _init_l_Lean_Parser_Term_haveIdDecl___closed__2(); @@ -78756,10 +78612,8 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_Term_haveIdLhs_formatter___closed__1 = _init_l_Lean_Parser_Term_haveIdLhs_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs_formatter___closed__1); -l_Lean_Parser_Term_haveLhs_formatter___closed__1 = _init_l_Lean_Parser_Term_haveLhs_formatter___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs_formatter___closed__1); -l_Lean_Parser_Term_haveLhs_formatter___closed__2 = _init_l_Lean_Parser_Term_haveLhs_formatter___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs_formatter___closed__2); +l_Lean_Parser_Term_haveIdLhs_formatter___closed__2 = _init_l_Lean_Parser_Term_haveIdLhs_formatter___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs_formatter___closed__2); l_Lean_Parser_Term_haveIdDecl_formatter___closed__1 = _init_l_Lean_Parser_Term_haveIdDecl_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_haveIdDecl_formatter___closed__1); l_Lean_Parser_Term_haveIdDecl_formatter___closed__2 = _init_l_Lean_Parser_Term_haveIdDecl_formatter___closed__2(); @@ -78799,10 +78653,8 @@ if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__1); -l_Lean_Parser_Term_haveLhs_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_haveLhs_parenthesizer___closed__1(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs_parenthesizer___closed__1); -l_Lean_Parser_Term_haveLhs_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_haveLhs_parenthesizer___closed__2(); -lean_mark_persistent(l_Lean_Parser_Term_haveLhs_parenthesizer___closed__2); +l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__2(); +lean_mark_persistent(l_Lean_Parser_Term_haveIdLhs_parenthesizer___closed__2); l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__1); l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_haveIdDecl_parenthesizer___closed__2(); @@ -82044,63 +81896,63 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Level_quot_parenthesizer___close res = l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__21); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__22(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__22); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__23(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__23); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__24(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__24); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__25(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__25); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__26(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__26); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__27(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__27); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__28(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703____closed__28); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2703_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__21); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__22); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__23); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__24); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__25); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__26); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__27); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684____closed__28); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_2684_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0));