diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index 042fed63fe..3fa54a4fe5 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -348,6 +348,21 @@ private def addImplicitArg (k : M Expr) : M Expr := do addNewArg arg k +/- Return true if there is a named argument that depends on the next argument. -/ +private def anyNamedArgDependsOnCurrent : M Bool := do + let s ← get + if s.namedArgs.isEmpty then + return false + else + forallTelescopeReducing s.fType fun xs _ => do + let curr := xs[0] + for i in [1:xs.size] do + let xDecl ← getLocalDecl xs[i].fvarId! + if s.namedArgs.any fun arg => arg.name == xDecl.userName then + if (← getMCtx).localDeclDependsOn xDecl curr.fvarId! then + return true + return false + /- Process a `fType` of the form `(x : A) → B x`. This method assume `fType` is a function type -/ @@ -383,7 +398,10 @@ private def processExplictArg (k : M Expr) : M Expr := do throwError "invalid autoParam, argument must be a constant" | _, _, _ => if !s.namedArgs.isEmpty then - addEtaArg k + if (← anyNamedArgDependsOnCurrent) then + addImplicitArg k + else + addEtaArg k else if !s.explicit then if (← fTypeHasOptAutoParams) then addEtaArg k diff --git a/stage0/src/Lean/Elab/BuiltinNotation.lean b/stage0/src/Lean/Elab/BuiltinNotation.lean index e79f54e7a7..7c297c4fec 100644 --- a/stage0/src/Lean/Elab/BuiltinNotation.lean +++ b/stage0/src/Lean/Elab/BuiltinNotation.lean @@ -43,23 +43,20 @@ open Meta @[builtinMacro Lean.Parser.Term.have] def expandHave : Macro := fun stx => let stx := stx.setArg 4 (mkNullNode #[mkAtomFrom stx ";"]) -- HACK + let mkId (x? : Option Syntax) : Syntax := + x?.getD <| mkIdentFrom stx `this match stx with - | `(have $type from $val; $body) => let thisId := mkIdentFrom stx `this; `(let! $thisId : $type := $val; $body) - | `(have $type by $tac:tacticSeq; $body) => `(have $type from by $tac:tacticSeq; $body) - | `(have $type := $val; $body) => let thisId := mkIdentFrom stx `this; `(let! $thisId : $type := $val; $body) - | `(have $x : $type from $val; $body) => `(let! $x:ident : $type := $val; $body) - | `(have $x : $type by $tac:tacticSeq; $body) => `(have $x : $type from by $tac:tacticSeq; $body) - | `(have $x : $type := $val; $body) => `(let! $x:ident : $type := $val; $body) - | _ => Macro.throwUnsupported + | `(have $[$x :]? $type from $val $[;]? $body) => let x := mkId x; `(let! $x : $type := $val; $body) + | `(have $[$x :]? $type := $val $[;]? $body) => let x := mkId x; `(let! $x : $type := $val; $body) + | `(have $[$x :]? $type by $tac:tacticSeq $[;]? $body) => `(have $[$x :]? $type from by $tac:tacticSeq; $body) + | _ => Macro.throwUnsupported @[builtinMacro Lean.Parser.Term.suffices] def expandSuffices : Macro := fun stx => let stx := stx.setArg 4 (mkNullNode #[mkAtomFrom stx ";"]) -- HACK match stx with - | `(suffices $type from $val; $body) => `(have $type from $body; $val) - | `(suffices $type by $tac:tacticSeq; $body) => `(have $type from $body; by $tac:tacticSeq) - | `(suffices $x : $type from $val; $body) => `(have $x:ident : $type from $body; $val) - | `(suffices $x : $type by $tac:tacticSeq; $body) => `(have $x:ident : $type from $body; by $tac:tacticSeq) - | _ => Macro.throwUnsupported + | `(suffices $[$x :]? $type from $val $[;]? $body) => `(have $[$x :]? $type from $body; $val) + | `(suffices $[$x :]? $type by $tac:tacticSeq $[;]? $body) => `(have $[$x :]? $type from $body; by $tac:tacticSeq) + | _ => Macro.throwUnsupported private def elabParserMacroAux (prec : Syntax) (e : Syntax) : TermElabM Syntax := do let (some declName) ← getDeclName? diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index 7abc1021e9..92dd3946e5 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -378,26 +378,23 @@ def elabNoKindMacroRulesAux (alts : Array Syntax) : CommandElabM Syntax := do @[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := adaptExpander fun stx => match stx with - | `(macro_rules $alts:matchAlt*) => elabNoKindMacroRulesAux alts - | `(macro_rules | $alts:matchAlt*) => elabNoKindMacroRulesAux alts - | `(macro_rules [$kind] $alts:matchAlt*) => do elabMacroRulesAux ((← getCurrNamespace) ++ kind.getId) alts - | `(macro_rules [$kind] | $alts:matchAlt*) => do elabMacroRulesAux ((← getCurrNamespace) ++ kind.getId) alts - | _ => throwUnsupportedSyntax + | `(macro_rules $[|]? $alts:matchAlt*) => elabNoKindMacroRulesAux alts + | `(macro_rules [$kind] $[|]? $alts:matchAlt*) => do elabMacroRulesAux ((← getCurrNamespace) ++ kind.getId) alts + | _ => throwUnsupportedSyntax -- TODO: cleanup after we have support for optional syntax at `match_syntax` @[builtinMacro Lean.Parser.Command.mixfix] def expandMixfix : Macro := fun stx => withAttrKindGlobal stx fun stx => match stx with - | `(infix:$prec $op => $f) => `(infixl:$prec $op => $f) - | `(infixr:$prec $op => $f) => `(notation:$prec lhs $op:strLit rhs:$prec => $f lhs rhs) - | `(infixl:$prec $op => $f) => let prec1 : Syntax := quote (prec.toNat+1); `(notation:$prec lhs $op:strLit rhs:$prec1 => $f lhs rhs) - | `(prefix:$prec $op => $f) => `(notation:$prec $op:strLit arg:$prec => $f arg) - | `(postfix:$prec $op => $f) => `(notation:$prec arg $op:strLit => $f arg) - | `(infix:$prec [$prio] $op => $f) => `(infixl:$prec [$prio] $op => $f) - | `(infixr:$prec [$prio] $op => $f) => `(notation:$prec [$prio] lhs $op:strLit rhs:$prec => $f lhs rhs) - | `(infixl:$prec [$prio] $op => $f) => let prec1 : Syntax := quote (prec.toNat+1); `(notation:$prec [$prio] lhs $op:strLit rhs:$prec1 => $f lhs rhs) - | `(prefix:$prec [$prio] $op => $f) => `(notation:$prec [$prio] $op:strLit arg:$prec => $f arg) - | `(postfix:$prec [$prio] $op => $f) => `(notation:$prec [$prio] arg $op:strLit => $f arg) + | `(infix $[: $prec]? $[[$prio]]? $op => $f) => `(infixl $[: $prec]? $[[$prio]]? $op => $f) + | `(infixr $[: $prec]? $[[$prio]]? $op => $f) => `(notation $[: $prec]? $[[$prio]]? lhs $op:strLit rhs $[: $prec]? => $f lhs rhs) + | `(infixl $[: $prec]? $[[$prio]]? $op => $f) => + let prec1 : Syntax := match (prec : Option Syntax) with + | some prec => quote (prec.toNat+1) + | none => quote 0 + `(notation $[: $prec]? $[[$prio]]? lhs $op:strLit rhs:$prec1 => $f lhs rhs) + | `(prefix $[: $prec]? $[[$prio]]? $op => $f) => `(notation $[: $prec]? $[[$prio]]? $op:strLit arg $[: $prec]? => $f arg) + | `(postfix $[: $prec]? $[[$prio]]? $op => $f) => `(notation $[: $prec]? $[[$prio]]? arg $op:strLit => $f arg) | _ => Macro.throwUnsupported where -- set "global" `attrKind`, apply `f`, and restore `attrKind` to result @@ -463,7 +460,10 @@ def mkSimpleDelab (vars : Array Syntax) (pat qrhs : Syntax) : OptionT CommandEla | _ => throw ()) private def expandNotationAux (ref : Syntax) - (currNamespace : Name) (attrKind : AttributeKind) (prec? : Option Syntax) (prio : Nat) (items : Array Syntax) (rhs : Syntax) : CommandElabM Syntax := do + (currNamespace : Name) (attrKind : AttributeKind) (prec? : Option Syntax) (prio? : Option Syntax) (items : Array Syntax) (rhs : Syntax) : CommandElabM Syntax := do + let prio := match prio? with + | some prio => prio.isNatLit?.getD 0 + | _ => 0 -- build parser let syntaxParts ← items.mapM expandNotationItemIntoSyntaxItem let cat := mkIdentFrom ref `term @@ -477,13 +477,10 @@ private def expandNotationAux (ref : Syntax) So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ let fullKind := currNamespace ++ kind let pat := Syntax.node fullKind patArgs - let stxDecl ← match prec?, attrKind with - | none, AttributeKind.global => `(syntax [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) - | some prec, AttributeKind.global => `(syntax:$prec [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) - | none, AttributeKind.scoped => `(scoped syntax [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) - | some prec, AttributeKind.scoped => `(scoped syntax:$prec [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) - | none, AttributeKind.local => `(local syntax [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) - | some prec, AttributeKind.local => `(local syntax:$prec [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) + let stxDecl ← match attrKind with + | AttributeKind.global => `(syntax $[: $prec?]? [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) + | AttributeKind.scoped => `(scoped syntax $[: $prec? ]? [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) + | AttributeKind.local => `(local syntax $[: $prec? ]? [$(mkIdentFrom ref kind):ident, $(quote prio):numLit] $syntaxParts* : $cat) let macroDecl ← `(macro_rules | `($pat) => `($qrhs)) match (← mkSimpleDelab vars pat qrhs |>.run) with | some delabDecl => mkNullNode #[stxDecl, macroDecl, delabDecl] @@ -495,10 +492,7 @@ private def expandNotationAux (ref : Syntax) let stx := stx.setArg 0 mkAttrKindGlobal let currNamespace ← getCurrNamespace match stx with - | `(notation:$prec $items* => $rhs) => expandNotationAux stx currNamespace attrKind prec 0 items rhs - | `(notation $items:notationItem* => $rhs) => expandNotationAux stx currNamespace attrKind none 0 items rhs - | `(notation:$prec [$prio] $items* => $rhs) => expandNotationAux stx currNamespace attrKind prec (prio.isNatLit?.getD 0) items rhs - | `(notation [$prio] $items:notationItem* => $rhs) => expandNotationAux stx currNamespace attrKind none (prio.isNatLit?.getD 0) items rhs + | `(notation $[: $prec? ]? $[[ $prio? ]]? $items* => $rhs) => expandNotationAux stx currNamespace attrKind prec? prio? items rhs | _ => throwUnsupportedSyntax /- Convert `macro` argument into a `syntax` command item -/ diff --git a/stage0/src/Lean/Meta/Basic.lean b/stage0/src/Lean/Meta/Basic.lean index bd52b3031c..af6031cad9 100644 --- a/stage0/src/Lean/Meta/Basic.lean +++ b/stage0/src/Lean/Meta/Basic.lean @@ -623,15 +623,15 @@ mutual k #[] type private partial def isClassExpensive? : Expr → MetaM (Option Name) - | type => withReducible $ -- when testing whether a type is a type class, we only unfold reducible constants. + | type => withReducible <| -- when testing whether a type is a type class, we only unfold reducible constants. forallTelescopeReducingAux type none fun xs type => do match type.getAppFn with | Expr.const c _ _ => do let env ← getEnv - pure $ if isClass env c then some c else none + return if isClass env c then some c else none | _ => pure none - partial def isClass? (type : Expr) : MetaM (Option Name) := do + private partial def isClassImp? (type : Expr) : MetaM (Option Name) := do match (← isClassQuick? type) with | LOption.none => pure none | LOption.some c => pure (some c) @@ -639,6 +639,9 @@ mutual end +def isClass? (type : Expr) : MetaM (Option Name) := + try isClassImp? type catch _ => pure none + private def withNewLocalInstancesImpAux {α} (fvars : Array Expr) (j : Nat) : n α → n α := mapMetaM $ withNewLocalInstancesImp fvars j diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index ad102c4bde..7cfcbe07d8 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -72,6 +72,7 @@ lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ElabAppArgs_main___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Format_pretty(lean_object*, lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4; extern lean_object* l_Lean_Elab_throwUnsupportedSyntax___rarg___closed__1; @@ -125,6 +126,7 @@ lean_object* l_Lean_Elab_Term_throwInvalidNamedArg_match__1___rarg(lean_object*, uint8_t lean_name_eq(lean_object*, lean_object*); extern lean_object* l_Lean_MessageData_nil; lean_object* l_Lean_Elab_Term_elabApp_match__1___rarg(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__1___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabApp(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent(lean_object*); @@ -151,6 +153,7 @@ lean_object* lean_string_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4____closed__2; lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2___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_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__2___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_getEvenElems___rarg___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processImplicitArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,6 +164,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_12176____closed__12; lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFor_match__1___rarg(lean_object*, lean_object*, lean_object*); +uint8_t l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Meta_unfoldDefinition_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; @@ -272,8 +276,10 @@ lean_object* l_Lean_Elab_Term_elabExplicit(lean_object*, lean_object*, lean_obje extern lean_object* l_myMacro____x40_Init_Notation___hyg_49____closed__13; extern lean_object* l_Lean_choiceKind___closed__2; uint8_t l_Lean_Elab_Term_ElabAppArgs_State_ellipsis___default; +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__2(lean_object*); lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__1___closed__6; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__2; @@ -379,6 +385,7 @@ lean_object* l_Lean_Elab_Term_elabApp(lean_object*, lean_object*, lean_object*, lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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_getPathToBaseStructure_x3f(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_synthesizeAppInstMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_MetavarContext_localDeclDependsOn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandApp(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__2___rarg(lean_object*, lean_object*); @@ -388,6 +395,7 @@ lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_consumeImplicits_match__1(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_KernelException_toMessageData___closed__15; uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -405,6 +413,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__15; lean_object* l_Lean_Expr_consumeMData(lean_object*); lean_object* l_Lean_fmt___at_Lean_Position_instToFormatPosition___spec__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___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_App_0__Lean_Elab_Term_elabAppFn___closed__16; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__1(lean_object*); @@ -451,6 +460,7 @@ extern lean_object* l_Lean_Elab_Term_termElabAttribute; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccess___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__5(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__2___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -514,6 +524,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabProj(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__6; lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__5; lean_object* lean_panic_fn(lean_object*, lean_object*); @@ -527,6 +538,7 @@ uint8_t l_Lean_TagAttribute_hasTag(lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21; lean_object* l___regBuiltin_Lean_Elab_Term_expandPipeProj(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2(lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId_match__1(lean_object*); lean_object* l_Lean_Exception_getRef(lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__6; @@ -552,7 +564,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__1; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7552_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7747_(lean_object*); lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_4_(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_propagateExpectedTypeFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -621,6 +633,7 @@ extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___l lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux___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* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__12(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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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_addNamedArg___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_isLevelDefEqAux___closed__5; @@ -676,6 +689,7 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__2; lean_object* l_Lean_Meta_setPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__4(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed__5; @@ -723,7 +737,9 @@ extern lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___clo lean_object* l_Lean_Elab_Term_throwInvalidNamedArg(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Exception_toMessageData(lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___closed__1; +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mkBaseProjections___closed__1; @@ -11132,6 +11148,538 @@ lean_dec(x_3); return x_12; } } +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_apply_1(x_2, x_3); +return x_4; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__1___rarg), 2, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_2, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_3, x_6); +return x_7; +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent_match__2___rarg), 3, 0); +return x_2; +} +} +uint8_t l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_4 = lean_ctor_get(x_3, 0); +x_5 = lean_ctor_get(x_3, 1); +x_6 = l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1(x_1, x_2, x_5); +x_7 = lean_ctor_get(x_4, 1); +x_8 = l_Lean_LocalDecl_userName(x_1); +x_9 = lean_name_eq(x_7, x_8); +lean_dec(x_8); +if (x_9 == 0) +{ +return x_6; +} +else +{ +uint8_t x_10; +x_10 = 1; +return x_10; +} +} +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_ctor_get(x_5, 1); +x_18 = lean_nat_dec_le(x_17, x_7); +if (x_18 == 0) +{ +lean_object* x_19; uint8_t x_20; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_nat_dec_eq(x_6, x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_8); +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_6, x_21); +lean_dec(x_6); +x_32 = l_Lean_Expr_instInhabitedExpr; +x_33 = lean_array_get(x_32, x_2, x_7); +x_34 = l_Lean_Expr_fvarId_x21(x_33); +lean_dec(x_33); +lean_inc(x_12); +x_35 = l_Lean_Meta_getLocalDecl(x_34, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_35) == 0) +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 0; +x_39 = l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1(x_36, x_38, x_1); +if (x_39 == 0) +{ +lean_object* x_40; +lean_dec(x_36); +lean_inc(x_4); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_4); +x_23 = x_40; +x_24 = x_37; +goto block_31; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_41 = lean_st_ref_get(x_15, x_37); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_st_ref_get(x_13, x_42); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Expr_fvarId_x21(x_3); +x_48 = l_Lean_MetavarContext_localDeclDependsOn(x_46, x_36, x_47); +lean_dec(x_47); +x_49 = lean_unbox(x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +lean_object* x_50; +lean_inc(x_4); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_4); +x_23 = x_50; +x_24 = x_45; +goto block_31; +} +else +{ +lean_object* x_51; +x_51 = l_Std_RBNode_forIn_visit___at___private_Lean_Elab_SyntheticMVars_0__Lean_Elab_Term_synthesizeUsingDefault___spec__2___lambda__1___closed__1; +x_23 = x_51; +x_24 = x_45; +goto block_31; +} +} +} +else +{ +uint8_t x_52; +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_4); +x_52 = !lean_is_exclusive(x_35); +if (x_52 == 0) +{ +return x_35; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_35, 0); +x_54 = lean_ctor_get(x_35, 1); +lean_inc(x_54); +lean_inc(x_53); +lean_dec(x_35); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; +} +} +block_31: +{ +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_4); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_ctor_get(x_5, 2); +x_29 = lean_nat_add(x_7, x_28); +lean_dec(x_7); +x_6 = x_22; +x_7 = x_29; +x_8 = x_27; +x_16 = x_24; +goto _start; +} +} +} +else +{ +lean_object* x_56; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_8); +lean_ctor_set(x_56, 1, x_16); +return x_56; +} +} +else +{ +lean_object* x_57; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_8); +lean_ctor_set(x_57, 1, x_16); +return x_57; +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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) { +_start: +{ +uint8_t x_10; lean_object* x_11; lean_object* x_12; +x_10 = 0; +x_11 = lean_box(x_10); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_9); +return x_12; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__1___boxed), 9, 0); +return x_1; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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_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; +x_12 = l_Lean_Expr_instInhabitedExpr; +x_13 = lean_unsigned_to_nat(0u); +x_14 = lean_array_get(x_12, x_2, x_13); +x_15 = lean_array_get_size(x_2); +x_16 = lean_unsigned_to_nat(1u); +lean_inc(x_15); +x_17 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +lean_ctor_set(x_17, 2, x_16); +x_18 = l_Array_findSomeM_x3f___rarg___closed__1; +lean_inc(x_7); +x_19 = l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2(x_1, x_2, x_14, x_18, x_17, x_15, x_16, x_18, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_17); +lean_dec(x_14); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__1; +x_25 = lean_apply_9(x_24, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_20); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_26 = !lean_is_exclusive(x_19); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_19, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_28); +return x_19; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +lean_dec(x_21); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent(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; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_1, x_10); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_11, 1); +x_15 = lean_ctor_get(x_13, 3); +lean_inc(x_15); +x_16 = l_List_isEmpty___rarg(x_15); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_free_object(x_11); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___boxed), 11, 1); +lean_closure_set(x_18, 0, x_15); +x_19 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_17, x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_14); +return x_19; +} +else +{ +uint8_t x_20; lean_object* x_21; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_20 = 0; +x_21 = lean_box(x_20); +lean_ctor_set(x_11, 0, x_21); +return x_11; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_11, 0); +x_23 = lean_ctor_get(x_11, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_11); +x_24 = lean_ctor_get(x_22, 3); +lean_inc(x_24); +x_25 = l_List_isEmpty___rarg(x_24); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_22, 1); +lean_inc(x_26); +lean_dec(x_22); +x_27 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___boxed), 11, 1); +lean_closure_set(x_27, 0, x_24); +x_28 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_26, x_27, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_23); +return x_28; +} +else +{ +uint8_t x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_24); +lean_dec(x_22); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_29 = 0; +x_30 = lean_box(x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_23); +return x_31; +} +} +} +} +lean_object* l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_2); +lean_dec(x_2); +x_5 = l_List_foldr___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__1(x_1, x_4, x_3); +lean_dec(x_3); +lean_dec(x_1); +x_6 = lean_box(x_5); +return x_6; +} +} +lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +lean_object* x_17; +x_17 = l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_17; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_10; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___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_3); +lean_dec(x_2); +lean_dec(x_1); +return x_12; +} +} lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -11391,12 +11939,74 @@ lean_dec(x_22); if (x_23 == 0) { lean_object* x_24; -x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_24, 1); +lean_inc(x_29); +lean_dec(x_24); +x_30 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_31 = !lean_is_exclusive(x_24); +if (x_31 == 0) +{ return x_24; } else { -lean_object* x_25; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_24, 0); +x_33 = lean_ctor_get(x_24, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_24); +x_34 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_34, 0, x_32); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -11404,130 +12014,130 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_25 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -if (lean_obj_tag(x_25) == 0) +x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_26; uint8_t x_27; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_unbox(x_26); -lean_dec(x_26); -if (x_27 == 0) +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +if (x_37 == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_st_ref_get(x_8, x_28); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_st_ref_get(x_2, x_30); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get_uint8(x_32, sizeof(void*)*8 + 1); -lean_dec(x_32); -if (x_33 == 0) +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_st_ref_get(x_8, x_38); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_st_ref_get(x_2, x_40); +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get_uint8(x_42, sizeof(void*)*8 + 1); +lean_dec(x_42); +if (x_43 == 0) { -lean_object* x_34; lean_object* x_35; +lean_object* x_44; lean_object* x_45; lean_dec(x_1); -x_34 = lean_ctor_get(x_31, 1); -lean_inc(x_34); -lean_dec(x_31); -x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_34); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_44); lean_dec(x_2); +return x_45; +} +else +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +lean_dec(x_41); +x_47 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_46); +return x_47; +} +} +else +{ +lean_object* x_48; lean_object* x_49; +x_48 = lean_ctor_get(x_35, 1); +lean_inc(x_48); +lean_dec(x_35); +x_49 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +return x_49; +} +} +else +{ +uint8_t x_50; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_50 = !lean_is_exclusive(x_35); +if (x_50 == 0) +{ return x_35; } else { -lean_object* x_36; lean_object* x_37; -x_36 = lean_ctor_get(x_31, 1); -lean_inc(x_36); -lean_dec(x_31); -x_37 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); -return x_37; -} -} -else -{ -lean_object* x_38; lean_object* x_39; -x_38 = lean_ctor_get(x_25, 1); -lean_inc(x_38); -lean_dec(x_25); -x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_38); -return x_39; -} -} -else -{ -uint8_t x_40; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_40 = !lean_is_exclusive(x_25); -if (x_40 == 0) -{ -return x_25; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_25, 0); -x_42 = lean_ctor_get(x_25, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_25); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; -} -} -} -} -else -{ -lean_object* x_44; -lean_dec(x_13); -x_44 = lean_ctor_get(x_21, 0); -lean_inc(x_44); -lean_dec(x_21); -if (lean_obj_tag(x_44) == 4) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -lean_dec(x_44); -x_46 = lean_st_ref_get(x_8, x_19); -x_47 = lean_ctor_get(x_46, 0); -lean_inc(x_47); -x_48 = lean_ctor_get(x_46, 1); -lean_inc(x_48); -lean_dec(x_46); -x_49 = lean_ctor_get(x_47, 0); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_ctor_get(x_7, 0); -lean_inc(x_50); -x_51 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(x_49, x_50, x_45); -lean_dec(x_50); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_1); -x_52 = lean_ctor_get(x_51, 0); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_35, 0); +x_52 = lean_ctor_get(x_35, 1); lean_inc(x_52); -lean_dec(x_51); -x_53 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__2___rarg(x_54, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +lean_inc(x_51); +lean_dec(x_35); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; +} +} +} +} +else +{ +lean_object* x_54; +lean_dec(x_13); +x_54 = lean_ctor_get(x_21, 0); +lean_inc(x_54); +lean_dec(x_21); +if (lean_obj_tag(x_54) == 4) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +lean_dec(x_54); +x_56 = lean_st_ref_get(x_8, x_19); +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); +lean_inc(x_58); +lean_dec(x_56); +x_59 = lean_ctor_get(x_57, 0); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_ctor_get(x_7, 0); +lean_inc(x_60); +x_61 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(x_59, x_60, x_55); +lean_dec(x_60); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +lean_dec(x_1); +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_63, 0, x_62); +x_64 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_64, 0, x_63); +x_65 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__2___rarg(x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_58); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11535,62 +12145,62 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_55; +return x_65; } else { -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_56 = lean_ctor_get(x_51, 0); -lean_inc(x_56); -lean_dec(x_51); -x_57 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_48); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_58); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -lean_dec(x_59); -x_61 = l_Lean_Syntax_getArgs(x_56); -lean_dec(x_56); -x_62 = l_Array_empty___closed__1; -x_63 = l_Array_appendCore___rarg(x_62, x_61); +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; +x_66 = lean_ctor_get(x_61, 0); +lean_inc(x_66); lean_dec(x_61); -x_64 = l_myMacro____x40_Init_Notation___hyg_521____closed__23; -x_65 = lean_array_push(x_63, x_64); -x_66 = l_Lean_nullKind___closed__2; -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 = lean_array_push(x_62, x_67); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_66); -lean_ctor_set(x_69, 1, x_68); -x_70 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4; -x_71 = lean_array_push(x_70, x_69); -x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21; -x_73 = lean_array_push(x_71, x_72); -x_74 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = lean_array_push(x_62, x_75); -x_77 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_79 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__6; -x_80 = lean_array_push(x_79, x_78); -x_81 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_80); -x_83 = lean_ctor_get(x_7, 3); -lean_inc(x_83); -x_84 = l_Lean_Syntax_copyInfo(x_82, x_83); -lean_dec(x_83); -x_85 = lean_alloc_ctor(0, 1, 0); +x_67 = l_Lean_Elab_Term_getCurrMacroScope(x_3, x_4, x_5, x_6, x_7, x_8, x_58); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = l_Lean_Elab_Term_getMainModule___rarg(x_8, x_68); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = l_Lean_Syntax_getArgs(x_66); +lean_dec(x_66); +x_72 = l_Array_empty___closed__1; +x_73 = l_Array_appendCore___rarg(x_72, x_71); +lean_dec(x_71); +x_74 = l_myMacro____x40_Init_Notation___hyg_521____closed__23; +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 = lean_array_push(x_72, x_77); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_76); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__4; +x_81 = lean_array_push(x_80, x_79); +x_82 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_261____closed__21; +x_83 = lean_array_push(x_81, x_82); +x_84 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeqBracketed___closed__2; +x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = lean_array_push(x_72, x_85); +x_87 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; +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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__6; +x_90 = lean_array_push(x_89, x_88); +x_91 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +x_93 = lean_ctor_get(x_7, 3); +lean_inc(x_93); +x_94 = l_Lean_Syntax_copyInfo(x_92, x_93); +lean_dec(x_93); +x_95 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_95, 0, x_94); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -11598,101 +12208,33 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_85); -x_86 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); -if (lean_obj_tag(x_86) == 0) +lean_inc(x_95); +x_96 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_70); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_86, 1); -lean_inc(x_87); -lean_dec(x_86); +lean_object* x_97; lean_object* x_98; +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +lean_dec(x_96); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_88 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_87); -if (lean_obj_tag(x_88) == 0) -{ -lean_object* x_89; lean_object* x_90; -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_89); -return x_90; -} -else -{ -uint8_t x_91; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_91 = !lean_is_exclusive(x_88); -if (x_91 == 0) -{ -return x_88; -} -else -{ -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_88, 0); -x_93 = lean_ctor_get(x_88, 1); -lean_inc(x_93); -lean_inc(x_92); -lean_dec(x_88); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; -} -} -} -else -{ -uint8_t x_95; -lean_dec(x_85); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_95 = !lean_is_exclusive(x_86); -if (x_95 == 0) -{ -return x_86; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_86, 0); -x_97 = lean_ctor_get(x_86, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_86); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; -} -} -} -} -else +x_98 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_95, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_97); +if (lean_obj_tag(x_98) == 0) { lean_object* x_99; lean_object* x_100; -lean_dec(x_44); -lean_dec(x_1); -x_99 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__3; -x_100 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__2___rarg(x_99, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +x_100 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_99); +return x_100; +} +else +{ +uint8_t x_101; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11700,64 +12242,194 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_100; -} -} +lean_dec(x_1); +x_101 = !lean_is_exclusive(x_98); +if (x_101 == 0) +{ +return x_98; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -lean_dec(x_18); -lean_dec(x_13); -x_101 = lean_ctor_get(x_20, 0); -lean_inc(x_101); -lean_dec(x_20); -x_102 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_101, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -x_103 = lean_ctor_get(x_102, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_98, 0); +x_103 = lean_ctor_get(x_98, 1); lean_inc(x_103); -lean_dec(x_102); -x_104 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_103); +lean_inc(x_102); +lean_dec(x_98); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); return x_104; } } +} else { -lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_105 = lean_ctor_get(x_16, 1); -lean_inc(x_105); -lean_dec(x_16); -x_106 = lean_ctor_get(x_13, 3); -lean_inc(x_106); -lean_dec(x_13); -x_107 = l_List_isEmpty___rarg(x_106); -lean_dec(x_106); -if (x_107 == 0) +uint8_t x_105; +lean_dec(x_95); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_105 = !lean_is_exclusive(x_96); +if (x_105 == 0) { -lean_object* x_108; -x_108 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_105); +return x_96; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_96, 0); +x_107 = lean_ctor_get(x_96, 1); +lean_inc(x_107); +lean_inc(x_106); +lean_dec(x_96); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); return x_108; } +} +} +} else { -lean_object* x_109; +lean_object* x_109; lean_object* x_110; +lean_dec(x_54); lean_dec(x_1); -x_109 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_105); +x_109 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__3; +x_110 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__2___rarg(x_109, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_109; +return x_110; } } } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_dec(x_18); lean_dec(x_13); -x_110 = lean_ctor_get(x_12, 1); -lean_inc(x_110); -lean_dec(x_12); -x_111 = lean_ctor_get(x_14, 0); +x_111 = lean_ctor_get(x_20, 0); lean_inc(x_111); -x_112 = lean_ctor_get(x_14, 1); -lean_inc(x_112); +lean_dec(x_20); +x_112 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_113); +return x_114; +} +} +else +{ +lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_115 = lean_ctor_get(x_16, 1); +lean_inc(x_115); +lean_dec(x_16); +x_116 = lean_ctor_get(x_13, 3); +lean_inc(x_116); +lean_dec(x_13); +x_117 = l_List_isEmpty___rarg(x_116); +lean_dec(x_116); +if (x_117 == 0) +{ +lean_object* x_118; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_118 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_115); +if (lean_obj_tag(x_118) == 0) +{ +lean_object* x_119; uint8_t x_120; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_unbox(x_119); +lean_dec(x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_118, 1); +lean_inc(x_121); +lean_dec(x_118); +x_122 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_121); +return x_122; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_118, 1); +lean_inc(x_123); +lean_dec(x_118); +x_124 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_123); +return x_124; +} +} +else +{ +uint8_t x_125; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_125 = !lean_is_exclusive(x_118); +if (x_125 == 0) +{ +return x_118; +} +else +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_118, 0); +x_127 = lean_ctor_get(x_118, 1); +lean_inc(x_127); +lean_inc(x_126); +lean_dec(x_118); +x_128 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_128, 0, x_126); +lean_ctor_set(x_128, 1, x_127); +return x_128; +} +} +} +else +{ +lean_object* x_129; +lean_dec(x_1); +x_129 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_115); +lean_dec(x_2); +return x_129; +} +} +} +else +{ +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +lean_dec(x_13); +x_130 = lean_ctor_get(x_12, 1); +lean_inc(x_130); +lean_dec(x_12); +x_131 = lean_ctor_get(x_14, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_14, 1); +lean_inc(x_132); lean_dec(x_14); lean_inc(x_8); lean_inc(x_7); @@ -11766,116 +12438,32 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_111); -x_113 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_110); -if (lean_obj_tag(x_113) == 0) +lean_inc(x_131); +x_133 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_131, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_130); +if (lean_obj_tag(x_133) == 0) { -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_115 = lean_st_ref_get(x_8, x_114); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = lean_st_ref_take(x_2, x_116); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = !lean_is_exclusive(x_118); -if (x_120 == 0) -{ -lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -x_121 = lean_ctor_get(x_118, 2); -lean_dec(x_121); -lean_ctor_set(x_118, 2, x_112); -x_122 = lean_st_ref_set(x_2, x_118, x_119); -x_123 = lean_ctor_get(x_122, 1); -lean_inc(x_123); -lean_dec(x_122); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_124 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_123); -if (lean_obj_tag(x_124) == 0) -{ -lean_object* x_125; lean_object* x_126; -x_125 = lean_ctor_get(x_124, 1); -lean_inc(x_125); -lean_dec(x_124); -x_126 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_125); -return x_126; -} -else -{ -uint8_t x_127; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_127 = !lean_is_exclusive(x_124); -if (x_127 == 0) -{ -return x_124; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_124, 0); -x_129 = lean_ctor_get(x_124, 1); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_124); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -return x_130; -} -} -} -else -{ -uint8_t x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_131 = lean_ctor_get_uint8(x_118, sizeof(void*)*8); -x_132 = lean_ctor_get(x_118, 0); -x_133 = lean_ctor_get(x_118, 1); -x_134 = lean_ctor_get(x_118, 3); -x_135 = lean_ctor_get_uint8(x_118, sizeof(void*)*8 + 1); -x_136 = lean_ctor_get(x_118, 4); -x_137 = lean_ctor_get(x_118, 5); -x_138 = lean_ctor_get(x_118, 6); -x_139 = lean_ctor_get(x_118, 7); -x_140 = lean_ctor_get_uint8(x_118, sizeof(void*)*8 + 2); -lean_inc(x_139); -lean_inc(x_138); -lean_inc(x_137); -lean_inc(x_136); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; uint8_t x_140; +x_134 = lean_ctor_get(x_133, 1); lean_inc(x_134); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_118); -x_141 = lean_alloc_ctor(0, 8, 3); -lean_ctor_set(x_141, 0, x_132); -lean_ctor_set(x_141, 1, x_133); -lean_ctor_set(x_141, 2, x_112); -lean_ctor_set(x_141, 3, x_134); -lean_ctor_set(x_141, 4, x_136); -lean_ctor_set(x_141, 5, x_137); -lean_ctor_set(x_141, 6, x_138); -lean_ctor_set(x_141, 7, x_139); -lean_ctor_set_uint8(x_141, sizeof(void*)*8, x_131); -lean_ctor_set_uint8(x_141, sizeof(void*)*8 + 1, x_135); -lean_ctor_set_uint8(x_141, sizeof(void*)*8 + 2, x_140); -x_142 = lean_st_ref_set(x_2, x_141, x_119); +lean_dec(x_133); +x_135 = lean_st_ref_get(x_8, x_134); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +lean_dec(x_135); +x_137 = lean_st_ref_take(x_2, x_136); +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); +x_140 = !lean_is_exclusive(x_138); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_141 = lean_ctor_get(x_138, 2); +lean_dec(x_141); +lean_ctor_set(x_138, 2, x_132); +x_142 = lean_st_ref_set(x_2, x_138, x_139); x_143 = lean_ctor_get(x_142, 1); lean_inc(x_143); lean_dec(x_142); @@ -11885,7 +12473,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_144 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_111, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_143); +x_144 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_131, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_143); if (lean_obj_tag(x_144) == 0) { lean_object* x_145; lean_object* x_146; @@ -11897,7 +12485,7 @@ return x_146; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +uint8_t x_147; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11906,34 +12494,82 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_147 = lean_ctor_get(x_144, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_144, 1); +x_147 = !lean_is_exclusive(x_144); +if (x_147 == 0) +{ +return x_144; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_148 = lean_ctor_get(x_144, 0); +x_149 = lean_ctor_get(x_144, 1); +lean_inc(x_149); lean_inc(x_148); -if (lean_is_exclusive(x_144)) { - lean_ctor_release(x_144, 0); - lean_ctor_release(x_144, 1); - x_149 = x_144; -} else { - lean_dec_ref(x_144); - x_149 = lean_box(0); -} -if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(1, 2, 0); -} else { - x_150 = x_149; -} -lean_ctor_set(x_150, 0, x_147); -lean_ctor_set(x_150, 1, x_148); +lean_dec(x_144); +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_148); +lean_ctor_set(x_150, 1, x_149); return x_150; } } } else { -uint8_t x_151; -lean_dec(x_112); -lean_dec(x_111); +uint8_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; uint8_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; uint8_t x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_151 = lean_ctor_get_uint8(x_138, sizeof(void*)*8); +x_152 = lean_ctor_get(x_138, 0); +x_153 = lean_ctor_get(x_138, 1); +x_154 = lean_ctor_get(x_138, 3); +x_155 = lean_ctor_get_uint8(x_138, sizeof(void*)*8 + 1); +x_156 = lean_ctor_get(x_138, 4); +x_157 = lean_ctor_get(x_138, 5); +x_158 = lean_ctor_get(x_138, 6); +x_159 = lean_ctor_get(x_138, 7); +x_160 = lean_ctor_get_uint8(x_138, sizeof(void*)*8 + 2); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_inc(x_156); +lean_inc(x_154); +lean_inc(x_153); +lean_inc(x_152); +lean_dec(x_138); +x_161 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_161, 0, x_152); +lean_ctor_set(x_161, 1, x_153); +lean_ctor_set(x_161, 2, x_132); +lean_ctor_set(x_161, 3, x_154); +lean_ctor_set(x_161, 4, x_156); +lean_ctor_set(x_161, 5, x_157); +lean_ctor_set(x_161, 6, x_158); +lean_ctor_set(x_161, 7, x_159); +lean_ctor_set_uint8(x_161, sizeof(void*)*8, x_151); +lean_ctor_set_uint8(x_161, sizeof(void*)*8 + 1, x_155); +lean_ctor_set_uint8(x_161, sizeof(void*)*8 + 2, x_160); +x_162 = lean_st_ref_set(x_2, x_161, x_139); +x_163 = lean_ctor_get(x_162, 1); +lean_inc(x_163); +lean_dec(x_162); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_164 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_131, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_163); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; +x_165 = lean_ctor_get(x_164, 1); +lean_inc(x_165); +lean_dec(x_164); +x_166 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_165); +return x_166; +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -11942,23 +12578,59 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_151 = !lean_is_exclusive(x_113); -if (x_151 == 0) -{ -return x_113; +x_167 = lean_ctor_get(x_164, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_164, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_164)) { + lean_ctor_release(x_164, 0); + lean_ctor_release(x_164, 1); + x_169 = x_164; +} else { + lean_dec_ref(x_164); + x_169 = lean_box(0); +} +if (lean_is_scalar(x_169)) { + x_170 = lean_alloc_ctor(1, 2, 0); +} else { + x_170 = x_169; +} +lean_ctor_set(x_170, 0, x_167); +lean_ctor_set(x_170, 1, x_168); +return x_170; +} +} } else { -lean_object* x_152; lean_object* x_153; lean_object* x_154; -x_152 = lean_ctor_get(x_113, 0); -x_153 = lean_ctor_get(x_113, 1); -lean_inc(x_153); -lean_inc(x_152); -lean_dec(x_113); -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_152); -lean_ctor_set(x_154, 1, x_153); -return x_154; +uint8_t x_171; +lean_dec(x_132); +lean_dec(x_131); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_171 = !lean_is_exclusive(x_133); +if (x_171 == 0) +{ +return x_133; +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_133, 0); +x_173 = lean_ctor_get(x_133, 1); +lean_inc(x_173); +lean_inc(x_172); +lean_dec(x_133); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_172); +lean_ctor_set(x_174, 1, x_173); +return x_174; } } } @@ -31727,7 +32399,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__2; -x_3 = lean_unsigned_to_nat(840u); +x_3 = lean_unsigned_to_nat(858u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -32015,7 +32687,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__1; x_2 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1___closed__1; -x_3 = lean_unsigned_to_nat(858u); +x_3 = lean_unsigned_to_nat(876u); x_4 = lean_unsigned_to_nat(35u); x_5 = l_Lean_Syntax_strLitToAtom___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -33878,7 +34550,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7552_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7747_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -34004,6 +34676,8 @@ l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1 = _ lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2); +l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__1(); +lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_anyNamedArgDependsOnCurrent___lambda__2___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__2 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__2(); @@ -34227,7 +34901,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabArrayRef___closed__1); res = l___regBuiltin_Lean_Elab_Term_elabArrayRef(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7552_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7747_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index cb6ded7f2f..e7cceba32c 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -14,6 +14,7 @@ extern "C" { #endif extern lean_object* l_myMacro____x40_Init_Notation___hyg_10790____closed__11; +lean_object* l_Lean_Elab_Term_expandHave_match__3(lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___closed__21; lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__26; @@ -29,6 +30,7 @@ lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__2; lean_object* l_Lean_Meta_mkExpectedTypeHint___at_Lean_Elab_Term_elabNativeDecide___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabBadCDot___closed__2; lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__5; +lean_object* l_Lean_Elab_Term_expandSuffices_match__2(lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); extern lean_object* l_instReprOption___rarg___closed__1; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -36,8 +38,10 @@ lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2(lean_ lean_object* l_Lean_mkSort(lean_object*); extern lean_object* l_termIf__Then__Else_____closed__2; lean_object* l_Lean_Elab_Term_expandAssert___closed__20; +lean_object* l_Lean_Elab_Term_expandSuffices_match__5___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_let_x21___closed__1; lean_object* l_Lean_Elab_Term_expandShow___closed__12; +lean_object* l_Lean_Elab_Term_expandHave_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot_match__1(lean_object*); lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__4; @@ -72,6 +76,7 @@ lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object* extern lean_object* l_Lean_instToExprBool___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12803____closed__15; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices_match__7(lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__3; lean_object* l_Lean_Elab_Term_expandAssert___closed__23; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__11; @@ -135,6 +140,7 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(l lean_object* l___regBuiltin_Lean_Elab_Term_elabParen(lean_object*); lean_object* l_Lean_Core_mkFreshUserName___at_Lean_Elab_Term_elabSubst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandDbgTrace___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave_match__4(lean_object*); lean_object* l_Lean_Elab_Term_mkPairs_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__9; lean_object* l_Lean_Elab_Term_mkAuxName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -145,6 +151,7 @@ lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__1; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__39; lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__2; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Lean_Elab_Term_elabNativeRefl___closed__2; @@ -196,6 +203,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandHave(lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___closed__22; lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic(lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__6; +lean_object* l_Lean_Elab_Term_expandSuffices_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfNoneOrMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabPanic_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__20; @@ -242,6 +250,7 @@ lean_object* l_Lean_Meta_mkDecide___at_Lean_Elab_Term_elabNativeDecide___spec__1 extern lean_object* l_myMacro____x40_Init_Notation___hyg_12803____closed__8; extern lean_object* l_Lean_Meta_mkDecide___rarg___closed__1; lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__5; +lean_object* l_Lean_Elab_Term_expandHave_match__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__1; lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeDecide___closed__2; @@ -249,6 +258,7 @@ lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__2(lean_object*, lean_objec lean_object* l_Lean_Elab_Term_expandUnreachable(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkInstMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandEmptyC___closed__1; +lean_object* l_Lean_Elab_Term_expandSuffices_match__3___rarg(lean_object*, lean_object*, lean_object*); 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*); @@ -286,6 +296,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabAnonymousCtor(lean_object*); lean_object* l_Nat_repr(lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__7; lean_object* l_Lean_Elab_Term_expandShow___closed__11; +lean_object* l_Lean_Elab_Term_expandSuffices_match__6(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqSymm___at_Lean_Elab_Term_elabSubst___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeDecide(lean_object*); @@ -304,6 +315,7 @@ lean_object* l_Lean_Elab_Term_elabSubst___lambda__4(lean_object*, lean_object*, lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(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__2___closed__2; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices_match__8(lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___closed__16; lean_object* l_Lean_Elab_Term_elabStateRefT___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* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -322,6 +334,7 @@ extern lean_object* l_Lean_Parser_Tactic_suffices___closed__1; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; extern lean_object* l_Lean_Literal_type___closed__2; extern lean_object* l_Lean_instToExprUnit___lambda__1___closed__3; +lean_object* l_Lean_Elab_Term_expandHave_match__2(lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__1; lean_object* l_Lean_Elab_Term_elabSubst_match__1(lean_object*); @@ -331,6 +344,7 @@ lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Elab_Term_elabNativeDecide___spec__2 lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__8; extern lean_object* l_Lean_instInhabitedSyntax; uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Term_expandHave_match__4___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12176____closed__22; lean_object* l_Lean_Elab_Term_elabStateRefT___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1625____closed__2; @@ -391,6 +405,7 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___b lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_mkApp___closed__1; lean_object* l_Lean_Elab_Term_elabPanic(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__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTParserMacro(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_elabParserMacroAux___closed__3; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDecide___closed__1; @@ -425,6 +440,7 @@ lean_object* l_Lean_Elab_Term_elabSubst___lambda__3___boxed(lean_object*, lean_o lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Elab_getRefPos___at_Lean_Elab_Term_elabPanic___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__7; +lean_object* l_Lean_Elab_Term_expandSuffices_match__5(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___closed__14; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); @@ -441,6 +457,7 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot_ lean_object* l___regBuiltin_Lean_Elab_Term_expandSorry(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +lean_object* l_Lean_Elab_Term_expandSuffices_match__7___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_elabPanic_match__1(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__15; @@ -458,15 +475,18 @@ lean_object* l_Lean_Elab_Term_expandShow___closed__9; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__17; lean_object* l_Lean_Meta_kabstract_visit(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_expandAssert___closed__5; +lean_object* l_Lean_Elab_Term_expandSuffices_match__2___rarg(lean_object*, lean_object*, lean_object*); 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_elabParserMacro___lambda__1___closed__1; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; +lean_object* l_Lean_Elab_Term_expandSuffices_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___closed__1; extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__2; +lean_object* l_Lean_Elab_Term_expandSuffices_match__8___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withSynthesize___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkExpectedTypeHintImp(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_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -476,6 +496,7 @@ lean_object* l_Lean_Meta_mkArrow(lean_object*, lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__8; +uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* l_Lean_Meta_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandUnreachable___rarg___closed__9; extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2; @@ -535,6 +556,7 @@ lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__1; extern lean_object* l_Lean_mkOptionalNode___closed__2; lean_object* l_Lean_Elab_Term_expandAssert___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable(lean_object*); +lean_object* l_Lean_Elab_Term_expandSuffices_match__3(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__4; lean_object* l_Lean_Meta_mkEqSymm___at_Lean_Elab_Term_elabSubst___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabCDot___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -555,9 +577,11 @@ lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1; lean_object* l_Lean_Elab_Term_expandEmptyC(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__1; +lean_object* l_Lean_Elab_Term_expandHave_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabTParserMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBorrowed(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_match__4(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__1; lean_object* l_Lean_Elab_Term_expandAssert___closed__8; @@ -614,6 +638,7 @@ lean_object* l_Lean_Elab_Term_elabPanic___closed__4; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabClosedTerm___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkApp3(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_expandSuffices_match__1(lean_object*); lean_object* l_Lean_Elab_Term_expandAssert___closed__2; lean_object* l_Lean_Elab_Term_elabSubst___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_expandCDot_x3f(lean_object*, lean_object*, lean_object*); @@ -1699,6 +1724,130 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Elab_Term_expandHave_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandHave_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandHave_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandHave_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandHave_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandHave_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandHave_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandHave_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandHave_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandHave_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandHave_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandHave_match__4___rarg), 3, 0); +return x_2; +} +} static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__1() { _start: { @@ -1714,7 +1863,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; -x_2 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +x_2 = l_Lean_Elab_Term_elabAnonymousCtor___closed__11; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -1748,357 +1897,13 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_157; uint8_t x_158; +lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = lean_unsigned_to_nat(1u); x_17 = l_Lean_Syntax_getArg(x_11, x_16); -x_157 = l_Lean_nullKind___closed__2; -lean_inc(x_17); -x_158 = l_Lean_Syntax_isOfKind(x_17, x_157); -if (x_158 == 0) -{ -lean_object* x_159; -x_159 = lean_box(0); -x_18 = x_159; -goto block_156; -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; -x_160 = l_Lean_Syntax_getArgs(x_17); -x_161 = lean_array_get_size(x_160); -lean_dec(x_160); -x_162 = lean_unsigned_to_nat(0u); -x_163 = lean_nat_dec_eq(x_161, x_162); -lean_dec(x_161); -if (x_163 == 0) -{ -lean_object* x_164; -x_164 = lean_box(0); -x_18 = x_164; -goto block_156; -} -else -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; uint8_t x_170; -lean_dec(x_17); -x_165 = lean_unsigned_to_nat(2u); -x_166 = l_Lean_Syntax_getArg(x_11, x_165); -x_167 = lean_unsigned_to_nat(3u); -x_168 = l_Lean_Syntax_getArg(x_11, x_167); -x_169 = l_Lean_Elab_Term_expandShow___closed__3; -lean_inc(x_168); -x_170 = l_Lean_Syntax_isOfKind(x_168, x_169); -if (x_170 == 0) -{ -lean_object* x_171; uint8_t x_172; -x_171 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -lean_inc(x_168); -x_172 = l_Lean_Syntax_isOfKind(x_168, x_171); -if (x_172 == 0) -{ -lean_object* x_173; uint8_t x_174; -x_173 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__4; -lean_inc(x_168); -x_174 = l_Lean_Syntax_isOfKind(x_168, x_173); -if (x_174 == 0) -{ -lean_object* x_175; lean_object* x_176; -lean_dec(x_168); -lean_dec(x_166); -lean_dec(x_11); -x_175 = lean_box(1); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_175); -lean_ctor_set(x_176, 1, x_3); -return x_176; -} -else -{ -lean_object* x_177; lean_object* x_178; uint8_t x_179; -x_177 = l_Lean_Syntax_getArg(x_168, x_16); -lean_dec(x_168); -x_178 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_178); -x_179 = l_Lean_Syntax_isOfKind(x_178, x_157); -if (x_179 == 0) -{ -lean_object* x_180; lean_object* x_181; -lean_dec(x_178); -lean_dec(x_177); -lean_dec(x_166); -lean_dec(x_11); -x_180 = lean_box(1); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_3); -return x_181; -} -else -{ -lean_object* x_182; lean_object* x_183; uint8_t x_184; -x_182 = l_Lean_Syntax_getArgs(x_178); -lean_dec(x_178); -x_183 = lean_array_get_size(x_182); -lean_dec(x_182); -x_184 = lean_nat_dec_eq(x_183, x_16); -lean_dec(x_183); -if (x_184 == 0) -{ -lean_object* x_185; lean_object* x_186; -lean_dec(x_177); -lean_dec(x_166); -lean_dec(x_11); -x_185 = lean_box(1); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_3); -return x_186; -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -x_187 = lean_unsigned_to_nat(5u); -x_188 = l_Lean_Syntax_getArg(x_11, x_187); -x_189 = l_Lean_Elab_Term_expandShow___closed__13; -x_190 = l_Lean_mkIdentFrom(x_11, x_189); -lean_dec(x_11); -x_191 = l_Array_empty___closed__1; -x_192 = lean_array_push(x_191, x_190); -x_193 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_194 = lean_array_push(x_192, x_193); -x_195 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_196 = lean_array_push(x_195, x_166); -x_197 = l_Lean_expandExplicitBindersAux_loop___closed__8; -x_198 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_196); -x_199 = lean_array_push(x_191, x_198); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_157); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_array_push(x_194, x_200); -x_202 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; -x_203 = lean_array_push(x_201, x_202); -x_204 = lean_array_push(x_203, x_177); -x_205 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_205); -lean_ctor_set(x_206, 1, x_204); -x_207 = lean_array_push(x_191, x_206); -x_208 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; -x_209 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_209, 0, x_208); -lean_ctor_set(x_209, 1, x_207); -x_210 = l_Lean_Elab_Term_expandShow___closed__15; -x_211 = lean_array_push(x_210, x_209); -x_212 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_213 = lean_array_push(x_211, x_212); -x_214 = lean_array_push(x_213, x_188); -x_215 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; -x_216 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_216, 0, x_215); -lean_ctor_set(x_216, 1, x_214); -x_217 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_217, 0, x_216); -lean_ctor_set(x_217, 1, x_3); -return x_217; -} -} -} -} -else -{ -lean_object* x_218; lean_object* x_219; uint8_t x_220; -x_218 = l_Lean_Syntax_getArg(x_168, x_16); -lean_dec(x_168); -x_219 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; -lean_inc(x_218); -x_220 = l_Lean_Syntax_isOfKind(x_218, x_219); -if (x_220 == 0) -{ -lean_object* x_221; lean_object* x_222; -lean_dec(x_218); -lean_dec(x_166); -lean_dec(x_11); -x_221 = lean_box(1); -x_222 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_3); -return x_222; -} -else -{ -lean_object* x_223; uint8_t x_224; -x_223 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_223); -x_224 = l_Lean_Syntax_isOfKind(x_223, x_157); -if (x_224 == 0) -{ -lean_object* x_225; lean_object* x_226; -lean_dec(x_223); -lean_dec(x_218); -lean_dec(x_166); -lean_dec(x_11); -x_225 = lean_box(1); -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_3); -return x_226; -} -else -{ -lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_227 = l_Lean_Syntax_getArgs(x_223); -lean_dec(x_223); -x_228 = lean_array_get_size(x_227); -lean_dec(x_227); -x_229 = lean_nat_dec_eq(x_228, x_16); -lean_dec(x_228); -if (x_229 == 0) -{ -lean_object* x_230; lean_object* x_231; -lean_dec(x_218); -lean_dec(x_166); -lean_dec(x_11); -x_230 = lean_box(1); -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_3); -return x_231; -} -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_232 = lean_unsigned_to_nat(5u); -x_233 = l_Lean_Syntax_getArg(x_11, x_232); -lean_dec(x_11); -x_234 = l_Lean_Elab_Term_expandHave___closed__2; -x_235 = lean_array_push(x_234, x_166); -x_236 = l_Lean_Elab_Term_expandShow___closed__11; -x_237 = lean_array_push(x_236, x_218); -x_238 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_238, 0, x_171); -lean_ctor_set(x_238, 1, x_237); -x_239 = l_Lean_Elab_Term_expandShow___closed__8; -x_240 = lean_array_push(x_239, x_238); -x_241 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_241, 0, x_169); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_array_push(x_235, x_241); -x_243 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_244 = lean_array_push(x_242, x_243); -x_245 = lean_array_push(x_244, x_233); -x_246 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_246, 0, x_12); -lean_ctor_set(x_246, 1, x_245); -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_3); -return x_247; -} -} -} -} -} -else -{ -lean_object* x_248; lean_object* x_249; uint8_t x_250; -x_248 = l_Lean_Syntax_getArg(x_168, x_16); -lean_dec(x_168); -x_249 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_249); -x_250 = l_Lean_Syntax_isOfKind(x_249, x_157); -if (x_250 == 0) -{ -lean_object* x_251; lean_object* x_252; -lean_dec(x_249); -lean_dec(x_248); -lean_dec(x_166); -lean_dec(x_11); -x_251 = lean_box(1); -x_252 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_3); -return x_252; -} -else -{ -lean_object* x_253; lean_object* x_254; uint8_t x_255; -x_253 = l_Lean_Syntax_getArgs(x_249); -lean_dec(x_249); -x_254 = lean_array_get_size(x_253); -lean_dec(x_253); -x_255 = lean_nat_dec_eq(x_254, x_16); -lean_dec(x_254); -if (x_255 == 0) -{ -lean_object* x_256; lean_object* x_257; -lean_dec(x_248); -lean_dec(x_166); -lean_dec(x_11); -x_256 = lean_box(1); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_256); -lean_ctor_set(x_257, 1, x_3); -return x_257; -} -else -{ -lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; -x_258 = lean_unsigned_to_nat(5u); -x_259 = l_Lean_Syntax_getArg(x_11, x_258); -x_260 = l_Lean_Elab_Term_expandShow___closed__13; -x_261 = l_Lean_mkIdentFrom(x_11, x_260); -lean_dec(x_11); -x_262 = l_Array_empty___closed__1; -x_263 = lean_array_push(x_262, x_261); -x_264 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_265 = lean_array_push(x_263, x_264); -x_266 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_267 = lean_array_push(x_266, x_166); -x_268 = l_Lean_expandExplicitBindersAux_loop___closed__8; -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_267); -x_270 = lean_array_push(x_262, x_269); -x_271 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_271, 0, x_157); -lean_ctor_set(x_271, 1, x_270); -x_272 = lean_array_push(x_265, x_271); -x_273 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; -x_274 = lean_array_push(x_272, x_273); -x_275 = lean_array_push(x_274, x_248); -x_276 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_275); -x_278 = lean_array_push(x_262, x_277); -x_279 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; -x_280 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_278); -x_281 = l_Lean_Elab_Term_expandShow___closed__15; -x_282 = lean_array_push(x_281, x_280); -x_283 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_284 = lean_array_push(x_282, x_283); -x_285 = lean_array_push(x_284, x_259); -x_286 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; -x_287 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -x_288 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_288, 0, x_287); -lean_ctor_set(x_288, 1, x_3); -return x_288; -} -} -} -} -} -block_156: +x_18 = l_Lean_Syntax_isNone(x_17); +if (x_18 == 0) { lean_object* x_19; uint8_t x_20; -lean_dec(x_18); x_19 = l_Lean_nullKind___closed__2; lean_inc(x_17); x_20 = l_Lean_Syntax_isOfKind(x_17, x_19); @@ -2148,13 +1953,13 @@ x_35 = l_Lean_Syntax_isOfKind(x_33, x_34); if (x_35 == 0) { lean_object* x_36; uint8_t x_37; -x_36 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_36 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__4; lean_inc(x_33); x_37 = l_Lean_Syntax_isOfKind(x_33, x_36); if (x_37 == 0) { lean_object* x_38; uint8_t x_39; -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__4; +x_38 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; lean_inc(x_33); x_39 = l_Lean_Syntax_isOfKind(x_33, x_38); if (x_39 == 0) @@ -2175,13 +1980,12 @@ else lean_object* x_42; lean_object* x_43; uint8_t x_44; x_42 = l_Lean_Syntax_getArg(x_33, x_16); lean_dec(x_33); -x_43 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_43); -x_44 = l_Lean_Syntax_isOfKind(x_43, x_19); +x_43 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; +lean_inc(x_42); +x_44 = l_Lean_Syntax_isOfKind(x_42, x_43); if (x_44 == 0) { lean_object* x_45; lean_object* x_46; -lean_dec(x_43); lean_dec(x_42); lean_dec(x_31); lean_dec(x_30); @@ -2194,16 +1998,18 @@ return x_46; } else { -lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_47 = l_Lean_Syntax_getArgs(x_43); -lean_dec(x_43); -x_48 = lean_array_get_size(x_47); -lean_dec(x_47); -x_49 = lean_nat_dec_eq(x_48, x_16); -lean_dec(x_48); +lean_object* x_47; uint8_t x_48; +x_47 = l_Lean_Syntax_getArg(x_11, x_10); +x_48 = l_Lean_Syntax_isNone(x_47); +if (x_48 == 0) +{ +uint8_t x_49; +lean_inc(x_47); +x_49 = l_Lean_Syntax_isOfKind(x_47, x_19); if (x_49 == 0) { lean_object* x_50; lean_object* x_51; +lean_dec(x_47); lean_dec(x_42); lean_dec(x_31); lean_dec(x_30); @@ -2216,46 +2022,62 @@ return x_51; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; 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; -x_52 = lean_unsigned_to_nat(5u); -x_53 = l_Lean_Syntax_getArg(x_11, x_52); +lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_52 = l_Lean_Syntax_getArgs(x_47); +lean_dec(x_47); +x_53 = lean_array_get_size(x_52); +lean_dec(x_52); +x_54 = lean_nat_dec_eq(x_53, x_16); +lean_dec(x_53); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_42); +lean_dec(x_31); +lean_dec(x_30); lean_dec(x_11); -x_54 = l_Array_empty___closed__1; -x_55 = lean_array_push(x_54, x_30); -x_56 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_57 = lean_array_push(x_55, x_56); -x_58 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_59 = lean_array_push(x_58, x_31); -x_60 = l_Lean_expandExplicitBindersAux_loop___closed__8; -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = lean_array_push(x_54, x_61); -x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_19); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_array_push(x_57, x_63); -x_65 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; -x_66 = lean_array_push(x_64, x_65); -x_67 = lean_array_push(x_66, x_42); -x_68 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_67); -x_70 = lean_array_push(x_54, x_69); -x_71 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_Lean_Elab_Term_expandShow___closed__15; -x_74 = lean_array_push(x_73, x_72); -x_75 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_76 = lean_array_push(x_74, x_75); -x_77 = lean_array_push(x_76, x_53); -x_78 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_55 = lean_box(1); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_3); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_57 = lean_unsigned_to_nat(5u); +x_58 = l_Lean_Syntax_getArg(x_11, x_57); +lean_dec(x_11); +x_59 = l_Lean_Syntax_mkApp___closed__1; +x_60 = lean_array_push(x_59, x_30); +x_61 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_62 = lean_array_push(x_60, x_61); +x_63 = l_Array_empty___closed__1; +x_64 = l_Array_appendCore___rarg(x_63, x_62); +lean_dec(x_62); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_19); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; +x_67 = lean_array_push(x_66, x_65); +x_68 = lean_array_push(x_67, x_31); +x_69 = l_Lean_Elab_Term_expandShow___closed__11; +x_70 = lean_array_push(x_69, x_42); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_38); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Elab_Term_expandShow___closed__8; +x_73 = lean_array_push(x_72, x_71); +x_74 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_74, 0, x_34); +lean_ctor_set(x_74, 1, x_73); +x_75 = lean_array_push(x_68, x_74); +x_76 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_77 = lean_array_push(x_75, x_76); +x_78 = lean_array_push(x_77, x_58); x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_79, 0, x_12); +lean_ctor_set(x_79, 1, x_78); x_80 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_3); @@ -2263,205 +2085,812 @@ return x_80; } } } -} else { -lean_object* x_81; lean_object* x_82; uint8_t x_83; -x_81 = l_Lean_Syntax_getArg(x_33, x_16); -lean_dec(x_33); -x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; -lean_inc(x_81); -x_83 = l_Lean_Syntax_isOfKind(x_81, x_82); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; -lean_dec(x_81); -lean_dec(x_31); -lean_dec(x_30); +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_dec(x_47); +x_81 = lean_unsigned_to_nat(5u); +x_82 = l_Lean_Syntax_getArg(x_11, x_81); lean_dec(x_11); -x_84 = lean_box(1); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_3); -return x_85; -} -else -{ -lean_object* x_86; uint8_t x_87; -x_86 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_86); -x_87 = l_Lean_Syntax_isOfKind(x_86, x_19); -if (x_87 == 0) -{ -lean_object* x_88; lean_object* x_89; +x_83 = l_Lean_Syntax_mkApp___closed__1; +x_84 = lean_array_push(x_83, x_30); +x_85 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_86 = lean_array_push(x_84, x_85); +x_87 = l_Array_empty___closed__1; +x_88 = l_Array_appendCore___rarg(x_87, x_86); lean_dec(x_86); -lean_dec(x_81); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_11); -x_88 = lean_box(1); x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_88); -lean_ctor_set(x_89, 1, x_3); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_90 = l_Lean_Syntax_getArgs(x_86); -lean_dec(x_86); -x_91 = lean_array_get_size(x_90); -lean_dec(x_90); -x_92 = lean_nat_dec_eq(x_91, x_16); -lean_dec(x_91); -if (x_92 == 0) -{ -lean_object* x_93; lean_object* x_94; -lean_dec(x_81); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_11); -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; 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_unsigned_to_nat(5u); -x_96 = l_Lean_Syntax_getArg(x_11, x_95); -lean_dec(x_11); -x_97 = l_Array_empty___closed__1; -x_98 = lean_array_push(x_97, x_30); -x_99 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_100 = lean_array_push(x_98, x_99); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_19); -lean_ctor_set(x_101, 1, x_100); -x_102 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; -x_103 = lean_array_push(x_102, x_101); -x_104 = lean_array_push(x_103, x_31); -x_105 = l_Lean_Elab_Term_expandShow___closed__11; -x_106 = lean_array_push(x_105, x_81); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_36); -lean_ctor_set(x_107, 1, x_106); -x_108 = l_Lean_Elab_Term_expandShow___closed__8; -x_109 = lean_array_push(x_108, x_107); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_34); -lean_ctor_set(x_110, 1, x_109); -x_111 = lean_array_push(x_104, x_110); -x_112 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_113 = lean_array_push(x_111, x_112); -x_114 = lean_array_push(x_113, x_96); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_12); -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_3); -return x_116; -} +lean_ctor_set(x_89, 0, x_19); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; +x_91 = lean_array_push(x_90, x_89); +x_92 = lean_array_push(x_91, x_31); +x_93 = l_Lean_Elab_Term_expandShow___closed__11; +x_94 = lean_array_push(x_93, x_42); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_38); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Lean_Elab_Term_expandShow___closed__8; +x_97 = lean_array_push(x_96, x_95); +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_34); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_array_push(x_92, x_98); +x_100 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_101 = lean_array_push(x_99, x_100); +x_102 = lean_array_push(x_101, x_82); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_12); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_3); +return x_104; } } } } else { -lean_object* x_117; lean_object* x_118; uint8_t x_119; -x_117 = l_Lean_Syntax_getArg(x_33, x_16); +lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_105 = l_Lean_Syntax_getArg(x_33, x_16); lean_dec(x_33); -x_118 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_118); -x_119 = l_Lean_Syntax_isOfKind(x_118, x_19); -if (x_119 == 0) +x_106 = l_Lean_Syntax_getArg(x_11, x_10); +x_107 = l_Lean_Syntax_isNone(x_106); +if (x_107 == 0) { -lean_object* x_120; lean_object* x_121; -lean_dec(x_118); -lean_dec(x_117); +uint8_t x_108; +lean_inc(x_106); +x_108 = l_Lean_Syntax_isOfKind(x_106, x_19); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_106); +lean_dec(x_105); lean_dec(x_31); lean_dec(x_30); lean_dec(x_11); -x_120 = lean_box(1); -x_121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_3); -return x_121; +x_109 = lean_box(1); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_3); +return x_110; } else { -lean_object* x_122; lean_object* x_123; uint8_t x_124; -x_122 = l_Lean_Syntax_getArgs(x_118); -lean_dec(x_118); -x_123 = lean_array_get_size(x_122); -lean_dec(x_122); -x_124 = lean_nat_dec_eq(x_123, x_16); -lean_dec(x_123); -if (x_124 == 0) +lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_111 = l_Lean_Syntax_getArgs(x_106); +lean_dec(x_106); +x_112 = lean_array_get_size(x_111); +lean_dec(x_111); +x_113 = lean_nat_dec_eq(x_112, x_16); +lean_dec(x_112); +if (x_113 == 0) { -lean_object* x_125; lean_object* x_126; -lean_dec(x_117); +lean_object* x_114; lean_object* x_115; +lean_dec(x_105); lean_dec(x_31); lean_dec(x_30); lean_dec(x_11); -x_125 = lean_box(1); -x_126 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_3); -return x_126; +x_114 = lean_box(1); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_3); +return x_115; } else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_127 = lean_unsigned_to_nat(5u); -x_128 = l_Lean_Syntax_getArg(x_11, x_127); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_116 = lean_unsigned_to_nat(5u); +x_117 = l_Lean_Syntax_getArg(x_11, x_116); lean_dec(x_11); -x_129 = l_Array_empty___closed__1; -x_130 = lean_array_push(x_129, x_30); -x_131 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_132 = lean_array_push(x_130, x_131); -x_133 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_134 = lean_array_push(x_133, x_31); -x_135 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_118 = l_Array_empty___closed__1; +x_119 = lean_array_push(x_118, x_30); +x_120 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +x_121 = lean_array_push(x_119, x_120); +x_122 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_123 = lean_array_push(x_122, x_31); +x_124 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_125 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_123); +x_126 = lean_array_push(x_118, x_125); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_19); +lean_ctor_set(x_127, 1, x_126); +x_128 = lean_array_push(x_121, x_127); +x_129 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_130 = lean_array_push(x_128, x_129); +x_131 = lean_array_push(x_130, x_105); +x_132 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +x_134 = lean_array_push(x_118, x_133); +x_135 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); lean_ctor_set(x_136, 1, x_134); -x_137 = lean_array_push(x_129, x_136); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_19); -lean_ctor_set(x_138, 1, x_137); -x_139 = lean_array_push(x_132, x_138); -x_140 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; -x_141 = lean_array_push(x_139, x_140); -x_142 = lean_array_push(x_141, x_117); -x_143 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; -x_144 = lean_alloc_ctor(1, 2, 0); +x_137 = l_Lean_Elab_Term_expandShow___closed__15; +x_138 = lean_array_push(x_137, x_136); +x_139 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_140 = lean_array_push(x_138, x_139); +x_141 = lean_array_push(x_140, x_117); +x_142 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_143 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_143, 0, x_142); +lean_ctor_set(x_143, 1, x_141); +x_144 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = lean_array_push(x_129, x_144); -x_146 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; -x_147 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_145); -x_148 = l_Lean_Elab_Term_expandShow___closed__15; -x_149 = lean_array_push(x_148, x_147); -x_150 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_151 = lean_array_push(x_149, x_150); -x_152 = lean_array_push(x_151, x_128); -x_153 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +lean_ctor_set(x_144, 1, x_3); +return x_144; +} +} +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; +lean_dec(x_106); +x_145 = lean_unsigned_to_nat(5u); +x_146 = l_Lean_Syntax_getArg(x_11, x_145); +lean_dec(x_11); +x_147 = l_Array_empty___closed__1; +x_148 = lean_array_push(x_147, x_30); +x_149 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +x_150 = lean_array_push(x_148, x_149); +x_151 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_152 = lean_array_push(x_151, x_31); +x_153 = l_Lean_expandExplicitBindersAux_loop___closed__8; x_154 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_154, 0, x_153); lean_ctor_set(x_154, 1, x_152); -x_155 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_3); -return x_155; +x_155 = lean_array_push(x_147, x_154); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_19); +lean_ctor_set(x_156, 1, x_155); +x_157 = lean_array_push(x_150, x_156); +x_158 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_159 = lean_array_push(x_157, x_158); +x_160 = lean_array_push(x_159, x_105); +x_161 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_162 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_162, 0, x_161); +lean_ctor_set(x_162, 1, x_160); +x_163 = lean_array_push(x_147, x_162); +x_164 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_163); +x_166 = l_Lean_Elab_Term_expandShow___closed__15; +x_167 = lean_array_push(x_166, x_165); +x_168 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_169 = lean_array_push(x_167, x_168); +x_170 = lean_array_push(x_169, x_146); +x_171 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_170); +x_173 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_3); +return x_173; } } } +else +{ +lean_object* x_174; lean_object* x_175; uint8_t x_176; +x_174 = l_Lean_Syntax_getArg(x_33, x_16); +lean_dec(x_33); +x_175 = l_Lean_Syntax_getArg(x_11, x_10); +x_176 = l_Lean_Syntax_isNone(x_175); +if (x_176 == 0) +{ +uint8_t x_177; +lean_inc(x_175); +x_177 = l_Lean_Syntax_isOfKind(x_175, x_19); +if (x_177 == 0) +{ +lean_object* x_178; lean_object* x_179; +lean_dec(x_175); +lean_dec(x_174); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_11); +x_178 = lean_box(1); +x_179 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_3); +return x_179; +} +else +{ +lean_object* x_180; lean_object* x_181; uint8_t x_182; +x_180 = l_Lean_Syntax_getArgs(x_175); +lean_dec(x_175); +x_181 = lean_array_get_size(x_180); +lean_dec(x_180); +x_182 = lean_nat_dec_eq(x_181, x_16); +lean_dec(x_181); +if (x_182 == 0) +{ +lean_object* x_183; lean_object* x_184; +lean_dec(x_174); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_11); +x_183 = lean_box(1); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_3); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_185 = lean_unsigned_to_nat(5u); +x_186 = l_Lean_Syntax_getArg(x_11, x_185); +lean_dec(x_11); +x_187 = l_Array_empty___closed__1; +x_188 = lean_array_push(x_187, x_30); +x_189 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +x_190 = lean_array_push(x_188, x_189); +x_191 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_192 = lean_array_push(x_191, x_31); +x_193 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_192); +x_195 = lean_array_push(x_187, x_194); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_19); +lean_ctor_set(x_196, 1, x_195); +x_197 = lean_array_push(x_190, x_196); +x_198 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_199 = lean_array_push(x_197, x_198); +x_200 = lean_array_push(x_199, x_174); +x_201 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = lean_array_push(x_187, x_202); +x_204 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_203); +x_206 = l_Lean_Elab_Term_expandShow___closed__15; +x_207 = lean_array_push(x_206, x_205); +x_208 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_209 = lean_array_push(x_207, x_208); +x_210 = lean_array_push(x_209, x_186); +x_211 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +x_213 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_213, 0, x_212); +lean_ctor_set(x_213, 1, x_3); +return x_213; +} +} +} +else +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_175); +x_214 = lean_unsigned_to_nat(5u); +x_215 = l_Lean_Syntax_getArg(x_11, x_214); +lean_dec(x_11); +x_216 = l_Array_empty___closed__1; +x_217 = lean_array_push(x_216, x_30); +x_218 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +x_219 = lean_array_push(x_217, x_218); +x_220 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_221 = lean_array_push(x_220, x_31); +x_222 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_221); +x_224 = lean_array_push(x_216, x_223); +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_19); +lean_ctor_set(x_225, 1, x_224); +x_226 = lean_array_push(x_219, x_225); +x_227 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_228 = lean_array_push(x_226, x_227); +x_229 = lean_array_push(x_228, x_174); +x_230 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_229); +x_232 = lean_array_push(x_216, x_231); +x_233 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; +x_234 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_232); +x_235 = l_Lean_Elab_Term_expandShow___closed__15; +x_236 = lean_array_push(x_235, x_234); +x_237 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_238 = lean_array_push(x_236, x_237); +x_239 = lean_array_push(x_238, x_215); +x_240 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_241 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_239); +x_242 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_3); +return x_242; +} +} +} +} +} +else +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; +lean_dec(x_17); +x_243 = lean_unsigned_to_nat(2u); +x_244 = l_Lean_Syntax_getArg(x_11, x_243); +x_245 = lean_unsigned_to_nat(3u); +x_246 = l_Lean_Syntax_getArg(x_11, x_245); +x_247 = l_Lean_Elab_Term_expandShow___closed__3; +lean_inc(x_246); +x_248 = l_Lean_Syntax_isOfKind(x_246, x_247); +if (x_248 == 0) +{ +lean_object* x_249; uint8_t x_250; +x_249 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__4; +lean_inc(x_246); +x_250 = l_Lean_Syntax_isOfKind(x_246, x_249); +if (x_250 == 0) +{ +lean_object* x_251; uint8_t x_252; +x_251 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +lean_inc(x_246); +x_252 = l_Lean_Syntax_isOfKind(x_246, x_251); +if (x_252 == 0) +{ +lean_object* x_253; lean_object* x_254; +lean_dec(x_246); +lean_dec(x_244); +lean_dec(x_11); +x_253 = lean_box(1); +x_254 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_254, 0, x_253); +lean_ctor_set(x_254, 1, x_3); +return x_254; +} +else +{ +lean_object* x_255; lean_object* x_256; uint8_t x_257; +x_255 = l_Lean_Syntax_getArg(x_246, x_16); +lean_dec(x_246); +x_256 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; +lean_inc(x_255); +x_257 = l_Lean_Syntax_isOfKind(x_255, x_256); +if (x_257 == 0) +{ +lean_object* x_258; lean_object* x_259; +lean_dec(x_255); +lean_dec(x_244); +lean_dec(x_11); +x_258 = lean_box(1); +x_259 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_3); +return x_259; +} +else +{ +lean_object* x_260; uint8_t x_261; +x_260 = l_Lean_Syntax_getArg(x_11, x_10); +x_261 = l_Lean_Syntax_isNone(x_260); +if (x_261 == 0) +{ +lean_object* x_262; uint8_t x_263; +x_262 = l_Lean_nullKind___closed__2; +lean_inc(x_260); +x_263 = l_Lean_Syntax_isOfKind(x_260, x_262); +if (x_263 == 0) +{ +lean_object* x_264; lean_object* x_265; +lean_dec(x_260); +lean_dec(x_255); +lean_dec(x_244); +lean_dec(x_11); +x_264 = lean_box(1); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_264); +lean_ctor_set(x_265, 1, x_3); +return x_265; +} +else +{ +lean_object* x_266; lean_object* x_267; uint8_t x_268; +x_266 = l_Lean_Syntax_getArgs(x_260); +lean_dec(x_260); +x_267 = lean_array_get_size(x_266); +lean_dec(x_266); +x_268 = lean_nat_dec_eq(x_267, x_16); +lean_dec(x_267); +if (x_268 == 0) +{ +lean_object* x_269; lean_object* x_270; +lean_dec(x_255); +lean_dec(x_244); +lean_dec(x_11); +x_269 = lean_box(1); +x_270 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_3); +return x_270; +} +else +{ +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; +x_271 = lean_unsigned_to_nat(5u); +x_272 = l_Lean_Syntax_getArg(x_11, x_271); +lean_dec(x_11); +x_273 = l_Lean_Elab_Term_expandHave___closed__2; +x_274 = lean_array_push(x_273, x_244); +x_275 = l_Lean_Elab_Term_expandShow___closed__11; +x_276 = lean_array_push(x_275, x_255); +x_277 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_277, 0, x_251); +lean_ctor_set(x_277, 1, x_276); +x_278 = l_Lean_Elab_Term_expandShow___closed__8; +x_279 = lean_array_push(x_278, x_277); +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_247); +lean_ctor_set(x_280, 1, x_279); +x_281 = lean_array_push(x_274, x_280); +x_282 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_283 = lean_array_push(x_281, x_282); +x_284 = lean_array_push(x_283, x_272); +x_285 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_285, 0, x_12); +lean_ctor_set(x_285, 1, x_284); +x_286 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_286, 0, x_285); +lean_ctor_set(x_286, 1, x_3); +return x_286; +} +} +} +else +{ +lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; +lean_dec(x_260); +x_287 = lean_unsigned_to_nat(5u); +x_288 = l_Lean_Syntax_getArg(x_11, x_287); +lean_dec(x_11); +x_289 = l_Lean_Elab_Term_expandHave___closed__2; +x_290 = lean_array_push(x_289, x_244); +x_291 = l_Lean_Elab_Term_expandShow___closed__11; +x_292 = lean_array_push(x_291, x_255); +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_251); +lean_ctor_set(x_293, 1, x_292); +x_294 = l_Lean_Elab_Term_expandShow___closed__8; +x_295 = lean_array_push(x_294, x_293); +x_296 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_296, 0, x_247); +lean_ctor_set(x_296, 1, x_295); +x_297 = lean_array_push(x_290, x_296); +x_298 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_299 = lean_array_push(x_297, x_298); +x_300 = lean_array_push(x_299, x_288); +x_301 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_301, 0, x_12); +lean_ctor_set(x_301, 1, x_300); +x_302 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_302, 0, x_301); +lean_ctor_set(x_302, 1, x_3); +return x_302; +} +} +} +} +else +{ +lean_object* x_303; lean_object* x_304; uint8_t x_305; +x_303 = l_Lean_Syntax_getArg(x_246, x_16); +lean_dec(x_246); +x_304 = l_Lean_Syntax_getArg(x_11, x_10); +x_305 = l_Lean_Syntax_isNone(x_304); +if (x_305 == 0) +{ +lean_object* x_306; uint8_t x_307; +x_306 = l_Lean_nullKind___closed__2; +lean_inc(x_304); +x_307 = l_Lean_Syntax_isOfKind(x_304, x_306); +if (x_307 == 0) +{ +lean_object* x_308; lean_object* x_309; +lean_dec(x_304); +lean_dec(x_303); +lean_dec(x_244); +lean_dec(x_11); +x_308 = lean_box(1); +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_3); +return x_309; +} +else +{ +lean_object* x_310; lean_object* x_311; uint8_t x_312; +x_310 = l_Lean_Syntax_getArgs(x_304); +lean_dec(x_304); +x_311 = lean_array_get_size(x_310); +lean_dec(x_310); +x_312 = lean_nat_dec_eq(x_311, x_16); +lean_dec(x_311); +if (x_312 == 0) +{ +lean_object* x_313; lean_object* x_314; +lean_dec(x_303); +lean_dec(x_244); +lean_dec(x_11); +x_313 = lean_box(1); +x_314 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_314, 0, x_313); +lean_ctor_set(x_314, 1, x_3); +return x_314; +} +else +{ +lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; +x_315 = lean_unsigned_to_nat(5u); +x_316 = l_Lean_Syntax_getArg(x_11, x_315); +x_317 = l_Lean_Elab_Term_expandShow___closed__13; +x_318 = l_Lean_mkIdentFrom(x_11, x_317); +lean_dec(x_11); +x_319 = l_Array_empty___closed__1; +x_320 = lean_array_push(x_319, x_318); +x_321 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +x_322 = lean_array_push(x_320, x_321); +x_323 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_324 = lean_array_push(x_323, x_244); +x_325 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_326 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_326, 0, x_325); +lean_ctor_set(x_326, 1, x_324); +x_327 = lean_array_push(x_319, x_326); +x_328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_328, 0, x_306); +lean_ctor_set(x_328, 1, x_327); +x_329 = lean_array_push(x_322, x_328); +x_330 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_331 = lean_array_push(x_329, x_330); +x_332 = lean_array_push(x_331, x_303); +x_333 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_334 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_334, 0, x_333); +lean_ctor_set(x_334, 1, x_332); +x_335 = lean_array_push(x_319, x_334); +x_336 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; +x_337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_337, 0, x_336); +lean_ctor_set(x_337, 1, x_335); +x_338 = l_Lean_Elab_Term_expandShow___closed__15; +x_339 = lean_array_push(x_338, x_337); +x_340 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_341 = lean_array_push(x_339, x_340); +x_342 = lean_array_push(x_341, x_316); +x_343 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_344 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_344, 0, x_343); +lean_ctor_set(x_344, 1, x_342); +x_345 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_345, 0, x_344); +lean_ctor_set(x_345, 1, x_3); +return x_345; +} +} +} +else +{ +lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; +lean_dec(x_304); +x_346 = lean_unsigned_to_nat(5u); +x_347 = l_Lean_Syntax_getArg(x_11, x_346); +x_348 = l_Lean_Elab_Term_expandShow___closed__13; +x_349 = l_Lean_mkIdentFrom(x_11, x_348); +lean_dec(x_11); +x_350 = l_Array_empty___closed__1; +x_351 = lean_array_push(x_350, x_349); +x_352 = l_myMacro____x40_Init_Notation___hyg_521____closed__23; +x_353 = lean_array_push(x_351, x_352); +x_354 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_355 = lean_array_push(x_354, x_244); +x_356 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_357 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_357, 0, x_356); +lean_ctor_set(x_357, 1, x_355); +x_358 = lean_array_push(x_350, x_357); +x_359 = l_Lean_nullKind___closed__2; +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_359); +lean_ctor_set(x_360, 1, x_358); +x_361 = lean_array_push(x_353, x_360); +x_362 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_363 = lean_array_push(x_361, x_362); +x_364 = lean_array_push(x_363, x_303); +x_365 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_366 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_364); +x_367 = lean_array_push(x_350, x_366); +x_368 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; +x_369 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_369, 0, x_368); +lean_ctor_set(x_369, 1, x_367); +x_370 = l_Lean_Elab_Term_expandShow___closed__15; +x_371 = lean_array_push(x_370, x_369); +x_372 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_373 = lean_array_push(x_371, x_372); +x_374 = lean_array_push(x_373, x_347); +x_375 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_376 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_376, 0, x_375); +lean_ctor_set(x_376, 1, x_374); +x_377 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_377, 0, x_376); +lean_ctor_set(x_377, 1, x_3); +return x_377; +} +} +} +else +{ +lean_object* x_378; lean_object* x_379; uint8_t x_380; +x_378 = l_Lean_Syntax_getArg(x_246, x_16); +lean_dec(x_246); +x_379 = l_Lean_Syntax_getArg(x_11, x_10); +x_380 = l_Lean_Syntax_isNone(x_379); +if (x_380 == 0) +{ +lean_object* x_381; uint8_t x_382; +x_381 = l_Lean_nullKind___closed__2; +lean_inc(x_379); +x_382 = l_Lean_Syntax_isOfKind(x_379, x_381); +if (x_382 == 0) +{ +lean_object* x_383; lean_object* x_384; +lean_dec(x_379); +lean_dec(x_378); +lean_dec(x_244); +lean_dec(x_11); +x_383 = lean_box(1); +x_384 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_384, 0, x_383); +lean_ctor_set(x_384, 1, x_3); +return x_384; +} +else +{ +lean_object* x_385; lean_object* x_386; uint8_t x_387; +x_385 = l_Lean_Syntax_getArgs(x_379); +lean_dec(x_379); +x_386 = lean_array_get_size(x_385); +lean_dec(x_385); +x_387 = lean_nat_dec_eq(x_386, x_16); +lean_dec(x_386); +if (x_387 == 0) +{ +lean_object* x_388; lean_object* x_389; +lean_dec(x_378); +lean_dec(x_244); +lean_dec(x_11); +x_388 = lean_box(1); +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_388); +lean_ctor_set(x_389, 1, x_3); +return x_389; +} +else +{ +lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; +x_390 = lean_unsigned_to_nat(5u); +x_391 = l_Lean_Syntax_getArg(x_11, x_390); +x_392 = l_Lean_Elab_Term_expandShow___closed__13; +x_393 = l_Lean_mkIdentFrom(x_11, x_392); +lean_dec(x_11); +x_394 = l_Array_empty___closed__1; +x_395 = lean_array_push(x_394, x_393); +x_396 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +x_397 = lean_array_push(x_395, x_396); +x_398 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_399 = lean_array_push(x_398, x_244); +x_400 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_401 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_399); +x_402 = lean_array_push(x_394, x_401); +x_403 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_403, 0, x_381); +lean_ctor_set(x_403, 1, x_402); +x_404 = lean_array_push(x_397, x_403); +x_405 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_406 = lean_array_push(x_404, x_405); +x_407 = lean_array_push(x_406, x_378); +x_408 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_408); +lean_ctor_set(x_409, 1, x_407); +x_410 = lean_array_push(x_394, x_409); +x_411 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_411); +lean_ctor_set(x_412, 1, x_410); +x_413 = l_Lean_Elab_Term_expandShow___closed__15; +x_414 = lean_array_push(x_413, x_412); +x_415 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_416 = lean_array_push(x_414, x_415); +x_417 = lean_array_push(x_416, x_391); +x_418 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_419 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_417); +x_420 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_420, 0, x_419); +lean_ctor_set(x_420, 1, x_3); +return x_420; +} +} +} +else +{ +lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; +lean_dec(x_379); +x_421 = lean_unsigned_to_nat(5u); +x_422 = l_Lean_Syntax_getArg(x_11, x_421); +x_423 = l_Lean_Elab_Term_expandShow___closed__13; +x_424 = l_Lean_mkIdentFrom(x_11, x_423); +lean_dec(x_11); +x_425 = l_Array_empty___closed__1; +x_426 = lean_array_push(x_425, x_424); +x_427 = l_myMacro____x40_Init_Notation___hyg_521____closed__23; +x_428 = lean_array_push(x_426, x_427); +x_429 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_430 = lean_array_push(x_429, x_244); +x_431 = l_Lean_expandExplicitBindersAux_loop___closed__8; +x_432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_432, 0, x_431); +lean_ctor_set(x_432, 1, x_430); +x_433 = lean_array_push(x_425, x_432); +x_434 = l_Lean_nullKind___closed__2; +x_435 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_435, 0, x_434); +lean_ctor_set(x_435, 1, x_433); +x_436 = lean_array_push(x_428, x_435); +x_437 = l_myMacro____x40_Init_Notation___hyg_12803____closed__14; +x_438 = lean_array_push(x_436, x_437); +x_439 = lean_array_push(x_438, x_378); +x_440 = l_myMacro____x40_Init_Notation___hyg_12803____closed__8; +x_441 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_441, 0, x_440); +lean_ctor_set(x_441, 1, x_439); +x_442 = lean_array_push(x_425, x_441); +x_443 = l_myMacro____x40_Init_Notation___hyg_12803____closed__6; +x_444 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_442); +x_445 = l_Lean_Elab_Term_expandShow___closed__15; +x_446 = lean_array_push(x_445, x_444); +x_447 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_448 = lean_array_push(x_446, x_447); +x_449 = lean_array_push(x_448, x_422); +x_450 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; +x_451 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_451, 0, x_450); +lean_ctor_set(x_451, 1, x_449); +x_452 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_452, 0, x_451); +lean_ctor_set(x_452, 1, x_3); +return x_452; } } } @@ -2496,6 +2925,254 @@ 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_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__4___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__5___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__6___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__7___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Term_expandSuffices_match__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_expandSuffices_match__8___rarg), 3, 0); +return x_2; +} +} static lean_object* _init_l_Lean_Elab_Term_expandSuffices___closed__1() { _start: { @@ -2535,235 +3212,13 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_108; uint8_t x_109; +lean_object* x_16; lean_object* x_17; uint8_t x_18; x_16 = lean_unsigned_to_nat(1u); x_17 = l_Lean_Syntax_getArg(x_11, x_16); -x_108 = l_Lean_nullKind___closed__2; -lean_inc(x_17); -x_109 = l_Lean_Syntax_isOfKind(x_17, x_108); -if (x_109 == 0) -{ -lean_object* x_110; -x_110 = lean_box(0); -x_18 = x_110; -goto block_107; -} -else -{ -lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_111 = l_Lean_Syntax_getArgs(x_17); -x_112 = lean_array_get_size(x_111); -lean_dec(x_111); -x_113 = lean_unsigned_to_nat(0u); -x_114 = lean_nat_dec_eq(x_112, x_113); -lean_dec(x_112); -if (x_114 == 0) -{ -lean_object* x_115; -x_115 = lean_box(0); -x_18 = x_115; -goto block_107; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; -lean_dec(x_17); -x_116 = lean_unsigned_to_nat(2u); -x_117 = l_Lean_Syntax_getArg(x_11, x_116); -x_118 = lean_unsigned_to_nat(3u); -x_119 = l_Lean_Syntax_getArg(x_11, x_118); -x_120 = l_Lean_Elab_Term_expandShow___closed__3; -lean_inc(x_119); -x_121 = l_Lean_Syntax_isOfKind(x_119, x_120); -if (x_121 == 0) -{ -lean_object* x_122; uint8_t x_123; -x_122 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; -lean_inc(x_119); -x_123 = l_Lean_Syntax_isOfKind(x_119, x_122); -if (x_123 == 0) -{ -lean_object* x_124; lean_object* x_125; -lean_dec(x_119); -lean_dec(x_117); -lean_dec(x_11); -x_124 = lean_box(1); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_3); -return x_125; -} -else -{ -lean_object* x_126; lean_object* x_127; uint8_t x_128; -x_126 = l_Lean_Syntax_getArg(x_119, x_16); -lean_dec(x_119); -x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; -lean_inc(x_126); -x_128 = l_Lean_Syntax_isOfKind(x_126, x_127); -if (x_128 == 0) -{ -lean_object* x_129; lean_object* x_130; -lean_dec(x_126); -lean_dec(x_117); -lean_dec(x_11); -x_129 = lean_box(1); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_129); -lean_ctor_set(x_130, 1, x_3); -return x_130; -} -else -{ -lean_object* x_131; uint8_t x_132; -x_131 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_131); -x_132 = l_Lean_Syntax_isOfKind(x_131, x_108); -if (x_132 == 0) -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_131); -lean_dec(x_126); -lean_dec(x_117); -lean_dec(x_11); -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_135; lean_object* x_136; uint8_t x_137; -x_135 = l_Lean_Syntax_getArgs(x_131); -lean_dec(x_131); -x_136 = lean_array_get_size(x_135); -lean_dec(x_135); -x_137 = lean_nat_dec_eq(x_136, x_16); -lean_dec(x_136); -if (x_137 == 0) -{ -lean_object* x_138; lean_object* x_139; -lean_dec(x_126); -lean_dec(x_117); -lean_dec(x_11); -x_138 = lean_box(1); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_3); -return x_139; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_140 = lean_unsigned_to_nat(5u); -x_141 = l_Lean_Syntax_getArg(x_11, x_140); -lean_dec(x_11); -x_142 = l_Lean_Elab_Term_expandHave___closed__2; -x_143 = lean_array_push(x_142, x_117); -x_144 = l_Lean_Elab_Term_expandShow___closed__8; -x_145 = lean_array_push(x_144, x_141); -x_146 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_146, 0, x_120); -lean_ctor_set(x_146, 1, x_145); -x_147 = lean_array_push(x_143, x_146); -x_148 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_149 = lean_array_push(x_147, x_148); -x_150 = l_Lean_Elab_Term_expandShow___closed__11; -x_151 = lean_array_push(x_150, x_126); -x_152 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_152, 0, x_122); -lean_ctor_set(x_152, 1, x_151); -x_153 = lean_array_push(x_149, x_152); -x_154 = l_Lean_Elab_Term_expandHave___closed__1; -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_154); -lean_ctor_set(x_155, 1, x_153); -x_156 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_156, 0, x_155); -lean_ctor_set(x_156, 1, x_3); -return x_156; -} -} -} -} -} -else -{ -lean_object* x_157; lean_object* x_158; uint8_t x_159; -x_157 = l_Lean_Syntax_getArg(x_119, x_16); -lean_dec(x_119); -x_158 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_158); -x_159 = l_Lean_Syntax_isOfKind(x_158, x_108); -if (x_159 == 0) -{ -lean_object* x_160; lean_object* x_161; -lean_dec(x_158); -lean_dec(x_157); -lean_dec(x_117); -lean_dec(x_11); -x_160 = lean_box(1); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_3); -return x_161; -} -else -{ -lean_object* x_162; lean_object* x_163; uint8_t x_164; -x_162 = l_Lean_Syntax_getArgs(x_158); -lean_dec(x_158); -x_163 = lean_array_get_size(x_162); -lean_dec(x_162); -x_164 = lean_nat_dec_eq(x_163, x_16); -lean_dec(x_163); -if (x_164 == 0) -{ -lean_object* x_165; lean_object* x_166; -lean_dec(x_157); -lean_dec(x_117); -lean_dec(x_11); -x_165 = lean_box(1); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_165); -lean_ctor_set(x_166, 1, x_3); -return x_166; -} -else -{ -lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_167 = lean_unsigned_to_nat(5u); -x_168 = l_Lean_Syntax_getArg(x_11, x_167); -lean_dec(x_11); -x_169 = l_Lean_Elab_Term_expandHave___closed__2; -x_170 = lean_array_push(x_169, x_117); -x_171 = l_Lean_Elab_Term_expandShow___closed__8; -x_172 = lean_array_push(x_171, x_168); -x_173 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_173, 0, x_120); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_array_push(x_170, x_173); -x_175 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_176 = lean_array_push(x_174, x_175); -x_177 = lean_array_push(x_176, x_157); -x_178 = l_Lean_Elab_Term_expandHave___closed__1; -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_177); -x_180 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_180, 0, x_179); -lean_ctor_set(x_180, 1, x_3); -return x_180; -} -} -} -} -} -block_107: +x_18 = l_Lean_Syntax_isNone(x_17); +if (x_18 == 0) { lean_object* x_19; uint8_t x_20; -lean_dec(x_18); x_19 = l_Lean_nullKind___closed__2; lean_inc(x_17); x_20 = l_Lean_Syntax_isOfKind(x_17, x_19); @@ -2854,167 +3309,530 @@ else { lean_object* x_45; uint8_t x_46; x_45 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_45); -x_46 = l_Lean_Syntax_isOfKind(x_45, x_19); +x_46 = l_Lean_Syntax_isNone(x_45); if (x_46 == 0) { -lean_object* x_47; lean_object* x_48; +uint8_t x_47; +lean_inc(x_45); +x_47 = l_Lean_Syntax_isOfKind(x_45, x_19); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; lean_dec(x_45); lean_dec(x_40); lean_dec(x_31); lean_dec(x_30); lean_dec(x_11); -x_47 = lean_box(1); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_3); -return x_48; +x_48 = lean_box(1); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_3); +return x_49; } else { -lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_49 = l_Lean_Syntax_getArgs(x_45); +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = l_Lean_Syntax_getArgs(x_45); lean_dec(x_45); -x_50 = lean_array_get_size(x_49); -lean_dec(x_49); -x_51 = lean_nat_dec_eq(x_50, x_16); +x_51 = lean_array_get_size(x_50); lean_dec(x_50); -if (x_51 == 0) +x_52 = lean_nat_dec_eq(x_51, x_16); +lean_dec(x_51); +if (x_52 == 0) { -lean_object* x_52; lean_object* x_53; +lean_object* x_53; lean_object* x_54; lean_dec(x_40); lean_dec(x_31); lean_dec(x_30); lean_dec(x_11); -x_52 = lean_box(1); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_3); -return x_53; +x_53 = lean_box(1); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_3); +return x_54; } 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; -x_54 = lean_unsigned_to_nat(5u); -x_55 = l_Lean_Syntax_getArg(x_11, 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; +x_55 = lean_unsigned_to_nat(5u); +x_56 = l_Lean_Syntax_getArg(x_11, x_55); lean_dec(x_11); -x_56 = l_Array_empty___closed__1; -x_57 = lean_array_push(x_56, x_30); -x_58 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_59 = lean_array_push(x_57, x_58); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_19); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; -x_62 = lean_array_push(x_61, x_60); -x_63 = lean_array_push(x_62, x_31); -x_64 = l_Lean_Elab_Term_expandShow___closed__8; -x_65 = lean_array_push(x_64, x_55); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_34); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_array_push(x_63, x_66); -x_68 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_69 = lean_array_push(x_67, x_68); -x_70 = l_Lean_Elab_Term_expandShow___closed__11; -x_71 = lean_array_push(x_70, x_40); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_36); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_69, x_72); -x_74 = l_Lean_Elab_Term_expandHave___closed__1; +x_57 = l_Lean_Syntax_mkApp___closed__1; +x_58 = lean_array_push(x_57, x_30); +x_59 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_60 = lean_array_push(x_58, x_59); +x_61 = l_Array_empty___closed__1; +x_62 = l_Array_appendCore___rarg(x_61, x_60); +lean_dec(x_60); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_19); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; +x_65 = lean_array_push(x_64, x_63); +x_66 = lean_array_push(x_65, x_31); +x_67 = l_Lean_Elab_Term_expandShow___closed__8; +x_68 = lean_array_push(x_67, x_56); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_34); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_array_push(x_66, x_69); +x_71 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_72 = lean_array_push(x_70, x_71); +x_73 = l_Lean_Elab_Term_expandShow___closed__11; +x_74 = lean_array_push(x_73, x_40); x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_73); -x_76 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_76, 0, x_75); -lean_ctor_set(x_76, 1, x_3); -return x_76; +lean_ctor_set(x_75, 0, x_36); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_array_push(x_72, x_75); +x_77 = l_Lean_Elab_Term_expandHave___closed__1; +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_76); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_3); +return x_79; } } } +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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_dec(x_45); +x_80 = lean_unsigned_to_nat(5u); +x_81 = l_Lean_Syntax_getArg(x_11, x_80); +lean_dec(x_11); +x_82 = l_Lean_Syntax_mkApp___closed__1; +x_83 = lean_array_push(x_82, x_30); +x_84 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_85 = lean_array_push(x_83, x_84); +x_86 = l_Array_empty___closed__1; +x_87 = l_Array_appendCore___rarg(x_86, x_85); +lean_dec(x_85); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_19); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; +x_90 = lean_array_push(x_89, x_88); +x_91 = lean_array_push(x_90, x_31); +x_92 = l_Lean_Elab_Term_expandShow___closed__8; +x_93 = lean_array_push(x_92, x_81); +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_34); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_array_push(x_91, x_94); +x_96 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_97 = lean_array_push(x_95, x_96); +x_98 = l_Lean_Elab_Term_expandShow___closed__11; +x_99 = lean_array_push(x_98, x_40); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_36); +lean_ctor_set(x_100, 1, x_99); +x_101 = lean_array_push(x_97, x_100); +x_102 = l_Lean_Elab_Term_expandHave___closed__1; +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_102); +lean_ctor_set(x_103, 1, x_101); +x_104 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_104, 0, x_103); +lean_ctor_set(x_104, 1, x_3); +return x_104; +} +} } } else { -lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_77 = l_Lean_Syntax_getArg(x_33, x_16); +lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_105 = l_Lean_Syntax_getArg(x_33, x_16); lean_dec(x_33); -x_78 = l_Lean_Syntax_getArg(x_11, x_10); -lean_inc(x_78); -x_79 = l_Lean_Syntax_isOfKind(x_78, x_19); -if (x_79 == 0) +x_106 = l_Lean_Syntax_getArg(x_11, x_10); +x_107 = l_Lean_Syntax_isNone(x_106); +if (x_107 == 0) { -lean_object* x_80; lean_object* x_81; -lean_dec(x_78); -lean_dec(x_77); +uint8_t x_108; +lean_inc(x_106); +x_108 = l_Lean_Syntax_isOfKind(x_106, x_19); +if (x_108 == 0) +{ +lean_object* x_109; lean_object* x_110; +lean_dec(x_106); +lean_dec(x_105); lean_dec(x_31); lean_dec(x_30); lean_dec(x_11); -x_80 = lean_box(1); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_3); -return x_81; +x_109 = lean_box(1); +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_3); +return x_110; } else { -lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_82 = l_Lean_Syntax_getArgs(x_78); -lean_dec(x_78); -x_83 = lean_array_get_size(x_82); -lean_dec(x_82); -x_84 = lean_nat_dec_eq(x_83, x_16); -lean_dec(x_83); -if (x_84 == 0) +lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_111 = l_Lean_Syntax_getArgs(x_106); +lean_dec(x_106); +x_112 = lean_array_get_size(x_111); +lean_dec(x_111); +x_113 = lean_nat_dec_eq(x_112, x_16); +lean_dec(x_112); +if (x_113 == 0) { -lean_object* x_85; lean_object* x_86; -lean_dec(x_77); +lean_object* x_114; lean_object* x_115; +lean_dec(x_105); lean_dec(x_31); lean_dec(x_30); lean_dec(x_11); -x_85 = lean_box(1); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_85); -lean_ctor_set(x_86, 1, x_3); -return x_86; +x_114 = lean_box(1); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_3); +return x_115; } else { -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_87 = lean_unsigned_to_nat(5u); -x_88 = l_Lean_Syntax_getArg(x_11, x_87); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_116 = lean_unsigned_to_nat(5u); +x_117 = l_Lean_Syntax_getArg(x_11, x_116); lean_dec(x_11); -x_89 = l_Array_empty___closed__1; -x_90 = lean_array_push(x_89, x_30); -x_91 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_92 = lean_array_push(x_90, x_91); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_19); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; -x_95 = lean_array_push(x_94, x_93); -x_96 = lean_array_push(x_95, x_31); -x_97 = l_Lean_Elab_Term_expandShow___closed__8; -x_98 = lean_array_push(x_97, x_88); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_34); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_96, x_99); -x_101 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; -x_102 = lean_array_push(x_100, x_101); -x_103 = lean_array_push(x_102, x_77); -x_104 = l_Lean_Elab_Term_expandHave___closed__1; -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_104); -lean_ctor_set(x_105, 1, x_103); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_3); -return x_106; +x_118 = l_Lean_Syntax_mkApp___closed__1; +x_119 = lean_array_push(x_118, x_30); +x_120 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_121 = lean_array_push(x_119, x_120); +x_122 = l_Array_empty___closed__1; +x_123 = l_Array_appendCore___rarg(x_122, x_121); +lean_dec(x_121); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_19); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; +x_126 = lean_array_push(x_125, x_124); +x_127 = lean_array_push(x_126, x_31); +x_128 = l_Lean_Elab_Term_expandShow___closed__8; +x_129 = lean_array_push(x_128, x_117); +x_130 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_130, 0, x_34); +lean_ctor_set(x_130, 1, x_129); +x_131 = lean_array_push(x_127, x_130); +x_132 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_133 = lean_array_push(x_131, x_132); +x_134 = lean_array_push(x_133, x_105); +x_135 = l_Lean_Elab_Term_expandHave___closed__1; +x_136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_134); +x_137 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_3); +return x_137; } } } +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_106); +x_138 = lean_unsigned_to_nat(5u); +x_139 = l_Lean_Syntax_getArg(x_11, x_138); +lean_dec(x_11); +x_140 = l_Lean_Syntax_mkApp___closed__1; +x_141 = lean_array_push(x_140, x_30); +x_142 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_143 = lean_array_push(x_141, x_142); +x_144 = l_Array_empty___closed__1; +x_145 = l_Array_appendCore___rarg(x_144, x_143); +lean_dec(x_143); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_19); +lean_ctor_set(x_146, 1, x_145); +x_147 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__2; +x_148 = lean_array_push(x_147, x_146); +x_149 = lean_array_push(x_148, x_31); +x_150 = l_Lean_Elab_Term_expandShow___closed__8; +x_151 = lean_array_push(x_150, x_139); +x_152 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_152, 0, x_34); +lean_ctor_set(x_152, 1, x_151); +x_153 = lean_array_push(x_149, x_152); +x_154 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_155 = lean_array_push(x_153, x_154); +x_156 = lean_array_push(x_155, x_105); +x_157 = l_Lean_Elab_Term_expandHave___closed__1; +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_156); +x_159 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_159, 0, x_158); +lean_ctor_set(x_159, 1, x_3); +return x_159; +} +} +} +} +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; uint8_t x_165; +lean_dec(x_17); +x_160 = lean_unsigned_to_nat(2u); +x_161 = l_Lean_Syntax_getArg(x_11, x_160); +x_162 = lean_unsigned_to_nat(3u); +x_163 = l_Lean_Syntax_getArg(x_11, x_162); +x_164 = l_Lean_Elab_Term_expandShow___closed__3; +lean_inc(x_163); +x_165 = l_Lean_Syntax_isOfKind(x_163, x_164); +if (x_165 == 0) +{ +lean_object* x_166; uint8_t x_167; +x_166 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +lean_inc(x_163); +x_167 = l_Lean_Syntax_isOfKind(x_163, x_166); +if (x_167 == 0) +{ +lean_object* x_168; lean_object* x_169; +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_11); +x_168 = lean_box(1); +x_169 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_3); +return x_169; +} +else +{ +lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_170 = l_Lean_Syntax_getArg(x_163, x_16); +lean_dec(x_163); +x_171 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_13592____closed__3; +lean_inc(x_170); +x_172 = l_Lean_Syntax_isOfKind(x_170, x_171); +if (x_172 == 0) +{ +lean_object* x_173; lean_object* x_174; +lean_dec(x_170); +lean_dec(x_161); +lean_dec(x_11); +x_173 = lean_box(1); +x_174 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_174, 0, x_173); +lean_ctor_set(x_174, 1, x_3); +return x_174; +} +else +{ +lean_object* x_175; uint8_t x_176; +x_175 = l_Lean_Syntax_getArg(x_11, x_10); +x_176 = l_Lean_Syntax_isNone(x_175); +if (x_176 == 0) +{ +lean_object* x_177; uint8_t x_178; +x_177 = l_Lean_nullKind___closed__2; +lean_inc(x_175); +x_178 = l_Lean_Syntax_isOfKind(x_175, x_177); +if (x_178 == 0) +{ +lean_object* x_179; lean_object* x_180; +lean_dec(x_175); +lean_dec(x_170); +lean_dec(x_161); +lean_dec(x_11); +x_179 = lean_box(1); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_3); +return x_180; +} +else +{ +lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_181 = l_Lean_Syntax_getArgs(x_175); +lean_dec(x_175); +x_182 = lean_array_get_size(x_181); +lean_dec(x_181); +x_183 = lean_nat_dec_eq(x_182, x_16); +lean_dec(x_182); +if (x_183 == 0) +{ +lean_object* x_184; lean_object* x_185; +lean_dec(x_170); +lean_dec(x_161); +lean_dec(x_11); +x_184 = lean_box(1); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_3); +return x_185; +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +x_186 = lean_unsigned_to_nat(5u); +x_187 = l_Lean_Syntax_getArg(x_11, x_186); +lean_dec(x_11); +x_188 = l_Lean_Elab_Term_expandHave___closed__2; +x_189 = lean_array_push(x_188, x_161); +x_190 = l_Lean_Elab_Term_expandShow___closed__8; +x_191 = lean_array_push(x_190, x_187); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_164); +lean_ctor_set(x_192, 1, x_191); +x_193 = lean_array_push(x_189, x_192); +x_194 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_195 = lean_array_push(x_193, x_194); +x_196 = l_Lean_Elab_Term_expandShow___closed__11; +x_197 = lean_array_push(x_196, x_170); +x_198 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_198, 0, x_166); +lean_ctor_set(x_198, 1, x_197); +x_199 = lean_array_push(x_195, x_198); +x_200 = l_Lean_Elab_Term_expandHave___closed__1; +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_200); +lean_ctor_set(x_201, 1, x_199); +x_202 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_3); +return x_202; +} +} +} +else +{ +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; +lean_dec(x_175); +x_203 = lean_unsigned_to_nat(5u); +x_204 = l_Lean_Syntax_getArg(x_11, x_203); +lean_dec(x_11); +x_205 = l_Lean_Elab_Term_expandHave___closed__2; +x_206 = lean_array_push(x_205, x_161); +x_207 = l_Lean_Elab_Term_expandShow___closed__8; +x_208 = lean_array_push(x_207, x_204); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_164); +lean_ctor_set(x_209, 1, x_208); +x_210 = lean_array_push(x_206, x_209); +x_211 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_212 = lean_array_push(x_210, x_211); +x_213 = l_Lean_Elab_Term_expandShow___closed__11; +x_214 = lean_array_push(x_213, x_170); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_166); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_array_push(x_212, x_215); +x_217 = l_Lean_Elab_Term_expandHave___closed__1; +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_217); +lean_ctor_set(x_218, 1, x_216); +x_219 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_3); +return x_219; +} +} +} +} +else +{ +lean_object* x_220; lean_object* x_221; uint8_t x_222; +x_220 = l_Lean_Syntax_getArg(x_163, x_16); +lean_dec(x_163); +x_221 = l_Lean_Syntax_getArg(x_11, x_10); +x_222 = l_Lean_Syntax_isNone(x_221); +if (x_222 == 0) +{ +lean_object* x_223; uint8_t x_224; +x_223 = l_Lean_nullKind___closed__2; +lean_inc(x_221); +x_224 = l_Lean_Syntax_isOfKind(x_221, x_223); +if (x_224 == 0) +{ +lean_object* x_225; lean_object* x_226; +lean_dec(x_221); +lean_dec(x_220); +lean_dec(x_161); +lean_dec(x_11); +x_225 = lean_box(1); +x_226 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_226, 0, x_225); +lean_ctor_set(x_226, 1, x_3); +return x_226; +} +else +{ +lean_object* x_227; lean_object* x_228; uint8_t x_229; +x_227 = l_Lean_Syntax_getArgs(x_221); +lean_dec(x_221); +x_228 = lean_array_get_size(x_227); +lean_dec(x_227); +x_229 = lean_nat_dec_eq(x_228, x_16); +lean_dec(x_228); +if (x_229 == 0) +{ +lean_object* x_230; lean_object* x_231; +lean_dec(x_220); +lean_dec(x_161); +lean_dec(x_11); +x_230 = lean_box(1); +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_3); +return x_231; +} +else +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_232 = lean_unsigned_to_nat(5u); +x_233 = l_Lean_Syntax_getArg(x_11, x_232); +lean_dec(x_11); +x_234 = l_Lean_Elab_Term_expandHave___closed__2; +x_235 = lean_array_push(x_234, x_161); +x_236 = l_Lean_Elab_Term_expandShow___closed__8; +x_237 = lean_array_push(x_236, x_233); +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_164); +lean_ctor_set(x_238, 1, x_237); +x_239 = lean_array_push(x_235, x_238); +x_240 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_241 = lean_array_push(x_239, x_240); +x_242 = lean_array_push(x_241, x_220); +x_243 = l_Lean_Elab_Term_expandHave___closed__1; +x_244 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_3); +return x_245; +} +} +} +else +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +lean_dec(x_221); +x_246 = lean_unsigned_to_nat(5u); +x_247 = l_Lean_Syntax_getArg(x_11, x_246); +lean_dec(x_11); +x_248 = l_Lean_Elab_Term_expandHave___closed__2; +x_249 = lean_array_push(x_248, x_161); +x_250 = l_Lean_Elab_Term_expandShow___closed__8; +x_251 = lean_array_push(x_250, x_247); +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_164); +lean_ctor_set(x_252, 1, x_251); +x_253 = lean_array_push(x_249, x_252); +x_254 = l_myMacro____x40_Init_Notation___hyg_12803____closed__18; +x_255 = lean_array_push(x_253, x_254); +x_256 = lean_array_push(x_255, x_220); +x_257 = l_Lean_Elab_Term_expandHave___closed__1; +x_258 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_258, 1, x_256); +x_259 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_3); +return x_259; } } } diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 408d623975..8bb4965b06 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -16,26 +16,38 @@ extern "C" { extern lean_object* l_Lean_Parser_Tactic_orelse___closed__4; uint8_t l_Lean_Syntax_isQuot(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__20(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_10790____closed__11; +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772____closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__44(lean_object*); lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Term_toParserDescrAux___spec__9___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_Command_expandMixfix_match__28___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__43; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__22; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; lean_object* l_Lean_Elab_mkUnusedBaseName___at_Lean_Elab_Command_mkNameFromParserSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__35(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__7(lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_49____closed__16; +lean_object* l_Lean_Elab_Command_expandMixfix_match__13(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__42___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at_Lean_Elab_Term_toParserDescrAux___spec__8(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__8___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__17___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__6; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__9; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3___rarg(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_throwError___at___private_Lean_Elab_Command_0__Lean_Elab_Command_elabCommandUsing___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__21; size_t l_USize_add(size_t, size_t); +lean_object* l_Lean_Elab_Command_expandMixfix_match__7___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotation___closed__1; lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_elabSyntax___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabSyntax___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -47,6 +59,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux lean_object* l_Lean_stringToMessageData(lean_object*); extern lean_object* l_String_instInhabitedString; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__3; +lean_object* l_Lean_Elab_Command_expandMixfix_match__40(lean_object*); extern lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescrAux___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,8 +73,10 @@ lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__3; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_List_head_x21___at_Lean_Elab_Command_instMonadOptionsCommandElabM___spec__1(lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +lean_object* l_Lean_Elab_Command_expandMixfix_match__31___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__2; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__12; +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev_match__1(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__23; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -69,7 +84,9 @@ lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__4; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__26; lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__4; +lean_object* l_Lean_Elab_Command_expandMixfix_match__11___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__13; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -78,6 +95,7 @@ extern lean_object* l_Lean_Parser_leadPrec; lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev_match__1___rarg(lean_object*, lean_object*); uint8_t l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_isAtomLikeSyntax(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__21; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__1; @@ -110,6 +128,8 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__12; lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; +extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__8; +lean_object* l_Lean_Elab_Command_expandMixfix_match__12___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__43; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__5; @@ -140,6 +160,7 @@ uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__20; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_withExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__18(lean_object*); uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAux___at_Lean_Elab_Command_mkSimpleDelab_go___spec__2(lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_12176____closed__11; @@ -160,20 +181,24 @@ extern lean_object* l_Lean_formatDataValue___closed__1; extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; extern lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg___closed__4; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__31; uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__35; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__29; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__22; +lean_object* l_Lean_Elab_Command_expandMixfix_match__5(lean_object*); extern lean_object* l_instReprBool___closed__1; lean_object* l_Lean_Elab_Command_expandElab___closed__4; extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__16; +lean_object* l_Lean_Elab_Command_expandMixfix_match__44___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Lean_Elab_Command_elabNoKindMacroRulesAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux_match__6(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__6; extern lean_object* l_Lean_Parser_Term_scoped___elambda__1___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__46___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; extern lean_object* l_myMacro____x40_Init_Notation___hyg_10790____closed__8; @@ -183,6 +208,7 @@ lean_object* l_Lean_Elab_logTrace___at_Lean_Elab_Command_elabSyntax___spec__2___ lean_object* l_Lean_Elab_Command_elabSyntax___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_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +lean_object* l_Lean_Elab_Command_expandMixfix_match__4(lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__5; @@ -194,22 +220,29 @@ lean_object* lean_string_utf8_set(lean_object*, lean_object*, uint32_t); extern lean_object* l_Lean_Parser_Syntax_nonReserved___elambda__1___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__3(lean_object*, lean_object*); lean_object* l_Lean_MessageData_ofList(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__51(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__10; +lean_object* l_Lean_Elab_Command_expandMixfix_match__30(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabElab(lean_object*); lean_object* l_List_map___at_Lean_resolveGlobalConst___spec__2(lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__26; +lean_object* l_Lean_Elab_Command_expandMixfix_match__22___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__36___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__2___rarg(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_10790____closed__13; extern lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); uint8_t l_Char_isWhitespace(uint32_t); +lean_object* l_Lean_Elab_Command_expandMixfix_match__48(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__3; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_object* l_Lean_Elab_Command_expandMixfix_match__18___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux_match__2(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux(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_Command_expandMixfix_match__24(lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__7; lean_object* l_Lean_Elab_Command_expandMacro___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go_match__1(lean_object*); @@ -218,6 +251,7 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__27; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNotFirst(lean_object*); extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__12; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMacro___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__5; extern lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg___closed__1; @@ -241,13 +275,16 @@ lean_object* l_Lean_Elab_Command_expandMacro___closed__1; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__29; lean_object* l_Lean_Elab_Command_expandElab___closed__17; lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__4___rarg(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_Command_expandMixfix_match__25___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__3; extern lean_object* l_stx___x3c_x7c_x3e_____closed__8; extern lean_object* l_Lean_Parser_Command_infixl___elambda__1___closed__1; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__13; lean_object* l_Lean_Syntax_mkAntiquotNode(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__2___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4___rarg(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__6; +lean_object* l_Lean_Elab_Command_expandMixfix_match__12(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__42; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1(lean_object*, lean_object*, lean_object*); @@ -271,6 +308,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__37; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___rarg(lean_object*); extern lean_object* l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__39___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__2(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__13; lean_object* l_Lean_Elab_Term_checkLeftRec___closed__1; @@ -282,12 +320,16 @@ lean_object* lean_string_utf8_next(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___spec__2___rarg___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_Parser_Command_macro__rules___elambda__1___closed__2; lean_object* l_Lean_Elab_Command_expandMixfix___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__45___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12176____closed__10; lean_object* l_Lean_Elab_Command_expandElab___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__28(lean_object*); lean_object* l_Lean_Elab_Term_expandOptPrecedence___boxed(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__15; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__39; +lean_object* l_Lean_Elab_Command_expandMixfix_match__14___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__16; extern lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__6; extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__4; @@ -297,6 +339,7 @@ lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__19; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabMacroRulesAux___spec__3___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; lean_object* l___regBuiltin_Lean_Elab_Command_elabElab___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__23___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__16; lean_object* l_Lean_Elab_Command_elabMacro___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMacro(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -307,6 +350,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__3; lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; extern lean_object* l_Lean_Parser_Command_postfix___elambda__1___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix_match__10(lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__49; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; @@ -321,12 +365,14 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__3___closed__4; extern lean_object* l_Lean_setOptionFromString___closed__4; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__21; uint8_t l_instDecidableNot___rarg(uint8_t); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_10790____closed__15; +lean_object* l_Lean_Elab_Command_expandMixfix_match__52___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__19; lean_object* l_Lean_Elab_Command_expandElab___closed__49; lean_object* l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___at_Lean_Elab_Command_mkSimpleDelab_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__7; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__24; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntaxAbbrev(lean_object*); @@ -336,11 +382,11 @@ extern lean_object* l_Lean_numLitKind; lean_object* l_Lean_Elab_Command_expandElab___closed__33; extern lean_object* l_Lean_Parser_categoryParserFnImpl___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; lean_object* l_Lean_Elab_Command_expandElab___closed__22; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___closed__1; lean_object* l_Lean_Elab_Term_toParserDescrAux___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_Command_elabSyntax___lambda__3___closed__31; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665____closed__1; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser___boxed(lean_object*); extern lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__9; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__22; @@ -354,6 +400,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_376____closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; lean_object* l_Lean_Elab_Command_expandMacroArgIntoPattern___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix_match__16(lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab___boxed(lean_object*); extern lean_object* l_Lean_Parser_Term_quotedName___elambda__1___closed__2; @@ -366,11 +413,15 @@ lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__4; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__2; extern lean_object* l_Lean_instToStringAttributeKind___closed__2; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__7; +lean_object* l_Lean_Elab_Command_expandMixfix_match__34(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__8(lean_object*); lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__52(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__38; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__21; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; extern lean_object* l_Lean_Parser_Syntax_paren___elambda__1___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescrAux___spec__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -380,7 +431,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux_match__5___rarg(lean_object*, lea lean_object* l_String_capitalize(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_myMacro____x40_Init_Notation___hyg_49____closed__7; -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665_(lean_object*); +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772_(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; extern lean_object* l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; @@ -392,6 +443,7 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__26; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__39(lean_object*); lean_object* l_Lean_Elab_Command_withExpectedType_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__7; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_visit_match__1(lean_object*); @@ -404,14 +456,18 @@ extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__10; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_runForNodeKind___rarg___closed__3; lean_object* l_Lean_Elab_Command_strLitToPattern___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__47___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; lean_object* l_Lean_Elab_Command_expandElab___closed__20; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__5; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__17; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__3; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; +lean_object* l_Lean_Elab_Command_expandMixfix_match__43___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1___rarg___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_Command_expandMixfix_match__50(lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__20; extern lean_object* l_Lean_instQuoteBool___closed__3; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__15; @@ -438,6 +494,7 @@ lean_object* l_Lean_Elab_Command_elabSyntax_match__1___rarg(lean_object*, lean_o lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_object* l_Lean_Elab_Command_expandMixfix_match__30___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__4; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__5; @@ -456,6 +513,7 @@ lean_object* l_Lean_Elab_Command_adaptExpander(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__27; extern lean_object* l_Lean_Parser_mkParserAttributeImpl___closed__1; lean_object* l_Lean_Elab_mkUnusedBaseName_loop(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__26___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_choiceKind; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__1; lean_object* l_Lean_Elab_Term_checkLeftRec___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*); @@ -463,15 +521,20 @@ extern lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__16; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__24; lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__26(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__6; +lean_object* l_Lean_Elab_Command_expandMixfix_match__19___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix_match__15(lean_object*); lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__37___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_elab___elambda__1___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__7; lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_mkNameFromParserSyntax_visit___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__41(lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__30; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -481,9 +544,10 @@ lean_object* l_List_filterAux___at_Lean_resolveGlobalConst___spec__1(lean_object lean_object* l_Lean_Elab_Command_withExpectedType___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__4___closed__2; lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescrAux___spec__5(lean_object*); -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__3(lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__32(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1; lean_object* l_Lean_Elab_Command_expandElab___closed__53; uint32_t lean_string_utf8_get(lean_object*, lean_object*); @@ -509,19 +573,23 @@ extern lean_object* l_Lean_Parser_Command_identPrec___elambda__1___closed__2; lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_toParserDescrAux___spec__4___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_KernelException_toMessageData___closed__15; uint8_t l_Array_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__29___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1___closed__3; extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; +lean_object* l_Lean_Elab_Command_expandMixfix_match__50___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix___closed__3; lean_object* l_Lean_fmt___at_Lean_Elab_Term_toParserDescrAux___spec__7(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12176____closed__22; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__29; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30; extern lean_object* l_Lean_Elab_mkMacroAttributeUnsafe___closed__9; lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3___rarg___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_Command_macroArgSimple___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2___closed__3; lean_object* l_Lean_Elab_Command_elabCommand(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__23; +lean_object* l_Lean_Elab_Command_expandMixfix_match__33___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__3___rarg(lean_object*, lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; @@ -529,8 +597,10 @@ lean_object* l_Lean_Elab_log___at_Lean_Elab_Command_elabSyntax___spec__3(lean_ob lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__3(lean_object*); lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__10; +lean_object* l_Lean_Elab_Command_expandMixfix_match__29(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__8; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_49____closed__2; extern lean_object* l_Lean_PrettyPrinter_mkFormatterAttribute___closed__6; @@ -563,6 +633,7 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__25; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__3; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3726____closed__2; +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_elabBinders___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -574,12 +645,16 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__47; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_expandMacro___spec__2___rarg(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__1; extern lean_object* l_Lean_nullKind___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix_match__1(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__11; lean_object* l_Lean_Elab_Command_expandElab___closed__41; lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +lean_object* l_Lean_Elab_Command_expandMixfix_match__40___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___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_Parser_ensureUnaryParserAlias(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__38(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__15___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandOptPrecedence_match__1(lean_object*); extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; @@ -609,6 +684,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__1; lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Std_PersistentArray_push___rarg(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__11(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__24; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__1___closed__4; lean_object* l_Lean_Name_appendAfter(lean_object*, lean_object*); @@ -616,6 +692,7 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux_match__6___rarg(lean_object*, lea lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__11; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__44; lean_object* l_Lean_Elab_Command_expandElab___closed__37; +lean_object* l_Lean_Elab_Command_expandMixfix_match__9(lean_object*); lean_object* l_Lean_Syntax_getNumArgs(lean_object*); extern lean_object* l_Lean_Parser_Command_notation___elambda__1___closed__1; extern lean_object* l_stx___x3c_x7c_x3e_____closed__7; @@ -629,7 +706,9 @@ lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__1(lean_object*, lean lean_object* lean_environment_main_module(lean_object*); extern lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__13; +lean_object* l_Lean_Elab_Command_expandMixfix_match__16___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__16; +lean_object* l_Lean_Elab_Command_expandMixfix_match__34___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___closed__3; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_toParserDescrAux___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_checkLeftRec___spec__1(lean_object*); @@ -642,6 +721,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser extern lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__1; lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Command_mkSimpleDelab_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__35; +lean_object* l_Lean_Elab_Command_expandMixfix_match__46(lean_object*); uint8_t l_Lean_Parser_isParserCategory(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__26; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -649,6 +729,7 @@ extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3736 lean_object* l_Lean_Elab_Term_toParserDescrAux_match__3(lean_object*); lean_object* l_Lean_Elab_Command_getCurrMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___lambda__2___closed__4; +lean_object* l_Lean_Elab_Command_expandMixfix_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureConstantParserAlias(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__7; lean_object* l_Lean_Elab_Command_elabNoKindMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -658,6 +739,8 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__7; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_checkLeftRec___closed__3; +lean_object* l_Lean_Elab_Command_expandMixfix_match__24___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__9___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__34; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__12; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -669,13 +752,16 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__21; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__38; extern lean_object* l_myMacro____x40_Init_Notation___hyg_376____closed__8; lean_object* l_Lean_Elab_Command_expandElab___closed__48; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__29; uint8_t l_Lean_Name_isAnonymous(lean_object*); extern lean_object* l_Lean_Parser_Command_infix___elambda__1___closed__2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_withNestedParser___rarg(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_checkLeftRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; lean_object* l_Lean_Elab_Command_expandElab___closed__21; extern lean_object* l_myMacro____x40_Init_Notation___hyg_376____closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__49(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__38; lean_object* l_Array_appendCore___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__2; @@ -685,27 +771,37 @@ extern lean_object* l_Lean_Format_paren___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___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_Lean_setEnv___at_Lean_Elab_Command_elabInitQuot___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__5(lean_object*); extern lean_object* l_Lean_Syntax_mkAntiquotNode___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix_match__35___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__6; lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; extern lean_object* l_myMacro____x40_Init_Notation___hyg_49____closed__8; +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4(lean_object*); lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Parser_isParserAlias(lean_object*, lean_object*); extern lean_object* l_Lean_Format_paren___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_1625____closed__4; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__25; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_markAsTrailingParser___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__41___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__26; lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_3726____closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__48___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__19(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__47(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__23(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__39; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__5; lean_object* l_Lean_Syntax_getPos(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax_match__4___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__6(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__43(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__11; lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_elabSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -714,6 +810,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__20; lean_object* l_Lean_Elab_Term_toParserDescrAux_match__4(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__2(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__8; lean_object* l_Lean_Elab_Command_expandNotationItemIntoPattern___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -742,6 +839,7 @@ lean_object* l_String_trim(lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__5; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__4; +lean_object* l_Lean_Elab_Command_expandMixfix_match__33(lean_object*); lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_toParserDescrAux___spec__5___rarg___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_Command_elabSyntax___lambda__3___closed__3; extern lean_object* l_Lean_instQuoteBool___closed__4; @@ -754,6 +852,7 @@ lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__9; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__2; extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__3; lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_toParserDescrAux___spec__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_Command_expandMixfix_match__25(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_521____closed__23; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___boxed(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); @@ -764,6 +863,7 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__18; lean_object* l_Lean_Elab_logAt___at_Lean_Elab_Command_elabSyntax___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +lean_object* l_Lean_Elab_Command_expandMixfix_match__14(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_10790____closed__17; extern lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__1; lean_object* l_Lean_Elab_toAttributeKind___at_Lean_Elab_Command_elabSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -781,15 +881,18 @@ lean_object* l_Lean_Elab_Command_expandElab___closed__27; lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__45; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__3; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; +lean_object* l_Lean_Elab_Command_expandMixfix_match__21___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_nameLitKind___closed__2; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__33; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_ensureBinaryParserAlias(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__31; +lean_object* l_Lean_Elab_Command_expandMixfix_match__27___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote_match__1(lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__15; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__32___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___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*); extern lean_object* l_Lean_Parser_Command_syntaxCat___elambda__1___closed__2; lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -811,6 +914,7 @@ lean_object* l_Lean_Elab_Command_mkSimpleDelab_go___closed__10; extern lean_object* l_myMacro____x40_Init_Notation___hyg_521____closed__1; lean_object* l_Lean_Elab_Command_expandElab___closed__19; lean_object* l_Lean_Elab_Command_elabMacro___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix_match__10___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__19; lean_object* l_Lean_Elab_Command_expandElab___closed__44; lean_object* lean_nat_mod(lean_object*, lean_object*); @@ -819,6 +923,7 @@ extern lean_object* l_Lean_Elab_Command_mkCommandElabAttributeUnsafe___closed__7 lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__31; lean_object* l_Lean_Elab_Command_expandElab___boxed__const__1; lean_object* l_Lean_Elab_Command_expandElab___closed__8; +lean_object* l_Lean_Elab_Command_expandMixfix_match__31(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_dynamicQuot___elambda__1___closed__11; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2___closed__2; @@ -831,17 +936,23 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_521____closed__2; lean_object* l_Lean_Elab_Term_expandOptPrecedence_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules___closed__1; extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__4; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Command_elabMacroRulesAux___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__21(lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__5___boxed__const__1; lean_object* l_unsafeCast(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__4___closed__4; lean_object* l_Lean_Elab_Command_elabSyntax_match__1(lean_object*); +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__6(lean_object*); lean_object* l_Lean_Elab_Command_expandMacroHeadIntoSyntaxItem(lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__38___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_myMacro____x40_Init_NotationExtra___hyg_1127____closed__27; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__8; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__32; lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_getScope___rarg(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_698____closed__1; @@ -849,6 +960,8 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQ lean_object* l_Lean_Elab_Command_elabMacro___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__20; extern lean_object* l_Lean_Parser_Command_macro___elambda__1___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix_match__49___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__22(lean_object*); lean_object* l_Lean_Elab_Command_mkNameFromParserSyntax_appendCatName_match__1(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux_match__5(lean_object*); @@ -868,6 +981,7 @@ lean_object* l_Lean_Elab_Command_expandMacroHeadIntoPattern___boxed(lean_object* lean_object* l_Lean_Elab_Command_inferMacroRulesAltKind___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_12176____closed__17; +lean_object* l_Lean_Elab_Command_expandMixfix_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_getCatSuffix(lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1(lean_object*); @@ -884,6 +998,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab extern lean_object* l_Lean_Elab_toAttributeKind___rarg___lambda__2___closed__2; lean_object* l_Lean_Elab_Term_toParserDescrAux_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__2; +lean_object* l_Lean_Elab_Command_expandMixfix_match__36(lean_object*); uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___closed__1; @@ -892,6 +1007,7 @@ lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec extern lean_object* l_Lean_Parser_Command_syntax___elambda__1___closed__1; lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__11; lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__37(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_elabKindPrio___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__3___closed__1; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__8; @@ -901,6 +1017,7 @@ extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_891____closed lean_object* l_Lean_Elab_Command_expandMacro___closed__2; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__12; extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_15583____closed__5; +lean_object* l_Lean_Elab_Command_expandMixfix_match__3(lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux_match__1(lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescrAux___spec__1___rarg(lean_object*); lean_object* l_Lean_Elab_Command_expandMacroArgIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*); @@ -916,13 +1033,20 @@ lean_object* l_Lean_Elab_Term_toParserDescrAux___closed__11; lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclareSyntaxCat(lean_object*); lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__17; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__4; +lean_object* l_Lean_Elab_Command_expandMixfix_match__17(lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__16; extern lean_object* l_Lean_Parser_Command_prefix___elambda__1___closed__2; +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__6___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_toParserDescrAux___lambda__2___closed__1; lean_object* l_Lean_Elab_Command_expandNotation(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__20___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(size_t, size_t, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__27(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__51___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withAutoBoundImplicitLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1; +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__5___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__13___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; lean_object* l_Lean_Elab_Command_expandElab___closed__50; lean_object* l___regBuiltin_Lean_Elab_Command_elabSyntax___closed__1; @@ -938,8 +1062,10 @@ lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__8; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandNotationItemIntoSyntaxItem___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Command_elabMacroRulesAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__45(lean_object*); lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__5; uint8_t l_Lean_Syntax_isIdent(lean_object*); +lean_object* l_Lean_Elab_Command_expandMixfix_match__42(lean_object*); lean_object* l_Lean_Elab_Command_expandElab___closed__39; lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__4; lean_object* l_Lean_Elab_Term_expandOptPrecedence_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -17512,121 +17638,121 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_60; uint8_t x_61; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_53; uint8_t x_54; x_8 = lean_unsigned_to_nat(1u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_60 = l_Lean_nullKind___closed__2; +x_53 = l_Lean_nullKind___closed__2; lean_inc(x_9); -x_61 = l_Lean_Syntax_isOfKind(x_9, x_60); -if (x_61 == 0) +x_54 = l_Lean_Syntax_isOfKind(x_9, x_53); +if (x_54 == 0) { -lean_object* x_62; -x_62 = lean_box(0); -x_10 = x_62; -goto block_59; +lean_object* x_55; +x_55 = lean_box(0); +x_10 = x_55; +goto block_52; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; -x_63 = l_Lean_Syntax_getArgs(x_9); -x_64 = lean_array_get_size(x_63); -lean_dec(x_63); -x_65 = lean_unsigned_to_nat(0u); -x_66 = lean_nat_dec_eq(x_64, x_65); -lean_dec(x_64); -if (x_66 == 0) +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_56 = l_Lean_Syntax_getArgs(x_9); +x_57 = lean_array_get_size(x_56); +lean_dec(x_56); +x_58 = lean_unsigned_to_nat(0u); +x_59 = lean_nat_dec_eq(x_57, x_58); +lean_dec(x_57); +if (x_59 == 0) { -lean_object* x_67; -x_67 = lean_box(0); -x_10 = x_67; -goto block_59; +lean_object* x_60; +x_60 = lean_box(0); +x_10 = x_60; +goto block_52; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; +lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; lean_dec(x_9); -x_68 = lean_unsigned_to_nat(2u); -x_69 = l_Lean_Syntax_getArg(x_1, x_68); +x_61 = lean_unsigned_to_nat(2u); +x_62 = l_Lean_Syntax_getArg(x_1, x_61); lean_dec(x_1); -x_70 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; -lean_inc(x_69); -x_71 = l_Lean_Syntax_isOfKind(x_69, x_70); -if (x_71 == 0) +x_63 = l_Lean_Parser_Term_matchAlts___elambda__1___closed__1; +lean_inc(x_62); +x_64 = l_Lean_Syntax_isOfKind(x_62, x_63); +if (x_64 == 0) { -lean_object* x_72; -lean_dec(x_69); +lean_object* x_65; +lean_dec(x_62); lean_dec(x_3); lean_dec(x_2); -x_72 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_4); -return x_72; +x_65 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_4); +return x_65; } else { -lean_object* x_73; uint8_t x_74; -x_73 = l_Lean_Syntax_getArg(x_69, x_65); -lean_inc(x_73); -x_74 = l_Lean_Syntax_isOfKind(x_73, x_60); -if (x_74 == 0) +lean_object* x_66; uint8_t x_67; +x_66 = l_Lean_Syntax_getArg(x_62, x_58); +x_67 = l_Lean_Syntax_isNone(x_66); +if (x_67 == 0) { -lean_object* x_75; -lean_dec(x_73); -lean_dec(x_69); +uint8_t x_68; +lean_inc(x_66); +x_68 = l_Lean_Syntax_isOfKind(x_66, x_53); +if (x_68 == 0) +{ +lean_object* x_69; +lean_dec(x_66); +lean_dec(x_62); lean_dec(x_3); lean_dec(x_2); -x_75 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_4); -return x_75; +x_69 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_4); +return x_69; } else { -lean_object* x_76; lean_object* x_77; uint8_t x_78; -x_76 = l_Lean_Syntax_getArgs(x_73); -lean_dec(x_73); -x_77 = lean_array_get_size(x_76); -lean_dec(x_76); -x_78 = lean_nat_dec_eq(x_77, x_65); -if (x_78 == 0) +lean_object* x_70; lean_object* x_71; uint8_t x_72; +x_70 = l_Lean_Syntax_getArgs(x_66); +lean_dec(x_66); +x_71 = lean_array_get_size(x_70); +lean_dec(x_70); +x_72 = lean_nat_dec_eq(x_71, x_8); +lean_dec(x_71); +if (x_72 == 0) { -uint8_t x_79; -x_79 = lean_nat_dec_eq(x_77, x_8); +lean_object* x_73; +lean_dec(x_62); +lean_dec(x_3); +lean_dec(x_2); +x_73 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_4); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = l_Lean_Syntax_getArg(x_62, x_8); +lean_dec(x_62); +x_75 = l_Lean_Syntax_getArgs(x_74); +lean_dec(x_74); +x_76 = l_Lean_Elab_Command_elabNoKindMacroRulesAux(x_75, x_2, x_3, x_4); +lean_dec(x_75); +return x_76; +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_66); +x_77 = l_Lean_Syntax_getArg(x_62, x_8); +lean_dec(x_62); +x_78 = l_Lean_Syntax_getArgs(x_77); lean_dec(x_77); -if (x_79 == 0) -{ -lean_object* x_80; -lean_dec(x_69); -lean_dec(x_3); -lean_dec(x_2); -x_80 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_4); -return x_80; -} -else -{ -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = l_Lean_Syntax_getArg(x_69, x_8); -lean_dec(x_69); -x_82 = l_Lean_Syntax_getArgs(x_81); -lean_dec(x_81); -x_83 = l_Lean_Elab_Command_elabNoKindMacroRulesAux(x_82, x_2, x_3, x_4); -lean_dec(x_82); -return x_83; -} -} -else -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -lean_dec(x_77); -x_84 = l_Lean_Syntax_getArg(x_69, x_8); -lean_dec(x_69); -x_85 = l_Lean_Syntax_getArgs(x_84); -lean_dec(x_84); -x_86 = l_Lean_Elab_Command_elabNoKindMacroRulesAux(x_85, x_2, x_3, x_4); -lean_dec(x_85); -return x_86; +x_79 = l_Lean_Elab_Command_elabNoKindMacroRulesAux(x_78, x_2, x_3, x_4); +lean_dec(x_78); +return x_79; } } } } -} -block_59: +block_52: { lean_object* x_11; uint8_t x_12; lean_dec(x_10); @@ -17685,63 +17811,13 @@ return x_24; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_44; +lean_object* x_25; lean_object* x_26; uint8_t x_27; x_25 = lean_unsigned_to_nat(0u); x_26 = l_Lean_Syntax_getArg(x_21, x_25); -lean_inc(x_26); -x_44 = l_Lean_Syntax_isOfKind(x_26, x_11); -if (x_44 == 0) -{ -lean_object* x_45; -x_45 = lean_box(0); -x_27 = x_45; -goto block_43; -} -else -{ -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = l_Lean_Syntax_getArgs(x_26); -x_47 = lean_array_get_size(x_46); -lean_dec(x_46); -x_48 = lean_nat_dec_eq(x_47, x_25); -lean_dec(x_47); -if (x_48 == 0) -{ -lean_object* x_49; -x_49 = lean_box(0); -x_27 = x_49; -goto block_43; -} -else -{ -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -lean_dec(x_26); -x_50 = l_Lean_Syntax_getArg(x_21, x_8); -lean_dec(x_21); -x_51 = l_Lean_Syntax_getArgs(x_50); -lean_dec(x_50); -x_52 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_ctor_get(x_53, 2); -lean_inc(x_55); -lean_dec(x_53); -x_56 = l_Lean_Syntax_getId(x_19); -lean_dec(x_19); -x_57 = l_Lean_Name_append(x_55, x_56); -lean_dec(x_55); -x_58 = l_Lean_Elab_Command_elabMacroRulesAux(x_57, x_51, x_2, x_3, x_54); -lean_dec(x_51); -return x_58; -} -} -block_43: +x_27 = l_Lean_Syntax_isNone(x_26); +if (x_27 == 0) { uint8_t x_28; -lean_dec(x_27); lean_inc(x_26); x_28 = l_Lean_Syntax_isOfKind(x_26, x_11); if (x_28 == 0) @@ -17800,6 +17876,31 @@ return x_42; } } } +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_26); +x_43 = l_Lean_Syntax_getArg(x_21, x_8); +lean_dec(x_21); +x_44 = l_Lean_Syntax_getArgs(x_43); +lean_dec(x_43); +x_45 = l_Lean_Elab_Command_getScope___rarg(x_3, x_4); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_ctor_get(x_46, 2); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Syntax_getId(x_19); +lean_dec(x_19); +x_50 = l_Lean_Name_append(x_48, x_49); +lean_dec(x_48); +x_51 = l_Lean_Elab_Command_elabMacroRulesAux(x_50, x_44, x_2, x_3, x_47); +lean_dec(x_44); +return x_51; +} } } } @@ -17843,6 +17944,1618 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Elab_Command_expandMixfix_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__4___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__5___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__6___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__7___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__7(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__7___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__8___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__8(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__8___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__9___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__9(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__9___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__10(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__10___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__11___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__11(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__11___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__12___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__12(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__12___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__13___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__13(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__13___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__14___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__14(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__14___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__15___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__15(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__15___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__16___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__16(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__16___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__17___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__17(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__17___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__18___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__18(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__18___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__19___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__19(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__19___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__20___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__20(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__20___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__21___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__21(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__21___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__22___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__22(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__22___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__23___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__23(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__23___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__24___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__24(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__24___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__25___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__25(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__25___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__26___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__26(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__26___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__27___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__27(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__27___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__28___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__28(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__28___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__29___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__29(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__29___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__30___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__30(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__30___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__31___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__31(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__31___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__32___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__32(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__32___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__33___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__33(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__33___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__34___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__34(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__34___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__35___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__35(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__35___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__36___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__36(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__36___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__37___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__37(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__37___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__38___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__38(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__38___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__39___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__39(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__39___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__40___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__40(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__40___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__41___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__41(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__41___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__42___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__42(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__42___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__43___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__43(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__43___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__44___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__44(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__44___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__45___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__45(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__45___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__46___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__46(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__46___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__47___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__47(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__47___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__48___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__48(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__48___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__49___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__49(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__49___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__50___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__50(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__50___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__51___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__51(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__51___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__52___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l_Lean_Elab_Command_expandMixfix_match__52(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Command_expandMixfix_match__52___rarg), 3, 0); +return x_2; +} +} lean_object* l_Lean_Elab_Command_expandMixfix_withAttrKindGlobal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -17951,27 +19664,37 @@ return x_3; static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("arg"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Syntax_mkAntiquotNode___closed__16; +x_2 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__8; +x_3 = lean_array_push(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string("arg"); +return x_1; } } static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -17979,17 +19702,58 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_empty___closed__1; +x_2 = l_Array_appendCore___rarg(x_1, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14() { _start: { lean_object* x_1; @@ -17997,22 +19761,22 @@ x_1 = lean_mk_string("lhs"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__10; +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18020,17 +19784,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18() { _start: { lean_object* x_1; @@ -18038,22 +19802,22 @@ x_1 = lean_mk_string("rhs"); return x_1; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__14; +x_3 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18061,17 +19825,72 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_numLitKind; +x_2 = l_Array_foldlMUnsafe_fold___at_Lean_Environment_displayStats___spec__8___lambda__1___closed__1; +x_3 = l_Lean_instInhabitedSourceInfo___closed__1; +x_4 = l_Lean_Syntax_mkLit(x_1, x_2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_precedence___elambda__1___closed__2; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18083,34 +19902,54 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__29() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Command_infixl___elambda__1___closed__2; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__18; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20() { +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__2; -x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__29; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__31; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -18240,148 +20079,259 @@ else lean_object* x_38; lean_object* x_39; uint8_t x_40; x_38 = lean_unsigned_to_nat(2u); x_39 = l_Lean_Syntax_getArg(x_1, x_38); -lean_inc(x_39); -x_40 = l_Lean_Syntax_isOfKind(x_39, x_15); +x_40 = l_Lean_Syntax_isNone(x_39); if (x_40 == 0) { -lean_object* x_41; lean_object* x_42; +uint8_t x_41; +lean_inc(x_39); +x_41 = l_Lean_Syntax_isOfKind(x_39, x_15); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_dec(x_39); lean_dec(x_2); lean_dec(x_1); -x_41 = lean_box(1); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_3); -return x_42; +x_42 = lean_box(1); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_3); +return x_43; } else { -lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_43 = l_Lean_Syntax_getArgs(x_39); -x_44 = lean_array_get_size(x_43); -lean_dec(x_43); -x_45 = lean_nat_dec_eq(x_44, x_24); +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = l_Lean_Syntax_getArgs(x_39); +x_45 = lean_array_get_size(x_44); lean_dec(x_44); -if (x_45 == 0) +x_46 = lean_nat_dec_eq(x_45, x_24); +lean_dec(x_45); +if (x_46 == 0) { -lean_object* x_46; lean_object* x_47; +lean_object* x_47; lean_object* x_48; lean_dec(x_39); lean_dec(x_2); lean_dec(x_1); -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_3); -return x_47; +x_47 = lean_box(1); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_3); +return x_48; } else { -lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_48 = l_Lean_Syntax_getArg(x_39, x_8); +lean_object* x_49; lean_object* x_50; uint8_t x_51; +x_49 = l_Lean_Syntax_getArg(x_39, x_8); lean_dec(x_39); -x_49 = l_Lean_Parser_precedence___elambda__1___closed__2; -lean_inc(x_48); -x_50 = l_Lean_Syntax_isOfKind(x_48, x_49); -if (x_50 == 0) +x_50 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_inc(x_49); +x_51 = l_Lean_Syntax_isOfKind(x_49, x_50); +if (x_51 == 0) { -lean_object* x_51; lean_object* x_52; -lean_dec(x_48); +lean_object* x_52; lean_object* x_53; +lean_dec(x_49); lean_dec(x_2); 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; +x_52 = lean_box(1); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_3); +return x_53; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_113; -x_53 = l_Lean_Syntax_getArg(x_48, x_24); -lean_dec(x_48); -x_54 = lean_unsigned_to_nat(3u); -x_55 = l_Lean_Syntax_getArg(x_1, x_54); -lean_inc(x_55); -x_113 = l_Lean_Syntax_isOfKind(x_55, x_15); -if (x_113 == 0) +lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; +x_54 = l_Lean_Syntax_getArg(x_49, x_24); +lean_dec(x_49); +x_55 = lean_unsigned_to_nat(3u); +x_56 = l_Lean_Syntax_getArg(x_1, x_55); +x_57 = l_Lean_Syntax_isNone(x_56); +if (x_57 == 0) { -lean_object* x_114; -x_114 = lean_box(0); -x_56 = x_114; -goto block_112; -} -else +uint8_t x_58; +lean_inc(x_56); +x_58 = l_Lean_Syntax_isOfKind(x_56, x_15); +if (x_58 == 0) { -lean_object* x_115; lean_object* x_116; uint8_t x_117; -x_115 = l_Lean_Syntax_getArgs(x_55); -x_116 = lean_array_get_size(x_115); -lean_dec(x_115); -x_117 = lean_nat_dec_eq(x_116, x_8); -lean_dec(x_116); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_box(0); -x_56 = x_118; -goto block_112; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -lean_dec(x_55); -x_119 = lean_unsigned_to_nat(4u); -x_120 = l_Lean_Syntax_getArg(x_1, x_119); -x_121 = lean_unsigned_to_nat(6u); -x_122 = l_Lean_Syntax_getArg(x_1, x_121); -lean_dec(x_1); -x_123 = lean_ctor_get(x_2, 2); -lean_inc(x_123); -x_124 = lean_ctor_get(x_2, 1); -lean_inc(x_124); +lean_object* x_59; lean_object* x_60; +lean_dec(x_56); +lean_dec(x_54); lean_dec(x_2); -x_125 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_126 = lean_array_push(x_125, x_53); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_49); -lean_ctor_set(x_127, 1, x_126); -x_128 = l_Array_empty___closed__1; -x_129 = lean_array_push(x_128, x_127); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_15); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_132 = lean_array_push(x_131, x_130); -x_133 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_134 = lean_array_push(x_132, x_133); -x_135 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -x_136 = l_Lean_addMacroScope(x_124, x_135, x_123); -x_137 = lean_box(0); -x_138 = l_Lean_instInhabitedSourceInfo___closed__1; -x_139 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_140 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_140, 0, x_138); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_140, 2, x_136); -lean_ctor_set(x_140, 3, x_137); -x_141 = lean_array_push(x_128, x_140); -lean_inc(x_141); -x_142 = lean_array_push(x_141, x_133); +lean_dec(x_1); +x_59 = lean_box(1); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_3); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_61 = l_Lean_Syntax_getArgs(x_56); +x_62 = lean_array_get_size(x_61); +lean_dec(x_61); +x_63 = lean_nat_dec_eq(x_62, x_55); +lean_dec(x_62); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; +lean_dec(x_56); +lean_dec(x_54); +lean_dec(x_2); +lean_dec(x_1); +x_64 = lean_box(1); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_3); +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_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; +x_66 = l_Lean_Syntax_getArg(x_56, x_24); +lean_dec(x_56); +x_67 = lean_unsigned_to_nat(4u); +x_68 = l_Lean_Syntax_getArg(x_1, x_67); +x_69 = lean_unsigned_to_nat(6u); +x_70 = l_Lean_Syntax_getArg(x_1, x_69); +lean_dec(x_1); +x_71 = lean_ctor_get(x_2, 2); +lean_inc(x_71); +x_72 = lean_ctor_get(x_2, 1); +lean_inc(x_72); +lean_dec(x_2); +x_73 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_74 = lean_array_push(x_73, x_54); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_50); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_mkOptionalNode___closed__2; +x_77 = lean_array_push(x_76, x_75); +x_78 = l_Array_empty___closed__1; +x_79 = l_Array_appendCore___rarg(x_78, x_77); +lean_dec(x_77); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_15); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_82 = lean_array_push(x_81, x_80); +x_83 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_84 = lean_array_push(x_83, x_66); +x_85 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_86 = lean_array_push(x_84, x_85); +x_87 = l_Array_appendCore___rarg(x_78, x_86); +lean_dec(x_86); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_15); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_array_push(x_82, x_88); +x_90 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_91 = l_Lean_addMacroScope(x_72, x_90, x_71); +x_92 = lean_box(0); +x_93 = l_Lean_instInhabitedSourceInfo___closed__1; +x_94 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_95 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_95, 2, x_91); +lean_ctor_set(x_95, 3, x_92); +x_96 = lean_array_push(x_78, x_95); +x_97 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_96); +x_98 = lean_array_push(x_96, x_97); +x_99 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_98); +x_101 = lean_array_push(x_78, x_100); +x_102 = lean_array_push(x_101, x_68); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_15); +lean_ctor_set(x_103, 1, x_102); +x_104 = lean_array_push(x_89, x_103); +x_105 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_106 = lean_array_push(x_104, x_105); +x_107 = lean_array_push(x_78, x_70); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_15); +lean_ctor_set(x_108, 1, x_96); +x_109 = lean_array_push(x_107, x_108); +x_110 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_109); +x_112 = lean_array_push(x_106, x_111); +x_113 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_113); +lean_ctor_set(x_114, 1, x_112); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_3); +return x_115; +} +} +} +else +{ +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_56); +x_116 = lean_unsigned_to_nat(4u); +x_117 = l_Lean_Syntax_getArg(x_1, x_116); +x_118 = lean_unsigned_to_nat(6u); +x_119 = l_Lean_Syntax_getArg(x_1, x_118); +lean_dec(x_1); +x_120 = lean_ctor_get(x_2, 2); +lean_inc(x_120); +x_121 = lean_ctor_get(x_2, 1); +lean_inc(x_121); +lean_dec(x_2); +x_122 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_123 = lean_array_push(x_122, x_54); +x_124 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_124, 0, x_50); +lean_ctor_set(x_124, 1, x_123); +x_125 = l_Lean_mkOptionalNode___closed__2; +x_126 = lean_array_push(x_125, x_124); +x_127 = l_Array_empty___closed__1; +x_128 = l_Array_appendCore___rarg(x_127, x_126); +lean_dec(x_126); +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_15); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_131 = lean_array_push(x_130, x_129); +x_132 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_133 = lean_array_push(x_131, x_132); +x_134 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_135 = l_Lean_addMacroScope(x_121, x_134, x_120); +x_136 = lean_box(0); +x_137 = l_Lean_instInhabitedSourceInfo___closed__1; +x_138 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_139 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_139, 0, x_137); +lean_ctor_set(x_139, 1, x_138); +lean_ctor_set(x_139, 2, x_135); +lean_ctor_set(x_139, 3, x_136); +x_140 = lean_array_push(x_127, x_139); +x_141 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_140); +x_142 = lean_array_push(x_140, x_141); x_143 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; x_144 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_144, 0, x_143); lean_ctor_set(x_144, 1, x_142); -x_145 = lean_array_push(x_128, x_144); -x_146 = lean_array_push(x_145, x_120); +x_145 = lean_array_push(x_127, x_144); +x_146 = lean_array_push(x_145, x_117); x_147 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_147, 0, x_15); lean_ctor_set(x_147, 1, x_146); -x_148 = lean_array_push(x_134, x_147); +x_148 = lean_array_push(x_133, x_147); x_149 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; x_150 = lean_array_push(x_148, x_149); -x_151 = lean_array_push(x_128, x_122); +x_151 = lean_array_push(x_127, x_119); x_152 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_152, 0, x_15); -lean_ctor_set(x_152, 1, x_141); +lean_ctor_set(x_152, 1, x_140); x_153 = lean_array_push(x_151, x_152); x_154 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; x_155 = lean_alloc_ctor(1, 2, 0); @@ -18398,1318 +20348,2047 @@ lean_ctor_set(x_159, 1, x_3); return x_159; } } -block_112: -{ -uint8_t x_57; -lean_dec(x_56); -lean_inc(x_55); -x_57 = l_Lean_Syntax_isOfKind(x_55, x_15); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_55); -lean_dec(x_53); -lean_dec(x_2); -lean_dec(x_1); -x_58 = lean_box(1); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_3); -return x_59; -} -else -{ -lean_object* x_60; lean_object* x_61; uint8_t x_62; -x_60 = l_Lean_Syntax_getArgs(x_55); -x_61 = lean_array_get_size(x_60); -lean_dec(x_60); -x_62 = lean_nat_dec_eq(x_61, x_54); -lean_dec(x_61); -if (x_62 == 0) -{ -lean_object* x_63; lean_object* x_64; -lean_dec(x_55); -lean_dec(x_53); -lean_dec(x_2); -lean_dec(x_1); -x_63 = lean_box(1); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_63); -lean_ctor_set(x_64, 1, x_3); -return x_64; -} -else -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_65 = l_Lean_Syntax_getArg(x_55, x_24); -lean_dec(x_55); -x_66 = lean_unsigned_to_nat(4u); -x_67 = l_Lean_Syntax_getArg(x_1, x_66); -x_68 = lean_unsigned_to_nat(6u); -x_69 = l_Lean_Syntax_getArg(x_1, x_68); -lean_dec(x_1); -x_70 = lean_ctor_get(x_2, 2); -lean_inc(x_70); -x_71 = lean_ctor_get(x_2, 1); -lean_inc(x_71); -lean_dec(x_2); -x_72 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_73 = lean_array_push(x_72, x_53); -x_74 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_74, 0, x_49); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Array_empty___closed__1; -x_76 = lean_array_push(x_75, x_74); -x_77 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_77, 0, x_15); -lean_ctor_set(x_77, 1, x_76); -x_78 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_79 = lean_array_push(x_78, x_77); -x_80 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_81 = lean_array_push(x_80, x_65); -x_82 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_83 = lean_array_push(x_81, x_82); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_15); -lean_ctor_set(x_84, 1, x_83); -x_85 = lean_array_push(x_79, x_84); -x_86 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -x_87 = l_Lean_addMacroScope(x_71, x_86, x_70); -x_88 = lean_box(0); -x_89 = l_Lean_instInhabitedSourceInfo___closed__1; -x_90 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_91 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_87); -lean_ctor_set(x_91, 3, x_88); -x_92 = lean_array_push(x_75, x_91); -x_93 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -lean_inc(x_92); -x_94 = lean_array_push(x_92, x_93); -x_95 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = lean_array_push(x_75, x_96); -x_98 = lean_array_push(x_97, x_67); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_15); -lean_ctor_set(x_99, 1, x_98); -x_100 = lean_array_push(x_85, x_99); -x_101 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_102 = lean_array_push(x_100, x_101); -x_103 = lean_array_push(x_75, x_69); -x_104 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_104, 0, x_15); -lean_ctor_set(x_104, 1, x_92); -x_105 = lean_array_push(x_103, x_104); -x_106 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_105); -x_108 = lean_array_push(x_102, x_107); -x_109 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_108); -x_111 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_3); -return x_111; -} -} -} -} -} } } } else { lean_object* x_160; lean_object* x_161; uint8_t x_162; -lean_dec(x_25); -x_160 = lean_unsigned_to_nat(2u); +lean_dec(x_39); +x_160 = lean_unsigned_to_nat(3u); x_161 = l_Lean_Syntax_getArg(x_1, x_160); -lean_inc(x_161); -x_162 = l_Lean_Syntax_isOfKind(x_161, x_15); +x_162 = l_Lean_Syntax_isNone(x_161); if (x_162 == 0) { -lean_object* x_163; lean_object* x_164; +uint8_t x_163; +lean_inc(x_161); +x_163 = l_Lean_Syntax_isOfKind(x_161, x_15); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; lean_dec(x_161); lean_dec(x_2); lean_dec(x_1); -x_163 = lean_box(1); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_3); -return x_164; +x_164 = lean_box(1); +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_3); +return x_165; } else { -lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_165 = l_Lean_Syntax_getArgs(x_161); -x_166 = lean_array_get_size(x_165); -lean_dec(x_165); -x_167 = lean_nat_dec_eq(x_166, x_24); +lean_object* x_166; lean_object* x_167; uint8_t x_168; +x_166 = l_Lean_Syntax_getArgs(x_161); +x_167 = lean_array_get_size(x_166); lean_dec(x_166); -if (x_167 == 0) +x_168 = lean_nat_dec_eq(x_167, x_160); +lean_dec(x_167); +if (x_168 == 0) { -lean_object* x_168; lean_object* x_169; +lean_object* x_169; lean_object* x_170; lean_dec(x_161); lean_dec(x_2); lean_dec(x_1); -x_168 = lean_box(1); -x_169 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_3); -return x_169; +x_169 = lean_box(1); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_3); +return x_170; } else { -lean_object* x_170; lean_object* x_171; uint8_t x_172; -x_170 = l_Lean_Syntax_getArg(x_161, x_8); +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_171 = l_Lean_Syntax_getArg(x_161, x_24); lean_dec(x_161); -x_171 = l_Lean_Parser_precedence___elambda__1___closed__2; -lean_inc(x_170); -x_172 = l_Lean_Syntax_isOfKind(x_170, x_171); -if (x_172 == 0) -{ -lean_object* x_173; lean_object* x_174; -lean_dec(x_170); -lean_dec(x_2); +x_172 = lean_unsigned_to_nat(4u); +x_173 = l_Lean_Syntax_getArg(x_1, x_172); +x_174 = lean_unsigned_to_nat(6u); +x_175 = l_Lean_Syntax_getArg(x_1, x_174); lean_dec(x_1); -x_173 = lean_box(1); -x_174 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_3); -return x_174; -} -else -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_234; -x_175 = l_Lean_Syntax_getArg(x_170, x_24); -lean_dec(x_170); -x_176 = lean_unsigned_to_nat(3u); -x_177 = l_Lean_Syntax_getArg(x_1, x_176); +x_176 = lean_ctor_get(x_2, 2); +lean_inc(x_176); +x_177 = lean_ctor_get(x_2, 1); lean_inc(x_177); -x_234 = l_Lean_Syntax_isOfKind(x_177, x_15); -if (x_234 == 0) -{ -lean_object* x_235; -x_235 = lean_box(0); -x_178 = x_235; -goto block_233; -} -else -{ -lean_object* x_236; lean_object* x_237; uint8_t x_238; -x_236 = l_Lean_Syntax_getArgs(x_177); -x_237 = lean_array_get_size(x_236); -lean_dec(x_236); -x_238 = lean_nat_dec_eq(x_237, x_8); -lean_dec(x_237); -if (x_238 == 0) -{ -lean_object* x_239; -x_239 = lean_box(0); -x_178 = x_239; -goto block_233; -} -else -{ -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -lean_dec(x_177); -x_240 = lean_unsigned_to_nat(4u); -x_241 = l_Lean_Syntax_getArg(x_1, x_240); -x_242 = lean_unsigned_to_nat(6u); -x_243 = l_Lean_Syntax_getArg(x_1, x_242); -lean_dec(x_1); -x_244 = lean_ctor_get(x_2, 2); -lean_inc(x_244); -x_245 = lean_ctor_get(x_2, 1); -lean_inc(x_245); lean_dec(x_2); -x_246 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_247 = lean_array_push(x_246, x_175); -x_248 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_248, 0, x_171); -lean_ctor_set(x_248, 1, x_247); -x_249 = l_Array_empty___closed__1; -x_250 = lean_array_push(x_249, x_248); -x_251 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_251, 0, x_15); -lean_ctor_set(x_251, 1, x_250); -x_252 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -lean_inc(x_251); -x_253 = lean_array_push(x_252, x_251); -x_254 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_255 = lean_array_push(x_253, x_254); -x_256 = lean_array_push(x_249, x_241); -x_257 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -x_258 = l_Lean_addMacroScope(x_245, x_257, x_244); -x_259 = lean_box(0); -x_260 = l_Lean_instInhabitedSourceInfo___closed__1; -x_261 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_262 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_262, 0, x_260); -lean_ctor_set(x_262, 1, x_261); -lean_ctor_set(x_262, 2, x_258); -lean_ctor_set(x_262, 3, x_259); -x_263 = lean_array_push(x_249, x_262); -lean_inc(x_263); -x_264 = lean_array_push(x_263, x_251); -x_265 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_264); -x_267 = lean_array_push(x_256, x_266); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_15); -lean_ctor_set(x_268, 1, x_267); -x_269 = lean_array_push(x_255, x_268); -x_270 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_271 = lean_array_push(x_269, x_270); -x_272 = lean_array_push(x_249, x_243); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_15); -lean_ctor_set(x_273, 1, x_263); -x_274 = lean_array_push(x_272, x_273); -x_275 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; -x_276 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_276, 0, x_275); -lean_ctor_set(x_276, 1, x_274); -x_277 = lean_array_push(x_271, x_276); -x_278 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_279 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_279, 0, x_278); -lean_ctor_set(x_279, 1, x_277); -x_280 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_280, 0, x_279); -lean_ctor_set(x_280, 1, x_3); -return x_280; -} -} -block_233: -{ -uint8_t x_179; -lean_dec(x_178); -lean_inc(x_177); -x_179 = l_Lean_Syntax_isOfKind(x_177, x_15); -if (x_179 == 0) -{ -lean_object* x_180; lean_object* x_181; -lean_dec(x_177); -lean_dec(x_175); -lean_dec(x_2); -lean_dec(x_1); -x_180 = lean_box(1); -x_181 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_181, 0, x_180); -lean_ctor_set(x_181, 1, x_3); -return x_181; -} -else -{ -lean_object* x_182; lean_object* x_183; uint8_t x_184; -x_182 = l_Lean_Syntax_getArgs(x_177); -x_183 = lean_array_get_size(x_182); -lean_dec(x_182); -x_184 = lean_nat_dec_eq(x_183, x_176); -lean_dec(x_183); -if (x_184 == 0) -{ -lean_object* x_185; lean_object* x_186; -lean_dec(x_177); -lean_dec(x_175); -lean_dec(x_2); -lean_dec(x_1); -x_185 = lean_box(1); -x_186 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_186, 0, x_185); -lean_ctor_set(x_186, 1, x_3); -return x_186; -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; -x_187 = l_Lean_Syntax_getArg(x_177, x_24); -lean_dec(x_177); -x_188 = lean_unsigned_to_nat(4u); -x_189 = l_Lean_Syntax_getArg(x_1, x_188); -x_190 = lean_unsigned_to_nat(6u); -x_191 = l_Lean_Syntax_getArg(x_1, x_190); -lean_dec(x_1); -x_192 = lean_ctor_get(x_2, 2); -lean_inc(x_192); -x_193 = lean_ctor_get(x_2, 1); +x_178 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_179 = lean_array_push(x_178, x_171); +x_180 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_181 = lean_array_push(x_179, x_180); +x_182 = l_Array_empty___closed__1; +x_183 = l_Array_appendCore___rarg(x_182, x_181); +lean_dec(x_181); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_15); +lean_ctor_set(x_184, 1, x_183); +x_185 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_186 = lean_array_push(x_185, x_184); +x_187 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_188 = l_Lean_addMacroScope(x_177, x_187, x_176); +x_189 = lean_box(0); +x_190 = l_Lean_instInhabitedSourceInfo___closed__1; +x_191 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_192 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +lean_ctor_set(x_192, 2, x_188); +lean_ctor_set(x_192, 3, x_189); +x_193 = lean_array_push(x_182, x_192); +x_194 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; lean_inc(x_193); +x_195 = lean_array_push(x_193, x_194); +x_196 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_197 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_195); +x_198 = lean_array_push(x_182, x_197); +x_199 = lean_array_push(x_198, x_173); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_15); +lean_ctor_set(x_200, 1, x_199); +x_201 = lean_array_push(x_186, x_200); +x_202 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_203 = lean_array_push(x_201, x_202); +x_204 = lean_array_push(x_182, x_175); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_15); +lean_ctor_set(x_205, 1, x_193); +x_206 = lean_array_push(x_204, x_205); +x_207 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_206); +x_209 = lean_array_push(x_203, x_208); +x_210 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_210); +lean_ctor_set(x_211, 1, x_209); +x_212 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_3); +return x_212; +} +} +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +lean_dec(x_161); +x_213 = lean_unsigned_to_nat(4u); +x_214 = l_Lean_Syntax_getArg(x_1, x_213); +x_215 = lean_unsigned_to_nat(6u); +x_216 = l_Lean_Syntax_getArg(x_1, x_215); +lean_dec(x_1); +x_217 = lean_ctor_get(x_2, 2); +lean_inc(x_217); +x_218 = lean_ctor_get(x_2, 1); +lean_inc(x_218); lean_dec(x_2); -x_194 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_195 = lean_array_push(x_194, x_175); -x_196 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_196, 0, x_171); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Array_empty___closed__1; -x_198 = lean_array_push(x_197, x_196); -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_15); -lean_ctor_set(x_199, 1, x_198); -x_200 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -lean_inc(x_199); -x_201 = lean_array_push(x_200, x_199); -x_202 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_203 = lean_array_push(x_202, x_187); -x_204 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_205 = lean_array_push(x_203, x_204); -x_206 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_206, 0, x_15); -lean_ctor_set(x_206, 1, x_205); -x_207 = lean_array_push(x_201, x_206); -x_208 = lean_array_push(x_197, x_189); -x_209 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; -x_210 = l_Lean_addMacroScope(x_193, x_209, x_192); -x_211 = lean_box(0); -x_212 = l_Lean_instInhabitedSourceInfo___closed__1; -x_213 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__7; -x_214 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_214, 0, x_212); -lean_ctor_set(x_214, 1, x_213); -lean_ctor_set(x_214, 2, x_210); -lean_ctor_set(x_214, 3, x_211); -x_215 = lean_array_push(x_197, x_214); -lean_inc(x_215); -x_216 = lean_array_push(x_215, x_199); -x_217 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_217); -lean_ctor_set(x_218, 1, x_216); -x_219 = lean_array_push(x_208, x_218); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_15); -lean_ctor_set(x_220, 1, x_219); -x_221 = lean_array_push(x_207, x_220); -x_222 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_223 = lean_array_push(x_221, x_222); -x_224 = lean_array_push(x_197, x_191); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_15); -lean_ctor_set(x_225, 1, x_215); -x_226 = lean_array_push(x_224, x_225); -x_227 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; -x_228 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_228, 0, x_227); -lean_ctor_set(x_228, 1, x_226); -x_229 = lean_array_push(x_223, x_228); -x_230 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_231 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_229); -x_232 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_3); -return x_232; -} -} -} -} +x_219 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_220 = l_Lean_addMacroScope(x_218, x_219, x_217); +x_221 = lean_box(0); +x_222 = l_Lean_instInhabitedSourceInfo___closed__1; +x_223 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_224 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_224, 0, x_222); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set(x_224, 2, x_220); +lean_ctor_set(x_224, 3, x_221); +x_225 = l_Array_empty___closed__1; +x_226 = lean_array_push(x_225, x_224); +x_227 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_226); +x_228 = lean_array_push(x_226, x_227); +x_229 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_229); +lean_ctor_set(x_230, 1, x_228); +x_231 = lean_array_push(x_225, x_230); +x_232 = lean_array_push(x_231, x_214); +x_233 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_233, 0, x_15); +lean_ctor_set(x_233, 1, x_232); +x_234 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_235 = lean_array_push(x_234, x_233); +x_236 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_237 = lean_array_push(x_235, x_236); +x_238 = lean_array_push(x_225, x_216); +x_239 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_239, 0, x_15); +lean_ctor_set(x_239, 1, x_226); +x_240 = lean_array_push(x_238, x_239); +x_241 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_242 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_242, 0, x_241); +lean_ctor_set(x_242, 1, x_240); +x_243 = lean_array_push(x_237, x_242); +x_244 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_244); +lean_ctor_set(x_245, 1, x_243); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_3); +return x_246; } } } } else { -lean_object* x_281; lean_object* x_282; uint8_t x_283; +lean_object* x_247; lean_object* x_248; uint8_t x_249; lean_dec(x_25); -x_281 = lean_unsigned_to_nat(2u); -x_282 = l_Lean_Syntax_getArg(x_1, x_281); -lean_inc(x_282); -x_283 = l_Lean_Syntax_isOfKind(x_282, x_15); -if (x_283 == 0) +x_247 = lean_unsigned_to_nat(2u); +x_248 = l_Lean_Syntax_getArg(x_1, x_247); +x_249 = l_Lean_Syntax_isNone(x_248); +if (x_249 == 0) { -lean_object* x_284; lean_object* x_285; -lean_dec(x_282); +uint8_t x_250; +lean_inc(x_248); +x_250 = l_Lean_Syntax_isOfKind(x_248, x_15); +if (x_250 == 0) +{ +lean_object* x_251; lean_object* x_252; +lean_dec(x_248); lean_dec(x_2); lean_dec(x_1); -x_284 = lean_box(1); -x_285 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_3); -return x_285; +x_251 = lean_box(1); +x_252 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_3); +return x_252; } else { -lean_object* x_286; lean_object* x_287; uint8_t x_288; -x_286 = l_Lean_Syntax_getArgs(x_282); -x_287 = lean_array_get_size(x_286); +lean_object* x_253; lean_object* x_254; uint8_t x_255; +x_253 = l_Lean_Syntax_getArgs(x_248); +x_254 = lean_array_get_size(x_253); +lean_dec(x_253); +x_255 = lean_nat_dec_eq(x_254, x_24); +lean_dec(x_254); +if (x_255 == 0) +{ +lean_object* x_256; lean_object* x_257; +lean_dec(x_248); +lean_dec(x_2); +lean_dec(x_1); +x_256 = lean_box(1); +x_257 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_3); +return x_257; +} +else +{ +lean_object* x_258; lean_object* x_259; uint8_t x_260; +x_258 = l_Lean_Syntax_getArg(x_248, x_8); +lean_dec(x_248); +x_259 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_inc(x_258); +x_260 = l_Lean_Syntax_isOfKind(x_258, x_259); +if (x_260 == 0) +{ +lean_object* x_261; lean_object* x_262; +lean_dec(x_258); +lean_dec(x_2); +lean_dec(x_1); +x_261 = lean_box(1); +x_262 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_262, 0, x_261); +lean_ctor_set(x_262, 1, x_3); +return x_262; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; +x_263 = l_Lean_Syntax_getArg(x_258, x_24); +lean_dec(x_258); +x_264 = lean_unsigned_to_nat(3u); +x_265 = l_Lean_Syntax_getArg(x_1, x_264); +x_266 = l_Lean_Syntax_isNone(x_265); +if (x_266 == 0) +{ +uint8_t x_267; +lean_inc(x_265); +x_267 = l_Lean_Syntax_isOfKind(x_265, x_15); +if (x_267 == 0) +{ +lean_object* x_268; lean_object* x_269; +lean_dec(x_265); +lean_dec(x_263); +lean_dec(x_2); +lean_dec(x_1); +x_268 = lean_box(1); +x_269 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_3); +return x_269; +} +else +{ +lean_object* x_270; lean_object* x_271; uint8_t x_272; +x_270 = l_Lean_Syntax_getArgs(x_265); +x_271 = lean_array_get_size(x_270); +lean_dec(x_270); +x_272 = lean_nat_dec_eq(x_271, x_264); +lean_dec(x_271); +if (x_272 == 0) +{ +lean_object* x_273; lean_object* x_274; +lean_dec(x_265); +lean_dec(x_263); +lean_dec(x_2); +lean_dec(x_1); +x_273 = lean_box(1); +x_274 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_274, 0, x_273); +lean_ctor_set(x_274, 1, x_3); +return x_274; +} +else +{ +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +x_275 = l_Lean_Syntax_getArg(x_265, x_24); +lean_dec(x_265); +x_276 = lean_unsigned_to_nat(4u); +x_277 = l_Lean_Syntax_getArg(x_1, x_276); +x_278 = lean_unsigned_to_nat(6u); +x_279 = l_Lean_Syntax_getArg(x_1, x_278); +lean_dec(x_1); +x_280 = lean_ctor_get(x_2, 2); +lean_inc(x_280); +x_281 = lean_ctor_get(x_2, 1); +lean_inc(x_281); +lean_dec(x_2); +x_282 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_283 = lean_array_push(x_282, x_263); +x_284 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_284, 0, x_259); +lean_ctor_set(x_284, 1, x_283); +x_285 = l_Lean_mkOptionalNode___closed__2; +x_286 = lean_array_push(x_285, x_284); +x_287 = l_Array_empty___closed__1; +x_288 = l_Array_appendCore___rarg(x_287, x_286); lean_dec(x_286); -x_288 = lean_nat_dec_eq(x_287, x_24); -lean_dec(x_287); -if (x_288 == 0) -{ -lean_object* x_289; lean_object* x_290; -lean_dec(x_282); -lean_dec(x_2); -lean_dec(x_1); -x_289 = lean_box(1); -x_290 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_3); -return x_290; +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_15); +lean_ctor_set(x_289, 1, x_288); +x_290 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +lean_inc(x_289); +x_291 = lean_array_push(x_290, x_289); +x_292 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_293 = lean_array_push(x_292, x_275); +x_294 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_295 = lean_array_push(x_293, x_294); +x_296 = l_Array_appendCore___rarg(x_287, x_295); +lean_dec(x_295); +x_297 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_297, 0, x_15); +lean_ctor_set(x_297, 1, x_296); +x_298 = lean_array_push(x_291, x_297); +x_299 = lean_array_push(x_287, x_277); +x_300 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_301 = l_Lean_addMacroScope(x_281, x_300, x_280); +x_302 = lean_box(0); +x_303 = l_Lean_instInhabitedSourceInfo___closed__1; +x_304 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_305 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_305, 0, x_303); +lean_ctor_set(x_305, 1, x_304); +lean_ctor_set(x_305, 2, x_301); +lean_ctor_set(x_305, 3, x_302); +x_306 = lean_array_push(x_287, x_305); +lean_inc(x_306); +x_307 = lean_array_push(x_306, x_289); +x_308 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_309 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_309, 0, x_308); +lean_ctor_set(x_309, 1, x_307); +x_310 = lean_array_push(x_299, x_309); +x_311 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_311, 0, x_15); +lean_ctor_set(x_311, 1, x_310); +x_312 = lean_array_push(x_298, x_311); +x_313 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_314 = lean_array_push(x_312, x_313); +x_315 = lean_array_push(x_287, x_279); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_15); +lean_ctor_set(x_316, 1, x_306); +x_317 = lean_array_push(x_315, x_316); +x_318 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_319 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_319, 0, x_318); +lean_ctor_set(x_319, 1, x_317); +x_320 = lean_array_push(x_314, x_319); +x_321 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_322 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_322, 0, x_321); +lean_ctor_set(x_322, 1, x_320); +x_323 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_323, 0, x_322); +lean_ctor_set(x_323, 1, x_3); +return x_323; +} +} } else { -lean_object* x_291; lean_object* x_292; uint8_t x_293; -x_291 = l_Lean_Syntax_getArg(x_282, x_8); -lean_dec(x_282); -x_292 = l_Lean_Parser_precedence___elambda__1___closed__2; -lean_inc(x_291); -x_293 = l_Lean_Syntax_isOfKind(x_291, x_292); -if (x_293 == 0) -{ -lean_object* x_294; lean_object* x_295; -lean_dec(x_291); -lean_dec(x_2); +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +lean_dec(x_265); +x_324 = lean_unsigned_to_nat(4u); +x_325 = l_Lean_Syntax_getArg(x_1, x_324); +x_326 = lean_unsigned_to_nat(6u); +x_327 = l_Lean_Syntax_getArg(x_1, x_326); lean_dec(x_1); -x_294 = lean_box(1); -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_294); -lean_ctor_set(x_295, 1, x_3); -return x_295; -} -else -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; uint8_t x_374; -x_296 = l_Lean_Syntax_getArg(x_291, x_24); -lean_dec(x_291); -x_297 = lean_unsigned_to_nat(3u); -x_298 = l_Lean_Syntax_getArg(x_1, x_297); -lean_inc(x_298); -x_374 = l_Lean_Syntax_isOfKind(x_298, x_15); -if (x_374 == 0) -{ -lean_object* x_375; -x_375 = lean_box(0); -x_299 = x_375; -goto block_373; -} -else -{ -lean_object* x_376; lean_object* x_377; uint8_t x_378; -x_376 = l_Lean_Syntax_getArgs(x_298); -x_377 = lean_array_get_size(x_376); -lean_dec(x_376); -x_378 = lean_nat_dec_eq(x_377, x_8); -lean_dec(x_377); -if (x_378 == 0) -{ -lean_object* x_379; -x_379 = lean_box(0); -x_299 = x_379; -goto block_373; -} -else -{ -lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; -lean_dec(x_298); -x_380 = lean_unsigned_to_nat(4u); -x_381 = l_Lean_Syntax_getArg(x_1, x_380); -x_382 = lean_unsigned_to_nat(6u); -x_383 = l_Lean_Syntax_getArg(x_1, x_382); -lean_dec(x_1); -x_384 = l_Lean_Syntax_toNat(x_296); -x_385 = lean_nat_add(x_384, x_24); -lean_dec(x_384); -x_386 = l_Nat_repr(x_385); -x_387 = l_Lean_numLitKind; -x_388 = l_Lean_instInhabitedSourceInfo___closed__1; -x_389 = l_Lean_Syntax_mkLit(x_387, x_386, x_388); -x_390 = lean_ctor_get(x_2, 2); -lean_inc(x_390); -x_391 = lean_ctor_get(x_2, 1); -lean_inc(x_391); +x_328 = lean_ctor_get(x_2, 2); +lean_inc(x_328); +x_329 = lean_ctor_get(x_2, 1); +lean_inc(x_329); lean_dec(x_2); -x_392 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_393 = lean_array_push(x_392, x_296); -x_394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_394, 0, x_292); -lean_ctor_set(x_394, 1, x_393); -x_395 = l_Array_empty___closed__1; -x_396 = lean_array_push(x_395, x_394); -x_397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_397, 0, x_15); -lean_ctor_set(x_397, 1, x_396); -x_398 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_399 = lean_array_push(x_398, x_397); -x_400 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_401 = lean_array_push(x_399, x_400); -x_402 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -lean_inc(x_390); -lean_inc(x_391); -x_403 = l_Lean_addMacroScope(x_391, x_402, x_390); -x_404 = lean_box(0); -x_405 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -x_406 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_406, 0, x_388); -lean_ctor_set(x_406, 1, x_405); -lean_ctor_set(x_406, 2, x_403); -lean_ctor_set(x_406, 3, x_404); -x_407 = lean_array_push(x_395, x_406); -lean_inc(x_407); -x_408 = lean_array_push(x_407, x_400); -x_409 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_409); -lean_ctor_set(x_410, 1, x_408); -x_411 = lean_array_push(x_395, x_410); -x_412 = lean_array_push(x_411, x_381); -x_413 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_414 = l_Lean_addMacroScope(x_391, x_413, x_390); -x_415 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_416 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_416, 0, x_388); -lean_ctor_set(x_416, 1, x_415); -lean_ctor_set(x_416, 2, x_414); -lean_ctor_set(x_416, 3, x_404); -lean_inc(x_416); -x_417 = lean_array_push(x_395, x_416); -x_418 = lean_array_push(x_392, x_389); -x_419 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_419, 0, x_292); -lean_ctor_set(x_419, 1, x_418); -x_420 = lean_array_push(x_395, x_419); -x_421 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_421, 0, x_15); -lean_ctor_set(x_421, 1, x_420); -x_422 = lean_array_push(x_417, x_421); -x_423 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_423, 0, x_409); -lean_ctor_set(x_423, 1, x_422); -x_424 = lean_array_push(x_412, x_423); -x_425 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_425, 0, x_15); -lean_ctor_set(x_425, 1, x_424); -x_426 = lean_array_push(x_401, x_425); -x_427 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_428 = lean_array_push(x_426, x_427); -x_429 = lean_array_push(x_395, x_383); -x_430 = lean_array_push(x_407, x_416); -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_15); -lean_ctor_set(x_431, 1, x_430); -x_432 = lean_array_push(x_429, x_431); -x_433 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_433); -lean_ctor_set(x_434, 1, x_432); -x_435 = lean_array_push(x_428, x_434); -x_436 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_437 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_437, 0, x_436); -lean_ctor_set(x_437, 1, x_435); -x_438 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_438, 0, x_437); -lean_ctor_set(x_438, 1, x_3); -return x_438; -} -} -block_373: -{ -uint8_t x_300; -lean_dec(x_299); -lean_inc(x_298); -x_300 = l_Lean_Syntax_isOfKind(x_298, x_15); -if (x_300 == 0) -{ -lean_object* x_301; lean_object* x_302; -lean_dec(x_298); -lean_dec(x_296); -lean_dec(x_2); -lean_dec(x_1); -x_301 = lean_box(1); -x_302 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_3); -return x_302; -} -else -{ -lean_object* x_303; lean_object* x_304; uint8_t x_305; -x_303 = l_Lean_Syntax_getArgs(x_298); -x_304 = lean_array_get_size(x_303); -lean_dec(x_303); -x_305 = lean_nat_dec_eq(x_304, x_297); -lean_dec(x_304); -if (x_305 == 0) -{ -lean_object* x_306; lean_object* x_307; -lean_dec(x_298); -lean_dec(x_296); -lean_dec(x_2); -lean_dec(x_1); -x_306 = lean_box(1); -x_307 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_307, 0, x_306); -lean_ctor_set(x_307, 1, x_3); -return x_307; -} -else -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; -x_308 = l_Lean_Syntax_getArg(x_298, x_24); -lean_dec(x_298); -x_309 = lean_unsigned_to_nat(4u); -x_310 = l_Lean_Syntax_getArg(x_1, x_309); -x_311 = lean_unsigned_to_nat(6u); -x_312 = l_Lean_Syntax_getArg(x_1, x_311); -lean_dec(x_1); -x_313 = l_Lean_Syntax_toNat(x_296); -x_314 = lean_nat_add(x_313, x_24); -lean_dec(x_313); -x_315 = l_Nat_repr(x_314); -x_316 = l_Lean_numLitKind; -x_317 = l_Lean_instInhabitedSourceInfo___closed__1; -x_318 = l_Lean_Syntax_mkLit(x_316, x_315, x_317); -x_319 = lean_ctor_get(x_2, 2); -lean_inc(x_319); -x_320 = lean_ctor_get(x_2, 1); -lean_inc(x_320); -lean_dec(x_2); -x_321 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_322 = lean_array_push(x_321, x_296); -x_323 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_323, 0, x_292); -lean_ctor_set(x_323, 1, x_322); -x_324 = l_Array_empty___closed__1; -x_325 = lean_array_push(x_324, x_323); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_15); -lean_ctor_set(x_326, 1, x_325); -x_327 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -x_328 = lean_array_push(x_327, x_326); -x_329 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_330 = lean_array_push(x_329, x_308); -x_331 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_332 = lean_array_push(x_330, x_331); -x_333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_333, 0, x_15); -lean_ctor_set(x_333, 1, x_332); -x_334 = lean_array_push(x_328, x_333); -x_335 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -lean_inc(x_319); -lean_inc(x_320); -x_336 = l_Lean_addMacroScope(x_320, x_335, x_319); -x_337 = lean_box(0); -x_338 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -x_339 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_339, 0, x_317); -lean_ctor_set(x_339, 1, x_338); -lean_ctor_set(x_339, 2, x_336); -lean_ctor_set(x_339, 3, x_337); -x_340 = lean_array_push(x_324, x_339); -x_341 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -lean_inc(x_340); -x_342 = lean_array_push(x_340, x_341); -x_343 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_344 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_344, 0, x_343); -lean_ctor_set(x_344, 1, x_342); -x_345 = lean_array_push(x_324, x_344); -x_346 = lean_array_push(x_345, x_310); -x_347 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_348 = l_Lean_addMacroScope(x_320, x_347, x_319); -x_349 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_350 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_350, 0, x_317); -lean_ctor_set(x_350, 1, x_349); -lean_ctor_set(x_350, 2, x_348); -lean_ctor_set(x_350, 3, x_337); -lean_inc(x_350); -x_351 = lean_array_push(x_324, x_350); -x_352 = lean_array_push(x_321, x_318); -x_353 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_353, 0, x_292); -lean_ctor_set(x_353, 1, x_352); -x_354 = lean_array_push(x_324, x_353); -x_355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_355, 0, x_15); -lean_ctor_set(x_355, 1, x_354); -x_356 = lean_array_push(x_351, x_355); -x_357 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_357, 0, x_343); -lean_ctor_set(x_357, 1, x_356); -x_358 = lean_array_push(x_346, x_357); +x_330 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_331 = lean_array_push(x_330, x_263); +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_259); +lean_ctor_set(x_332, 1, x_331); +x_333 = l_Lean_mkOptionalNode___closed__2; +x_334 = lean_array_push(x_333, x_332); +x_335 = l_Array_empty___closed__1; +x_336 = l_Array_appendCore___rarg(x_335, x_334); +lean_dec(x_334); +x_337 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_337, 0, x_15); +lean_ctor_set(x_337, 1, x_336); +x_338 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +lean_inc(x_337); +x_339 = lean_array_push(x_338, x_337); +x_340 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_341 = lean_array_push(x_339, x_340); +x_342 = lean_array_push(x_335, x_325); +x_343 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_344 = l_Lean_addMacroScope(x_329, x_343, x_328); +x_345 = lean_box(0); +x_346 = l_Lean_instInhabitedSourceInfo___closed__1; +x_347 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_348 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_348, 0, x_346); +lean_ctor_set(x_348, 1, x_347); +lean_ctor_set(x_348, 2, x_344); +lean_ctor_set(x_348, 3, x_345); +x_349 = lean_array_push(x_335, x_348); +lean_inc(x_349); +x_350 = lean_array_push(x_349, x_337); +x_351 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_352 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_352, 0, x_351); +lean_ctor_set(x_352, 1, x_350); +x_353 = lean_array_push(x_342, x_352); +x_354 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_354, 0, x_15); +lean_ctor_set(x_354, 1, x_353); +x_355 = lean_array_push(x_341, x_354); +x_356 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_357 = lean_array_push(x_355, x_356); +x_358 = lean_array_push(x_335, x_327); x_359 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_359, 0, x_15); -lean_ctor_set(x_359, 1, x_358); -x_360 = lean_array_push(x_334, x_359); -x_361 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_362 = lean_array_push(x_360, x_361); -x_363 = lean_array_push(x_324, x_312); -x_364 = lean_array_push(x_340, x_350); +lean_ctor_set(x_359, 1, x_349); +x_360 = lean_array_push(x_358, x_359); +x_361 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_362 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_362, 0, x_361); +lean_ctor_set(x_362, 1, x_360); +x_363 = lean_array_push(x_357, x_362); +x_364 = l_Lean_Parser_Command_notation___elambda__1___closed__2; x_365 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_365, 0, x_15); -lean_ctor_set(x_365, 1, x_364); -x_366 = lean_array_push(x_363, x_365); -x_367 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; -x_368 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_368, 0, x_367); -lean_ctor_set(x_368, 1, x_366); -x_369 = lean_array_push(x_362, x_368); -x_370 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_371 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_371, 0, x_370); -lean_ctor_set(x_371, 1, x_369); -x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_365, 0, x_364); +lean_ctor_set(x_365, 1, x_363); +x_366 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_366, 0, x_365); +lean_ctor_set(x_366, 1, x_3); +return x_366; +} +} +} +} +} +else +{ +lean_object* x_367; lean_object* x_368; uint8_t x_369; +lean_dec(x_248); +x_367 = lean_unsigned_to_nat(3u); +x_368 = l_Lean_Syntax_getArg(x_1, x_367); +x_369 = l_Lean_Syntax_isNone(x_368); +if (x_369 == 0) +{ +uint8_t x_370; +lean_inc(x_368); +x_370 = l_Lean_Syntax_isOfKind(x_368, x_15); +if (x_370 == 0) +{ +lean_object* x_371; lean_object* x_372; +lean_dec(x_368); +lean_dec(x_2); +lean_dec(x_1); +x_371 = lean_box(1); +x_372 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_372, 0, x_371); lean_ctor_set(x_372, 1, x_3); return x_372; } +else +{ +lean_object* x_373; lean_object* x_374; uint8_t x_375; +x_373 = l_Lean_Syntax_getArgs(x_368); +x_374 = lean_array_get_size(x_373); +lean_dec(x_373); +x_375 = lean_nat_dec_eq(x_374, x_367); +lean_dec(x_374); +if (x_375 == 0) +{ +lean_object* x_376; lean_object* x_377; +lean_dec(x_368); +lean_dec(x_2); +lean_dec(x_1); +x_376 = lean_box(1); +x_377 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_377, 0, x_376); +lean_ctor_set(x_377, 1, x_3); +return x_377; } -} -} -} +else +{ +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_378 = l_Lean_Syntax_getArg(x_368, x_24); +lean_dec(x_368); +x_379 = lean_unsigned_to_nat(4u); +x_380 = l_Lean_Syntax_getArg(x_1, x_379); +x_381 = lean_unsigned_to_nat(6u); +x_382 = l_Lean_Syntax_getArg(x_1, x_381); +lean_dec(x_1); +x_383 = lean_ctor_get(x_2, 2); +lean_inc(x_383); +x_384 = lean_ctor_get(x_2, 1); +lean_inc(x_384); +lean_dec(x_2); +x_385 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_386 = lean_array_push(x_385, x_378); +x_387 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_388 = lean_array_push(x_386, x_387); +x_389 = l_Array_empty___closed__1; +x_390 = l_Array_appendCore___rarg(x_389, x_388); +lean_dec(x_388); +x_391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_391, 0, x_15); +lean_ctor_set(x_391, 1, x_390); +x_392 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_393 = lean_array_push(x_392, x_391); +x_394 = lean_array_push(x_389, x_380); +x_395 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_396 = l_Lean_addMacroScope(x_384, x_395, x_383); +x_397 = lean_box(0); +x_398 = l_Lean_instInhabitedSourceInfo___closed__1; +x_399 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_400 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_400, 0, x_398); +lean_ctor_set(x_400, 1, x_399); +lean_ctor_set(x_400, 2, x_396); +lean_ctor_set(x_400, 3, x_397); +x_401 = lean_array_push(x_389, x_400); +x_402 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +lean_inc(x_401); +x_403 = lean_array_push(x_401, x_402); +x_404 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_405 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_405, 0, x_404); +lean_ctor_set(x_405, 1, x_403); +x_406 = lean_array_push(x_394, x_405); +x_407 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_407, 0, x_15); +lean_ctor_set(x_407, 1, x_406); +x_408 = lean_array_push(x_393, x_407); +x_409 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_410 = lean_array_push(x_408, x_409); +x_411 = lean_array_push(x_389, x_382); +x_412 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_412, 0, x_15); +lean_ctor_set(x_412, 1, x_401); +x_413 = lean_array_push(x_411, x_412); +x_414 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_415 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_415, 0, x_414); +lean_ctor_set(x_415, 1, x_413); +x_416 = lean_array_push(x_410, x_415); +x_417 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_418 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_418, 0, x_417); +lean_ctor_set(x_418, 1, x_416); +x_419 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_419, 0, x_418); +lean_ctor_set(x_419, 1, x_3); +return x_419; } } } else { -lean_object* x_439; lean_object* x_440; uint8_t x_441; -lean_dec(x_25); -x_439 = lean_unsigned_to_nat(2u); -x_440 = l_Lean_Syntax_getArg(x_1, x_439); -lean_inc(x_440); -x_441 = l_Lean_Syntax_isOfKind(x_440, x_15); -if (x_441 == 0) -{ -lean_object* x_442; lean_object* x_443; -lean_dec(x_440); -lean_dec(x_2); +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; +lean_dec(x_368); +x_420 = lean_unsigned_to_nat(4u); +x_421 = l_Lean_Syntax_getArg(x_1, x_420); +x_422 = lean_unsigned_to_nat(6u); +x_423 = l_Lean_Syntax_getArg(x_1, x_422); lean_dec(x_1); -x_442 = lean_box(1); -x_443 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_3); -return x_443; -} -else -{ -lean_object* x_444; lean_object* x_445; uint8_t x_446; -x_444 = l_Lean_Syntax_getArgs(x_440); -x_445 = lean_array_get_size(x_444); -lean_dec(x_444); -x_446 = lean_nat_dec_eq(x_445, x_24); -lean_dec(x_445); -if (x_446 == 0) -{ -lean_object* x_447; lean_object* x_448; -lean_dec(x_440); +x_424 = lean_ctor_get(x_2, 2); +lean_inc(x_424); +x_425 = lean_ctor_get(x_2, 1); +lean_inc(x_425); lean_dec(x_2); -lean_dec(x_1); -x_447 = lean_box(1); -x_448 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_448, 0, x_447); -lean_ctor_set(x_448, 1, x_3); -return x_448; -} -else -{ -lean_object* x_449; lean_object* x_450; uint8_t x_451; -x_449 = l_Lean_Syntax_getArg(x_440, x_8); -lean_dec(x_440); -x_450 = l_Lean_Parser_precedence___elambda__1___closed__2; -lean_inc(x_449); -x_451 = l_Lean_Syntax_isOfKind(x_449, x_450); -if (x_451 == 0) -{ -lean_object* x_452; lean_object* x_453; -lean_dec(x_449); -lean_dec(x_2); -lean_dec(x_1); -x_452 = lean_box(1); -x_453 = lean_alloc_ctor(1, 2, 0); +x_426 = l_Array_empty___closed__1; +x_427 = lean_array_push(x_426, x_421); +x_428 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__9; +x_429 = l_Lean_addMacroScope(x_425, x_428, x_424); +x_430 = lean_box(0); +x_431 = l_Lean_instInhabitedSourceInfo___closed__1; +x_432 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__8; +x_433 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_433, 0, x_431); +lean_ctor_set(x_433, 1, x_432); +lean_ctor_set(x_433, 2, x_429); +lean_ctor_set(x_433, 3, x_430); +x_434 = lean_array_push(x_426, x_433); +x_435 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +lean_inc(x_434); +x_436 = lean_array_push(x_434, x_435); +x_437 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_438 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_438, 0, x_437); +lean_ctor_set(x_438, 1, x_436); +x_439 = lean_array_push(x_427, x_438); +x_440 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_440, 0, x_15); +lean_ctor_set(x_440, 1, x_439); +x_441 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_442 = lean_array_push(x_441, x_440); +x_443 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_444 = lean_array_push(x_442, x_443); +x_445 = lean_array_push(x_426, x_423); +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_15); +lean_ctor_set(x_446, 1, x_434); +x_447 = lean_array_push(x_445, x_446); +x_448 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_448); +lean_ctor_set(x_449, 1, x_447); +x_450 = lean_array_push(x_444, x_449); +x_451 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_452 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_452, 0, x_451); +lean_ctor_set(x_452, 1, x_450); +x_453 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_453, 0, x_452); lean_ctor_set(x_453, 1, x_3); return x_453; } -else -{ -lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; uint8_t x_523; -x_454 = l_Lean_Syntax_getArg(x_449, x_24); -lean_dec(x_449); -x_455 = lean_unsigned_to_nat(3u); -x_456 = l_Lean_Syntax_getArg(x_1, x_455); -lean_inc(x_456); -x_523 = l_Lean_Syntax_isOfKind(x_456, x_15); -if (x_523 == 0) -{ -lean_object* x_524; -x_524 = lean_box(0); -x_457 = x_524; -goto block_522; -} -else -{ -lean_object* x_525; lean_object* x_526; uint8_t x_527; -x_525 = l_Lean_Syntax_getArgs(x_456); -x_526 = lean_array_get_size(x_525); -lean_dec(x_525); -x_527 = lean_nat_dec_eq(x_526, x_8); -lean_dec(x_526); -if (x_527 == 0) -{ -lean_object* x_528; -x_528 = lean_box(0); -x_457 = x_528; -goto block_522; -} -else -{ -lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; -lean_dec(x_456); -x_529 = lean_unsigned_to_nat(4u); -x_530 = l_Lean_Syntax_getArg(x_1, x_529); -x_531 = lean_unsigned_to_nat(6u); -x_532 = l_Lean_Syntax_getArg(x_1, x_531); -lean_dec(x_1); -x_533 = lean_ctor_get(x_2, 2); -lean_inc(x_533); -x_534 = lean_ctor_get(x_2, 1); -lean_inc(x_534); -lean_dec(x_2); -x_535 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_536 = lean_array_push(x_535, x_454); -x_537 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_537, 0, x_450); -lean_ctor_set(x_537, 1, x_536); -x_538 = l_Array_empty___closed__1; -x_539 = lean_array_push(x_538, x_537); -x_540 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_540, 0, x_15); -lean_ctor_set(x_540, 1, x_539); -x_541 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -lean_inc(x_540); -x_542 = lean_array_push(x_541, x_540); -x_543 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_544 = lean_array_push(x_542, x_543); -x_545 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -lean_inc(x_533); -lean_inc(x_534); -x_546 = l_Lean_addMacroScope(x_534, x_545, x_533); -x_547 = lean_box(0); -x_548 = l_Lean_instInhabitedSourceInfo___closed__1; -x_549 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -x_550 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_550, 0, x_548); -lean_ctor_set(x_550, 1, x_549); -lean_ctor_set(x_550, 2, x_546); -lean_ctor_set(x_550, 3, x_547); -x_551 = lean_array_push(x_538, x_550); -lean_inc(x_551); -x_552 = lean_array_push(x_551, x_543); -x_553 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_554 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_554, 0, x_553); -lean_ctor_set(x_554, 1, x_552); -x_555 = lean_array_push(x_538, x_554); -x_556 = lean_array_push(x_555, x_530); -x_557 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_558 = l_Lean_addMacroScope(x_534, x_557, x_533); -x_559 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_560 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_560, 0, x_548); -lean_ctor_set(x_560, 1, x_559); -lean_ctor_set(x_560, 2, x_558); -lean_ctor_set(x_560, 3, x_547); -lean_inc(x_560); -x_561 = lean_array_push(x_538, x_560); -x_562 = lean_array_push(x_561, x_540); -x_563 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_563, 0, x_553); -lean_ctor_set(x_563, 1, x_562); -x_564 = lean_array_push(x_556, x_563); -x_565 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_565, 0, x_15); -lean_ctor_set(x_565, 1, x_564); -x_566 = lean_array_push(x_544, x_565); -x_567 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_568 = lean_array_push(x_566, x_567); -x_569 = lean_array_push(x_538, x_532); -x_570 = lean_array_push(x_551, x_560); -x_571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_571, 0, x_15); -lean_ctor_set(x_571, 1, x_570); -x_572 = lean_array_push(x_569, x_571); -x_573 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; -x_574 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_574, 0, x_573); -lean_ctor_set(x_574, 1, x_572); -x_575 = lean_array_push(x_568, x_574); -x_576 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_575); -x_578 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_578, 0, x_577); -lean_ctor_set(x_578, 1, x_3); -return x_578; -} -} -block_522: -{ -uint8_t x_458; -lean_dec(x_457); -lean_inc(x_456); -x_458 = l_Lean_Syntax_isOfKind(x_456, x_15); -if (x_458 == 0) -{ -lean_object* x_459; lean_object* x_460; -lean_dec(x_456); -lean_dec(x_454); -lean_dec(x_2); -lean_dec(x_1); -x_459 = lean_box(1); -x_460 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_460, 0, x_459); -lean_ctor_set(x_460, 1, x_3); -return x_460; -} -else -{ -lean_object* x_461; lean_object* x_462; uint8_t x_463; -x_461 = l_Lean_Syntax_getArgs(x_456); -x_462 = lean_array_get_size(x_461); -lean_dec(x_461); -x_463 = lean_nat_dec_eq(x_462, x_455); -lean_dec(x_462); -if (x_463 == 0) -{ -lean_object* x_464; lean_object* x_465; -lean_dec(x_456); -lean_dec(x_454); -lean_dec(x_2); -lean_dec(x_1); -x_464 = lean_box(1); -x_465 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_465, 0, x_464); -lean_ctor_set(x_465, 1, x_3); -return x_465; -} -else -{ -lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; -x_466 = l_Lean_Syntax_getArg(x_456, x_24); -lean_dec(x_456); -x_467 = lean_unsigned_to_nat(4u); -x_468 = l_Lean_Syntax_getArg(x_1, x_467); -x_469 = lean_unsigned_to_nat(6u); -x_470 = l_Lean_Syntax_getArg(x_1, x_469); -lean_dec(x_1); -x_471 = lean_ctor_get(x_2, 2); -lean_inc(x_471); -x_472 = lean_ctor_get(x_2, 1); -lean_inc(x_472); -lean_dec(x_2); -x_473 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_474 = lean_array_push(x_473, x_454); -x_475 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_475, 0, x_450); -lean_ctor_set(x_475, 1, x_474); -x_476 = l_Array_empty___closed__1; -x_477 = lean_array_push(x_476, x_475); -x_478 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_478, 0, x_15); -lean_ctor_set(x_478, 1, x_477); -x_479 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; -lean_inc(x_478); -x_480 = lean_array_push(x_479, x_478); -x_481 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_482 = lean_array_push(x_481, x_466); -x_483 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_484 = lean_array_push(x_482, x_483); -x_485 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_485, 0, x_15); -lean_ctor_set(x_485, 1, x_484); -x_486 = lean_array_push(x_480, x_485); -x_487 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; -lean_inc(x_471); -lean_inc(x_472); -x_488 = l_Lean_addMacroScope(x_472, x_487, x_471); -x_489 = lean_box(0); -x_490 = l_Lean_instInhabitedSourceInfo___closed__1; -x_491 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; -x_492 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_492, 0, x_490); -lean_ctor_set(x_492, 1, x_491); -lean_ctor_set(x_492, 2, x_488); -lean_ctor_set(x_492, 3, x_489); -x_493 = lean_array_push(x_476, x_492); -x_494 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -lean_inc(x_493); -x_495 = lean_array_push(x_493, x_494); -x_496 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; -x_497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_497, 0, x_496); -lean_ctor_set(x_497, 1, x_495); -x_498 = lean_array_push(x_476, x_497); -x_499 = lean_array_push(x_498, x_468); -x_500 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; -x_501 = l_Lean_addMacroScope(x_472, x_500, x_471); -x_502 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__15; -x_503 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_503, 0, x_490); -lean_ctor_set(x_503, 1, x_502); -lean_ctor_set(x_503, 2, x_501); -lean_ctor_set(x_503, 3, x_489); -lean_inc(x_503); -x_504 = lean_array_push(x_476, x_503); -x_505 = lean_array_push(x_504, x_478); -x_506 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_506, 0, x_496); -lean_ctor_set(x_506, 1, x_505); -x_507 = lean_array_push(x_499, x_506); -x_508 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_508, 0, x_15); -lean_ctor_set(x_508, 1, x_507); -x_509 = lean_array_push(x_486, x_508); -x_510 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_511 = lean_array_push(x_509, x_510); -x_512 = lean_array_push(x_476, x_470); -x_513 = lean_array_push(x_493, x_503); -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_15); -lean_ctor_set(x_514, 1, x_513); -x_515 = lean_array_push(x_512, x_514); -x_516 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; -x_517 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_517, 0, x_516); -lean_ctor_set(x_517, 1, x_515); -x_518 = lean_array_push(x_511, x_517); -x_519 = l_Lean_Parser_Command_notation___elambda__1___closed__2; -x_520 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_520, 0, x_519); -lean_ctor_set(x_520, 1, x_518); -x_521 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_521, 0, x_520); -lean_ctor_set(x_521, 1, x_3); -return x_521; -} -} -} -} -} } } } else { -lean_object* x_579; lean_object* x_580; uint8_t x_581; +lean_object* x_454; lean_object* x_455; uint8_t x_456; lean_dec(x_25); -lean_dec(x_2); -x_579 = lean_unsigned_to_nat(2u); -x_580 = l_Lean_Syntax_getArg(x_1, x_579); -lean_inc(x_580); -x_581 = l_Lean_Syntax_isOfKind(x_580, x_15); -if (x_581 == 0) +x_454 = lean_unsigned_to_nat(2u); +x_455 = l_Lean_Syntax_getArg(x_1, x_454); +x_456 = l_Lean_Syntax_isNone(x_455); +if (x_456 == 0) { -lean_object* x_582; lean_object* x_583; -lean_dec(x_580); +uint8_t x_457; +lean_inc(x_455); +x_457 = l_Lean_Syntax_isOfKind(x_455, x_15); +if (x_457 == 0) +{ +lean_object* x_458; lean_object* x_459; +lean_dec(x_455); +lean_dec(x_2); lean_dec(x_1); -x_582 = lean_box(1); +x_458 = lean_box(1); +x_459 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_459, 0, x_458); +lean_ctor_set(x_459, 1, x_3); +return x_459; +} +else +{ +lean_object* x_460; lean_object* x_461; uint8_t x_462; +x_460 = l_Lean_Syntax_getArgs(x_455); +x_461 = lean_array_get_size(x_460); +lean_dec(x_460); +x_462 = lean_nat_dec_eq(x_461, x_24); +lean_dec(x_461); +if (x_462 == 0) +{ +lean_object* x_463; lean_object* x_464; +lean_dec(x_455); +lean_dec(x_2); +lean_dec(x_1); +x_463 = lean_box(1); +x_464 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_464, 0, x_463); +lean_ctor_set(x_464, 1, x_3); +return x_464; +} +else +{ +lean_object* x_465; lean_object* x_466; uint8_t x_467; +x_465 = l_Lean_Syntax_getArg(x_455, x_8); +lean_dec(x_455); +x_466 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_inc(x_465); +x_467 = l_Lean_Syntax_isOfKind(x_465, x_466); +if (x_467 == 0) +{ +lean_object* x_468; lean_object* x_469; +lean_dec(x_465); +lean_dec(x_2); +lean_dec(x_1); +x_468 = lean_box(1); +x_469 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_469, 0, x_468); +lean_ctor_set(x_469, 1, x_3); +return x_469; +} +else +{ +lean_object* x_470; lean_object* x_471; lean_object* x_472; uint8_t x_473; +x_470 = l_Lean_Syntax_getArg(x_465, x_24); +lean_dec(x_465); +x_471 = lean_unsigned_to_nat(3u); +x_472 = l_Lean_Syntax_getArg(x_1, x_471); +x_473 = l_Lean_Syntax_isNone(x_472); +if (x_473 == 0) +{ +uint8_t x_474; +lean_inc(x_472); +x_474 = l_Lean_Syntax_isOfKind(x_472, x_15); +if (x_474 == 0) +{ +lean_object* x_475; lean_object* x_476; +lean_dec(x_472); +lean_dec(x_470); +lean_dec(x_2); +lean_dec(x_1); +x_475 = lean_box(1); +x_476 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_476, 0, x_475); +lean_ctor_set(x_476, 1, x_3); +return x_476; +} +else +{ +lean_object* x_477; lean_object* x_478; uint8_t x_479; +x_477 = l_Lean_Syntax_getArgs(x_472); +x_478 = lean_array_get_size(x_477); +lean_dec(x_477); +x_479 = lean_nat_dec_eq(x_478, x_471); +lean_dec(x_478); +if (x_479 == 0) +{ +lean_object* x_480; lean_object* x_481; +lean_dec(x_472); +lean_dec(x_470); +lean_dec(x_2); +lean_dec(x_1); +x_480 = lean_box(1); +x_481 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_481, 0, x_480); +lean_ctor_set(x_481, 1, x_3); +return x_481; +} +else +{ +lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; +x_482 = l_Lean_Syntax_getArg(x_472, x_24); +lean_dec(x_472); +x_483 = lean_unsigned_to_nat(4u); +x_484 = l_Lean_Syntax_getArg(x_1, x_483); +x_485 = lean_unsigned_to_nat(6u); +x_486 = l_Lean_Syntax_getArg(x_1, x_485); +lean_dec(x_1); +x_487 = l_Lean_Syntax_toNat(x_470); +x_488 = lean_nat_add(x_487, x_24); +lean_dec(x_487); +x_489 = l_Nat_repr(x_488); +x_490 = l_Lean_numLitKind; +x_491 = l_Lean_instInhabitedSourceInfo___closed__1; +x_492 = l_Lean_Syntax_mkLit(x_490, x_489, x_491); +x_493 = lean_ctor_get(x_2, 2); +lean_inc(x_493); +x_494 = lean_ctor_get(x_2, 1); +lean_inc(x_494); +lean_dec(x_2); +x_495 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_496 = lean_array_push(x_495, x_470); +x_497 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_497, 0, x_466); +lean_ctor_set(x_497, 1, x_496); +x_498 = l_Lean_mkOptionalNode___closed__2; +x_499 = lean_array_push(x_498, x_497); +x_500 = l_Array_empty___closed__1; +x_501 = l_Array_appendCore___rarg(x_500, x_499); +lean_dec(x_499); +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_15); +lean_ctor_set(x_502, 1, x_501); +x_503 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_504 = lean_array_push(x_503, x_502); +x_505 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_506 = lean_array_push(x_505, x_482); +x_507 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_508 = lean_array_push(x_506, x_507); +x_509 = l_Array_appendCore___rarg(x_500, x_508); +lean_dec(x_508); +x_510 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_510, 0, x_15); +lean_ctor_set(x_510, 1, x_509); +x_511 = lean_array_push(x_504, x_510); +x_512 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_493); +lean_inc(x_494); +x_513 = l_Lean_addMacroScope(x_494, x_512, x_493); +x_514 = lean_box(0); +x_515 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_516 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_516, 0, x_491); +lean_ctor_set(x_516, 1, x_515); +lean_ctor_set(x_516, 2, x_513); +lean_ctor_set(x_516, 3, x_514); +x_517 = lean_array_push(x_500, x_516); +x_518 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_517); +x_519 = lean_array_push(x_517, x_518); +x_520 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_521 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_521, 0, x_520); +lean_ctor_set(x_521, 1, x_519); +x_522 = lean_array_push(x_500, x_521); +x_523 = lean_array_push(x_522, x_484); +x_524 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_525 = l_Lean_addMacroScope(x_494, x_524, x_493); +x_526 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_527 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_527, 0, x_491); +lean_ctor_set(x_527, 1, x_526); +lean_ctor_set(x_527, 2, x_525); +lean_ctor_set(x_527, 3, x_514); +lean_inc(x_527); +x_528 = lean_array_push(x_500, x_527); +x_529 = lean_array_push(x_495, x_492); +x_530 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_530, 0, x_466); +lean_ctor_set(x_530, 1, x_529); +x_531 = lean_array_push(x_500, x_530); +x_532 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_532, 0, x_15); +lean_ctor_set(x_532, 1, x_531); +x_533 = lean_array_push(x_528, x_532); +x_534 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_534, 0, x_520); +lean_ctor_set(x_534, 1, x_533); +x_535 = lean_array_push(x_523, x_534); +x_536 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_536, 0, x_15); +lean_ctor_set(x_536, 1, x_535); +x_537 = lean_array_push(x_511, x_536); +x_538 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_539 = lean_array_push(x_537, x_538); +x_540 = lean_array_push(x_500, x_486); +x_541 = lean_array_push(x_517, x_527); +x_542 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_542, 0, x_15); +lean_ctor_set(x_542, 1, x_541); +x_543 = lean_array_push(x_540, x_542); +x_544 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_545 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_545, 0, x_544); +lean_ctor_set(x_545, 1, x_543); +x_546 = lean_array_push(x_539, x_545); +x_547 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_548 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_548, 0, x_547); +lean_ctor_set(x_548, 1, x_546); +x_549 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_549, 0, x_548); +lean_ctor_set(x_549, 1, x_3); +return x_549; +} +} +} +else +{ +lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; +lean_dec(x_472); +x_550 = lean_unsigned_to_nat(4u); +x_551 = l_Lean_Syntax_getArg(x_1, x_550); +x_552 = lean_unsigned_to_nat(6u); +x_553 = l_Lean_Syntax_getArg(x_1, x_552); +lean_dec(x_1); +x_554 = l_Lean_Syntax_toNat(x_470); +x_555 = lean_nat_add(x_554, x_24); +lean_dec(x_554); +x_556 = l_Nat_repr(x_555); +x_557 = l_Lean_numLitKind; +x_558 = l_Lean_instInhabitedSourceInfo___closed__1; +x_559 = l_Lean_Syntax_mkLit(x_557, x_556, x_558); +x_560 = lean_ctor_get(x_2, 2); +lean_inc(x_560); +x_561 = lean_ctor_get(x_2, 1); +lean_inc(x_561); +lean_dec(x_2); +x_562 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_563 = lean_array_push(x_562, x_470); +x_564 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_564, 0, x_466); +lean_ctor_set(x_564, 1, x_563); +x_565 = l_Lean_mkOptionalNode___closed__2; +x_566 = lean_array_push(x_565, x_564); +x_567 = l_Array_empty___closed__1; +x_568 = l_Array_appendCore___rarg(x_567, x_566); +lean_dec(x_566); +x_569 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_569, 0, x_15); +lean_ctor_set(x_569, 1, x_568); +x_570 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +x_571 = lean_array_push(x_570, x_569); +x_572 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_573 = lean_array_push(x_571, x_572); +x_574 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_560); +lean_inc(x_561); +x_575 = l_Lean_addMacroScope(x_561, x_574, x_560); +x_576 = lean_box(0); +x_577 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_578 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_578, 0, x_558); +lean_ctor_set(x_578, 1, x_577); +lean_ctor_set(x_578, 2, x_575); +lean_ctor_set(x_578, 3, x_576); +x_579 = lean_array_push(x_567, x_578); +x_580 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_579); +x_581 = lean_array_push(x_579, x_580); +x_582 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; x_583 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_583, 0, x_582); -lean_ctor_set(x_583, 1, x_3); -return x_583; -} -else -{ -lean_object* x_584; lean_object* x_585; uint8_t x_586; -x_584 = l_Lean_Syntax_getArgs(x_580); -x_585 = lean_array_get_size(x_584); -lean_dec(x_584); -x_586 = lean_nat_dec_eq(x_585, x_24); -lean_dec(x_585); -if (x_586 == 0) -{ -lean_object* x_587; lean_object* x_588; -lean_dec(x_580); -lean_dec(x_1); -x_587 = lean_box(1); -x_588 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_588, 0, x_587); -lean_ctor_set(x_588, 1, x_3); -return x_588; -} -else -{ -lean_object* x_589; lean_object* x_590; uint8_t x_591; -x_589 = l_Lean_Syntax_getArg(x_580, x_8); -lean_dec(x_580); -x_590 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_ctor_set(x_583, 1, x_581); +x_584 = lean_array_push(x_567, x_583); +x_585 = lean_array_push(x_584, x_551); +x_586 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_587 = l_Lean_addMacroScope(x_561, x_586, x_560); +x_588 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_589 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_589, 0, x_558); +lean_ctor_set(x_589, 1, x_588); +lean_ctor_set(x_589, 2, x_587); +lean_ctor_set(x_589, 3, x_576); lean_inc(x_589); -x_591 = l_Lean_Syntax_isOfKind(x_589, x_590); -if (x_591 == 0) +x_590 = lean_array_push(x_567, x_589); +x_591 = lean_array_push(x_562, x_559); +x_592 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_592, 0, x_466); +lean_ctor_set(x_592, 1, x_591); +x_593 = lean_array_push(x_567, x_592); +x_594 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_594, 0, x_15); +lean_ctor_set(x_594, 1, x_593); +x_595 = lean_array_push(x_590, x_594); +x_596 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_596, 0, x_582); +lean_ctor_set(x_596, 1, x_595); +x_597 = lean_array_push(x_585, x_596); +x_598 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_598, 0, x_15); +lean_ctor_set(x_598, 1, x_597); +x_599 = lean_array_push(x_573, x_598); +x_600 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_601 = lean_array_push(x_599, x_600); +x_602 = lean_array_push(x_567, x_553); +x_603 = lean_array_push(x_579, x_589); +x_604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_604, 0, x_15); +lean_ctor_set(x_604, 1, x_603); +x_605 = lean_array_push(x_602, x_604); +x_606 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_607 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_607, 0, x_606); +lean_ctor_set(x_607, 1, x_605); +x_608 = lean_array_push(x_601, x_607); +x_609 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_610 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_610, 0, x_609); +lean_ctor_set(x_610, 1, x_608); +x_611 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_611, 0, x_610); +lean_ctor_set(x_611, 1, x_3); +return x_611; +} +} +} +} +} +else { -lean_object* x_592; lean_object* x_593; -lean_dec(x_589); +lean_object* x_612; lean_object* x_613; uint8_t x_614; +lean_dec(x_455); +x_612 = lean_unsigned_to_nat(3u); +x_613 = l_Lean_Syntax_getArg(x_1, x_612); +x_614 = l_Lean_Syntax_isNone(x_613); +if (x_614 == 0) +{ +uint8_t x_615; +lean_inc(x_613); +x_615 = l_Lean_Syntax_isOfKind(x_613, x_15); +if (x_615 == 0) +{ +lean_object* x_616; lean_object* x_617; +lean_dec(x_613); +lean_dec(x_2); lean_dec(x_1); -x_592 = lean_box(1); -x_593 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_593, 0, x_592); -lean_ctor_set(x_593, 1, x_3); -return x_593; +x_616 = lean_box(1); +x_617 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_617, 0, x_616); +lean_ctor_set(x_617, 1, x_3); +return x_617; } else { -lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; uint8_t x_632; -x_594 = l_Lean_Syntax_getArg(x_589, x_24); -lean_dec(x_589); -x_595 = lean_unsigned_to_nat(3u); -x_596 = l_Lean_Syntax_getArg(x_1, x_595); -lean_inc(x_596); -x_632 = l_Lean_Syntax_isOfKind(x_596, x_15); -if (x_632 == 0) +lean_object* x_618; lean_object* x_619; uint8_t x_620; +x_618 = l_Lean_Syntax_getArgs(x_613); +x_619 = lean_array_get_size(x_618); +lean_dec(x_618); +x_620 = lean_nat_dec_eq(x_619, x_612); +lean_dec(x_619); +if (x_620 == 0) { -lean_object* x_633; -x_633 = lean_box(0); -x_597 = x_633; -goto block_631; -} -else -{ -lean_object* x_634; lean_object* x_635; uint8_t x_636; -x_634 = l_Lean_Syntax_getArgs(x_596); -x_635 = lean_array_get_size(x_634); -lean_dec(x_634); -x_636 = lean_nat_dec_eq(x_635, x_8); -lean_dec(x_635); -if (x_636 == 0) -{ -lean_object* x_637; -x_637 = lean_box(0); -x_597 = x_637; -goto block_631; -} -else -{ -lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; -lean_dec(x_596); -x_638 = lean_unsigned_to_nat(4u); -x_639 = l_Lean_Syntax_getArg(x_1, x_638); -x_640 = lean_unsigned_to_nat(6u); -x_641 = l_Lean_Syntax_getArg(x_1, x_640); +lean_object* x_621; lean_object* x_622; +lean_dec(x_613); +lean_dec(x_2); lean_dec(x_1); -x_642 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_643 = lean_array_push(x_642, x_594); -x_644 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_644, 0, x_590); +x_621 = lean_box(1); +x_622 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_622, 0, x_621); +lean_ctor_set(x_622, 1, x_3); +return x_622; +} +else +{ +lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +x_623 = l_Lean_Syntax_getArg(x_613, x_24); +lean_dec(x_613); +x_624 = lean_unsigned_to_nat(4u); +x_625 = l_Lean_Syntax_getArg(x_1, x_624); +x_626 = lean_unsigned_to_nat(6u); +x_627 = l_Lean_Syntax_getArg(x_1, x_626); +lean_dec(x_1); +x_628 = lean_ctor_get(x_2, 2); +lean_inc(x_628); +x_629 = lean_ctor_get(x_2, 1); +lean_inc(x_629); +lean_dec(x_2); +x_630 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_631 = lean_array_push(x_630, x_623); +x_632 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_633 = lean_array_push(x_631, x_632); +x_634 = l_Array_empty___closed__1; +x_635 = l_Array_appendCore___rarg(x_634, x_633); +lean_dec(x_633); +x_636 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_636, 0, x_15); +lean_ctor_set(x_636, 1, x_635); +x_637 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_638 = lean_array_push(x_637, x_636); +x_639 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_628); +lean_inc(x_629); +x_640 = l_Lean_addMacroScope(x_629, x_639, x_628); +x_641 = lean_box(0); +x_642 = l_Lean_instInhabitedSourceInfo___closed__1; +x_643 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_644 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_644, 0, x_642); lean_ctor_set(x_644, 1, x_643); -x_645 = l_Array_empty___closed__1; -x_646 = lean_array_push(x_645, x_644); -x_647 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_647, 0, x_15); -lean_ctor_set(x_647, 1, x_646); -x_648 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; -x_649 = lean_array_push(x_648, x_647); -x_650 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; -x_651 = lean_array_push(x_649, x_650); -x_652 = lean_array_push(x_651, x_639); -x_653 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_654 = lean_array_push(x_652, x_653); -x_655 = lean_array_push(x_654, x_641); -x_656 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_656, 0, x_4); -lean_ctor_set(x_656, 1, x_655); -x_657 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_657, 0, x_656); -lean_ctor_set(x_657, 1, x_3); -return x_657; +lean_ctor_set(x_644, 2, x_640); +lean_ctor_set(x_644, 3, x_641); +x_645 = lean_array_push(x_634, x_644); +x_646 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_645); +x_647 = lean_array_push(x_645, x_646); +x_648 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_649, 0, x_648); +lean_ctor_set(x_649, 1, x_647); +x_650 = lean_array_push(x_634, x_649); +x_651 = lean_array_push(x_650, x_625); +x_652 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_653 = l_Lean_addMacroScope(x_629, x_652, x_628); +x_654 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_655 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_655, 0, x_642); +lean_ctor_set(x_655, 1, x_654); +lean_ctor_set(x_655, 2, x_653); +lean_ctor_set(x_655, 3, x_641); +lean_inc(x_655); +x_656 = lean_array_push(x_634, x_655); +x_657 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +x_658 = lean_array_push(x_656, x_657); +x_659 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_659, 0, x_648); +lean_ctor_set(x_659, 1, x_658); +x_660 = lean_array_push(x_651, x_659); +x_661 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_661, 0, x_15); +lean_ctor_set(x_661, 1, x_660); +x_662 = lean_array_push(x_638, x_661); +x_663 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_664 = lean_array_push(x_662, x_663); +x_665 = lean_array_push(x_634, x_627); +x_666 = lean_array_push(x_645, x_655); +x_667 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_667, 0, x_15); +lean_ctor_set(x_667, 1, x_666); +x_668 = lean_array_push(x_665, x_667); +x_669 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_670, 0, x_669); +lean_ctor_set(x_670, 1, x_668); +x_671 = lean_array_push(x_664, x_670); +x_672 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_673 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_673, 0, x_672); +lean_ctor_set(x_673, 1, x_671); +x_674 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_674, 0, x_673); +lean_ctor_set(x_674, 1, x_3); +return x_674; } } -block_631: -{ -uint8_t x_598; -lean_dec(x_597); -lean_inc(x_596); -x_598 = l_Lean_Syntax_isOfKind(x_596, x_15); -if (x_598 == 0) -{ -lean_object* x_599; lean_object* x_600; -lean_dec(x_596); -lean_dec(x_594); -lean_dec(x_1); -x_599 = lean_box(1); -x_600 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_600, 0, x_599); -lean_ctor_set(x_600, 1, x_3); -return x_600; } else { -lean_object* x_601; lean_object* x_602; uint8_t x_603; -x_601 = l_Lean_Syntax_getArgs(x_596); -x_602 = lean_array_get_size(x_601); -lean_dec(x_601); -x_603 = lean_nat_dec_eq(x_602, x_595); -lean_dec(x_602); -if (x_603 == 0) -{ -lean_object* x_604; lean_object* x_605; -lean_dec(x_596); -lean_dec(x_594); +lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; +lean_dec(x_613); +x_675 = lean_unsigned_to_nat(4u); +x_676 = l_Lean_Syntax_getArg(x_1, x_675); +x_677 = lean_unsigned_to_nat(6u); +x_678 = l_Lean_Syntax_getArg(x_1, x_677); lean_dec(x_1); -x_604 = lean_box(1); -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_604); -lean_ctor_set(x_605, 1, x_3); -return x_605; +x_679 = lean_ctor_get(x_2, 2); +lean_inc(x_679); +x_680 = lean_ctor_get(x_2, 1); +lean_inc(x_680); +lean_dec(x_2); +x_681 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_679); +lean_inc(x_680); +x_682 = l_Lean_addMacroScope(x_680, x_681, x_679); +x_683 = lean_box(0); +x_684 = l_Lean_instInhabitedSourceInfo___closed__1; +x_685 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_686 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_686, 0, x_684); +lean_ctor_set(x_686, 1, x_685); +lean_ctor_set(x_686, 2, x_682); +lean_ctor_set(x_686, 3, x_683); +x_687 = l_Array_empty___closed__1; +x_688 = lean_array_push(x_687, x_686); +x_689 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_688); +x_690 = lean_array_push(x_688, x_689); +x_691 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_692 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_692, 0, x_691); +lean_ctor_set(x_692, 1, x_690); +x_693 = lean_array_push(x_687, x_692); +x_694 = lean_array_push(x_693, x_676); +x_695 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_696 = l_Lean_addMacroScope(x_680, x_695, x_679); +x_697 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_698 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_698, 0, x_684); +lean_ctor_set(x_698, 1, x_697); +lean_ctor_set(x_698, 2, x_696); +lean_ctor_set(x_698, 3, x_683); +lean_inc(x_698); +x_699 = lean_array_push(x_687, x_698); +x_700 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26; +x_701 = lean_array_push(x_699, x_700); +x_702 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_702, 0, x_691); +lean_ctor_set(x_702, 1, x_701); +x_703 = lean_array_push(x_694, x_702); +x_704 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_704, 0, x_15); +lean_ctor_set(x_704, 1, x_703); +x_705 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_706 = lean_array_push(x_705, x_704); +x_707 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_708 = lean_array_push(x_706, x_707); +x_709 = lean_array_push(x_687, x_678); +x_710 = lean_array_push(x_688, x_698); +x_711 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_711, 0, x_15); +lean_ctor_set(x_711, 1, x_710); +x_712 = lean_array_push(x_709, x_711); +x_713 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_714 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_714, 0, x_713); +lean_ctor_set(x_714, 1, x_712); +x_715 = lean_array_push(x_708, x_714); +x_716 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_717 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_715); +x_718 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_718, 0, x_717); +lean_ctor_set(x_718, 1, x_3); +return x_718; +} +} +} } else { -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; -x_606 = l_Lean_Syntax_getArg(x_596, x_24); -lean_dec(x_596); -x_607 = lean_unsigned_to_nat(4u); -x_608 = l_Lean_Syntax_getArg(x_1, x_607); -x_609 = lean_unsigned_to_nat(6u); -x_610 = l_Lean_Syntax_getArg(x_1, x_609); +lean_object* x_719; lean_object* x_720; uint8_t x_721; +lean_dec(x_25); +x_719 = lean_unsigned_to_nat(2u); +x_720 = l_Lean_Syntax_getArg(x_1, x_719); +x_721 = l_Lean_Syntax_isNone(x_720); +if (x_721 == 0) +{ +uint8_t x_722; +lean_inc(x_720); +x_722 = l_Lean_Syntax_isOfKind(x_720, x_15); +if (x_722 == 0) +{ +lean_object* x_723; lean_object* x_724; +lean_dec(x_720); +lean_dec(x_2); lean_dec(x_1); -x_611 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_612 = lean_array_push(x_611, x_594); -x_613 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_613, 0, x_590); -lean_ctor_set(x_613, 1, x_612); -x_614 = l_Array_empty___closed__1; -x_615 = lean_array_push(x_614, x_613); -x_616 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_616, 0, x_15); -lean_ctor_set(x_616, 1, x_615); -x_617 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; -x_618 = lean_array_push(x_617, x_616); -x_619 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_620 = lean_array_push(x_619, x_606); -x_621 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_622 = lean_array_push(x_620, x_621); -x_623 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_623, 0, x_15); -lean_ctor_set(x_623, 1, x_622); -x_624 = lean_array_push(x_618, x_623); -x_625 = lean_array_push(x_624, x_608); -x_626 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; -x_627 = lean_array_push(x_625, x_626); -x_628 = lean_array_push(x_627, x_610); -x_629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_629, 0, x_4); -lean_ctor_set(x_629, 1, x_628); -x_630 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_630, 0, x_629); -lean_ctor_set(x_630, 1, x_3); -return x_630; +x_723 = lean_box(1); +x_724 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_724, 0, x_723); +lean_ctor_set(x_724, 1, x_3); +return x_724; +} +else +{ +lean_object* x_725; lean_object* x_726; uint8_t x_727; +x_725 = l_Lean_Syntax_getArgs(x_720); +x_726 = lean_array_get_size(x_725); +lean_dec(x_725); +x_727 = lean_nat_dec_eq(x_726, x_24); +lean_dec(x_726); +if (x_727 == 0) +{ +lean_object* x_728; lean_object* x_729; +lean_dec(x_720); +lean_dec(x_2); +lean_dec(x_1); +x_728 = lean_box(1); +x_729 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_729, 0, x_728); +lean_ctor_set(x_729, 1, x_3); +return x_729; +} +else +{ +lean_object* x_730; lean_object* x_731; uint8_t x_732; +x_730 = l_Lean_Syntax_getArg(x_720, x_8); +lean_dec(x_720); +x_731 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_inc(x_730); +x_732 = l_Lean_Syntax_isOfKind(x_730, x_731); +if (x_732 == 0) +{ +lean_object* x_733; lean_object* x_734; +lean_dec(x_730); +lean_dec(x_2); +lean_dec(x_1); +x_733 = lean_box(1); +x_734 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_734, 0, x_733); +lean_ctor_set(x_734, 1, x_3); +return x_734; +} +else +{ +lean_object* x_735; lean_object* x_736; lean_object* x_737; uint8_t x_738; +x_735 = l_Lean_Syntax_getArg(x_730, x_24); +lean_dec(x_730); +x_736 = lean_unsigned_to_nat(3u); +x_737 = l_Lean_Syntax_getArg(x_1, x_736); +x_738 = l_Lean_Syntax_isNone(x_737); +if (x_738 == 0) +{ +uint8_t x_739; +lean_inc(x_737); +x_739 = l_Lean_Syntax_isOfKind(x_737, x_15); +if (x_739 == 0) +{ +lean_object* x_740; lean_object* x_741; +lean_dec(x_737); +lean_dec(x_735); +lean_dec(x_2); +lean_dec(x_1); +x_740 = lean_box(1); +x_741 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_741, 0, x_740); +lean_ctor_set(x_741, 1, x_3); +return x_741; +} +else +{ +lean_object* x_742; lean_object* x_743; uint8_t x_744; +x_742 = l_Lean_Syntax_getArgs(x_737); +x_743 = lean_array_get_size(x_742); +lean_dec(x_742); +x_744 = lean_nat_dec_eq(x_743, x_736); +lean_dec(x_743); +if (x_744 == 0) +{ +lean_object* x_745; lean_object* x_746; +lean_dec(x_737); +lean_dec(x_735); +lean_dec(x_2); +lean_dec(x_1); +x_745 = lean_box(1); +x_746 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_746, 0, x_745); +lean_ctor_set(x_746, 1, x_3); +return x_746; +} +else +{ +lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; +x_747 = l_Lean_Syntax_getArg(x_737, x_24); +lean_dec(x_737); +x_748 = lean_unsigned_to_nat(4u); +x_749 = l_Lean_Syntax_getArg(x_1, x_748); +x_750 = lean_unsigned_to_nat(6u); +x_751 = l_Lean_Syntax_getArg(x_1, x_750); +lean_dec(x_1); +x_752 = lean_ctor_get(x_2, 2); +lean_inc(x_752); +x_753 = lean_ctor_get(x_2, 1); +lean_inc(x_753); +lean_dec(x_2); +x_754 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_755 = lean_array_push(x_754, x_735); +x_756 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_756, 0, x_731); +lean_ctor_set(x_756, 1, x_755); +x_757 = l_Lean_mkOptionalNode___closed__2; +x_758 = lean_array_push(x_757, x_756); +x_759 = l_Array_empty___closed__1; +x_760 = l_Array_appendCore___rarg(x_759, x_758); +lean_dec(x_758); +x_761 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_761, 0, x_15); +lean_ctor_set(x_761, 1, x_760); +x_762 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +lean_inc(x_761); +x_763 = lean_array_push(x_762, x_761); +x_764 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_765 = lean_array_push(x_764, x_747); +x_766 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_767 = lean_array_push(x_765, x_766); +x_768 = l_Array_appendCore___rarg(x_759, x_767); +lean_dec(x_767); +x_769 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_769, 0, x_15); +lean_ctor_set(x_769, 1, x_768); +x_770 = lean_array_push(x_763, x_769); +x_771 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_752); +lean_inc(x_753); +x_772 = l_Lean_addMacroScope(x_753, x_771, x_752); +x_773 = lean_box(0); +x_774 = l_Lean_instInhabitedSourceInfo___closed__1; +x_775 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_776 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_776, 0, x_774); +lean_ctor_set(x_776, 1, x_775); +lean_ctor_set(x_776, 2, x_772); +lean_ctor_set(x_776, 3, x_773); +x_777 = lean_array_push(x_759, x_776); +x_778 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_777); +x_779 = lean_array_push(x_777, x_778); +x_780 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_781 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_781, 0, x_780); +lean_ctor_set(x_781, 1, x_779); +x_782 = lean_array_push(x_759, x_781); +x_783 = lean_array_push(x_782, x_749); +x_784 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_785 = l_Lean_addMacroScope(x_753, x_784, x_752); +x_786 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_787 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_787, 0, x_774); +lean_ctor_set(x_787, 1, x_786); +lean_ctor_set(x_787, 2, x_785); +lean_ctor_set(x_787, 3, x_773); +lean_inc(x_787); +x_788 = lean_array_push(x_759, x_787); +x_789 = lean_array_push(x_788, x_761); +x_790 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_790, 0, x_780); +lean_ctor_set(x_790, 1, x_789); +x_791 = lean_array_push(x_783, x_790); +x_792 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_792, 0, x_15); +lean_ctor_set(x_792, 1, x_791); +x_793 = lean_array_push(x_770, x_792); +x_794 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_795 = lean_array_push(x_793, x_794); +x_796 = lean_array_push(x_759, x_751); +x_797 = lean_array_push(x_777, x_787); +x_798 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_798, 0, x_15); +lean_ctor_set(x_798, 1, x_797); +x_799 = lean_array_push(x_796, x_798); +x_800 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_801 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_801, 0, x_800); +lean_ctor_set(x_801, 1, x_799); +x_802 = lean_array_push(x_795, x_801); +x_803 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_804 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_804, 0, x_803); +lean_ctor_set(x_804, 1, x_802); +x_805 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_805, 0, x_804); +lean_ctor_set(x_805, 1, x_3); +return x_805; +} +} +} +else +{ +lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; +lean_dec(x_737); +x_806 = lean_unsigned_to_nat(4u); +x_807 = l_Lean_Syntax_getArg(x_1, x_806); +x_808 = lean_unsigned_to_nat(6u); +x_809 = l_Lean_Syntax_getArg(x_1, x_808); +lean_dec(x_1); +x_810 = lean_ctor_get(x_2, 2); +lean_inc(x_810); +x_811 = lean_ctor_get(x_2, 1); +lean_inc(x_811); +lean_dec(x_2); +x_812 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_813 = lean_array_push(x_812, x_735); +x_814 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_814, 0, x_731); +lean_ctor_set(x_814, 1, x_813); +x_815 = l_Lean_mkOptionalNode___closed__2; +x_816 = lean_array_push(x_815, x_814); +x_817 = l_Array_empty___closed__1; +x_818 = l_Array_appendCore___rarg(x_817, x_816); +lean_dec(x_816); +x_819 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_819, 0, x_15); +lean_ctor_set(x_819, 1, x_818); +x_820 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__4; +lean_inc(x_819); +x_821 = lean_array_push(x_820, x_819); +x_822 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_823 = lean_array_push(x_821, x_822); +x_824 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_810); +lean_inc(x_811); +x_825 = l_Lean_addMacroScope(x_811, x_824, x_810); +x_826 = lean_box(0); +x_827 = l_Lean_instInhabitedSourceInfo___closed__1; +x_828 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_829 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_829, 0, x_827); +lean_ctor_set(x_829, 1, x_828); +lean_ctor_set(x_829, 2, x_825); +lean_ctor_set(x_829, 3, x_826); +x_830 = lean_array_push(x_817, x_829); +x_831 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_830); +x_832 = lean_array_push(x_830, x_831); +x_833 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_834 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_834, 0, x_833); +lean_ctor_set(x_834, 1, x_832); +x_835 = lean_array_push(x_817, x_834); +x_836 = lean_array_push(x_835, x_807); +x_837 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_838 = l_Lean_addMacroScope(x_811, x_837, x_810); +x_839 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_840 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_840, 0, x_827); +lean_ctor_set(x_840, 1, x_839); +lean_ctor_set(x_840, 2, x_838); +lean_ctor_set(x_840, 3, x_826); +lean_inc(x_840); +x_841 = lean_array_push(x_817, x_840); +x_842 = lean_array_push(x_841, x_819); +x_843 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_843, 0, x_833); +lean_ctor_set(x_843, 1, x_842); +x_844 = lean_array_push(x_836, x_843); +x_845 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_845, 0, x_15); +lean_ctor_set(x_845, 1, x_844); +x_846 = lean_array_push(x_823, x_845); +x_847 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_848 = lean_array_push(x_846, x_847); +x_849 = lean_array_push(x_817, x_809); +x_850 = lean_array_push(x_830, x_840); +x_851 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_851, 0, x_15); +lean_ctor_set(x_851, 1, x_850); +x_852 = lean_array_push(x_849, x_851); +x_853 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_854 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_854, 0, x_853); +lean_ctor_set(x_854, 1, x_852); +x_855 = lean_array_push(x_848, x_854); +x_856 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_857 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_857, 0, x_856); +lean_ctor_set(x_857, 1, x_855); +x_858 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_858, 0, x_857); +lean_ctor_set(x_858, 1, x_3); +return x_858; } } } } } +else +{ +lean_object* x_859; lean_object* x_860; uint8_t x_861; +lean_dec(x_720); +x_859 = lean_unsigned_to_nat(3u); +x_860 = l_Lean_Syntax_getArg(x_1, x_859); +x_861 = l_Lean_Syntax_isNone(x_860); +if (x_861 == 0) +{ +uint8_t x_862; +lean_inc(x_860); +x_862 = l_Lean_Syntax_isOfKind(x_860, x_15); +if (x_862 == 0) +{ +lean_object* x_863; lean_object* x_864; +lean_dec(x_860); +lean_dec(x_2); +lean_dec(x_1); +x_863 = lean_box(1); +x_864 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_864, 0, x_863); +lean_ctor_set(x_864, 1, x_3); +return x_864; +} +else +{ +lean_object* x_865; lean_object* x_866; uint8_t x_867; +x_865 = l_Lean_Syntax_getArgs(x_860); +x_866 = lean_array_get_size(x_865); +lean_dec(x_865); +x_867 = lean_nat_dec_eq(x_866, x_859); +lean_dec(x_866); +if (x_867 == 0) +{ +lean_object* x_868; lean_object* x_869; +lean_dec(x_860); +lean_dec(x_2); +lean_dec(x_1); +x_868 = lean_box(1); +x_869 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_869, 0, x_868); +lean_ctor_set(x_869, 1, x_3); +return x_869; +} +else +{ +lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; +x_870 = l_Lean_Syntax_getArg(x_860, x_24); +lean_dec(x_860); +x_871 = lean_unsigned_to_nat(4u); +x_872 = l_Lean_Syntax_getArg(x_1, x_871); +x_873 = lean_unsigned_to_nat(6u); +x_874 = l_Lean_Syntax_getArg(x_1, x_873); +lean_dec(x_1); +x_875 = lean_ctor_get(x_2, 2); +lean_inc(x_875); +x_876 = lean_ctor_get(x_2, 1); +lean_inc(x_876); +lean_dec(x_2); +x_877 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_878 = lean_array_push(x_877, x_870); +x_879 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_880 = lean_array_push(x_878, x_879); +x_881 = l_Array_empty___closed__1; +x_882 = l_Array_appendCore___rarg(x_881, x_880); +lean_dec(x_880); +x_883 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_883, 0, x_15); +lean_ctor_set(x_883, 1, x_882); +x_884 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__12; +x_885 = lean_array_push(x_884, x_883); +x_886 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_875); +lean_inc(x_876); +x_887 = l_Lean_addMacroScope(x_876, x_886, x_875); +x_888 = lean_box(0); +x_889 = l_Lean_instInhabitedSourceInfo___closed__1; +x_890 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_891 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_891, 0, x_889); +lean_ctor_set(x_891, 1, x_890); +lean_ctor_set(x_891, 2, x_887); +lean_ctor_set(x_891, 3, x_888); +x_892 = lean_array_push(x_881, x_891); +x_893 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_892); +x_894 = lean_array_push(x_892, x_893); +x_895 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_896 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_896, 0, x_895); +lean_ctor_set(x_896, 1, x_894); +x_897 = lean_array_push(x_881, x_896); +x_898 = lean_array_push(x_897, x_872); +x_899 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_900 = l_Lean_addMacroScope(x_876, x_899, x_875); +x_901 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_902 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_902, 0, x_889); +lean_ctor_set(x_902, 1, x_901); +lean_ctor_set(x_902, 2, x_900); +lean_ctor_set(x_902, 3, x_888); +lean_inc(x_902); +x_903 = lean_array_push(x_881, x_902); +x_904 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_905 = lean_array_push(x_903, x_904); +x_906 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_906, 0, x_895); +lean_ctor_set(x_906, 1, x_905); +x_907 = lean_array_push(x_898, x_906); +x_908 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_908, 0, x_15); +lean_ctor_set(x_908, 1, x_907); +x_909 = lean_array_push(x_885, x_908); +x_910 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_911 = lean_array_push(x_909, x_910); +x_912 = lean_array_push(x_881, x_874); +x_913 = lean_array_push(x_892, x_902); +x_914 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_914, 0, x_15); +lean_ctor_set(x_914, 1, x_913); +x_915 = lean_array_push(x_912, x_914); +x_916 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_917 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_917, 0, x_916); +lean_ctor_set(x_917, 1, x_915); +x_918 = lean_array_push(x_911, x_917); +x_919 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_920 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_920, 0, x_919); +lean_ctor_set(x_920, 1, x_918); +x_921 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_921, 0, x_920); +lean_ctor_set(x_921, 1, x_3); +return x_921; +} +} +} +else +{ +lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; +lean_dec(x_860); +x_922 = lean_unsigned_to_nat(4u); +x_923 = l_Lean_Syntax_getArg(x_1, x_922); +x_924 = lean_unsigned_to_nat(6u); +x_925 = l_Lean_Syntax_getArg(x_1, x_924); +lean_dec(x_1); +x_926 = lean_ctor_get(x_2, 2); +lean_inc(x_926); +x_927 = lean_ctor_get(x_2, 1); +lean_inc(x_927); +lean_dec(x_2); +x_928 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__17; +lean_inc(x_926); +lean_inc(x_927); +x_929 = l_Lean_addMacroScope(x_927, x_928, x_926); +x_930 = lean_box(0); +x_931 = l_Lean_instInhabitedSourceInfo___closed__1; +x_932 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__16; +x_933 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_933, 0, x_931); +lean_ctor_set(x_933, 1, x_932); +lean_ctor_set(x_933, 2, x_929); +lean_ctor_set(x_933, 3, x_930); +x_934 = l_Array_empty___closed__1; +x_935 = lean_array_push(x_934, x_933); +x_936 = l_myMacro____x40_Init_Notation___hyg_12176____closed__22; +lean_inc(x_935); +x_937 = lean_array_push(x_935, x_936); +x_938 = l_Lean_Parser_Command_identPrec___elambda__1___closed__2; +x_939 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_939, 0, x_938); +lean_ctor_set(x_939, 1, x_937); +x_940 = lean_array_push(x_934, x_939); +x_941 = lean_array_push(x_940, x_923); +x_942 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21; +x_943 = l_Lean_addMacroScope(x_927, x_942, x_926); +x_944 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20; +x_945 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_945, 0, x_931); +lean_ctor_set(x_945, 1, x_944); +lean_ctor_set(x_945, 2, x_943); +lean_ctor_set(x_945, 3, x_930); +lean_inc(x_945); +x_946 = lean_array_push(x_934, x_945); +x_947 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_948 = lean_array_push(x_946, x_947); +x_949 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_949, 0, x_938); +lean_ctor_set(x_949, 1, x_948); +x_950 = lean_array_push(x_941, x_949); +x_951 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_951, 0, x_15); +lean_ctor_set(x_951, 1, x_950); +x_952 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__13; +x_953 = lean_array_push(x_952, x_951); +x_954 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_955 = lean_array_push(x_953, x_954); +x_956 = lean_array_push(x_934, x_925); +x_957 = lean_array_push(x_935, x_945); +x_958 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_958, 0, x_15); +lean_ctor_set(x_958, 1, x_957); +x_959 = lean_array_push(x_956, x_958); +x_960 = l_myMacro____x40_Init_Notation___hyg_1625____closed__4; +x_961 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_961, 0, x_960); +lean_ctor_set(x_961, 1, x_959); +x_962 = lean_array_push(x_955, x_961); +x_963 = l_Lean_Parser_Command_notation___elambda__1___closed__2; +x_964 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_964, 0, x_963); +lean_ctor_set(x_964, 1, x_962); +x_965 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_965, 0, x_964); +lean_ctor_set(x_965, 1, x_3); +return x_965; +} +} +} +} +else +{ +lean_object* x_966; lean_object* x_967; uint8_t x_968; +lean_dec(x_25); +lean_dec(x_2); +x_966 = lean_unsigned_to_nat(2u); +x_967 = l_Lean_Syntax_getArg(x_1, x_966); +x_968 = l_Lean_Syntax_isNone(x_967); +if (x_968 == 0) +{ +uint8_t x_969; +lean_inc(x_967); +x_969 = l_Lean_Syntax_isOfKind(x_967, x_15); +if (x_969 == 0) +{ +lean_object* x_970; lean_object* x_971; +lean_dec(x_967); +lean_dec(x_1); +x_970 = lean_box(1); +x_971 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_971, 0, x_970); +lean_ctor_set(x_971, 1, x_3); +return x_971; +} +else +{ +lean_object* x_972; lean_object* x_973; uint8_t x_974; +x_972 = l_Lean_Syntax_getArgs(x_967); +x_973 = lean_array_get_size(x_972); +lean_dec(x_972); +x_974 = lean_nat_dec_eq(x_973, x_24); +lean_dec(x_973); +if (x_974 == 0) +{ +lean_object* x_975; lean_object* x_976; +lean_dec(x_967); +lean_dec(x_1); +x_975 = lean_box(1); +x_976 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_976, 0, x_975); +lean_ctor_set(x_976, 1, x_3); +return x_976; +} +else +{ +lean_object* x_977; lean_object* x_978; uint8_t x_979; +x_977 = l_Lean_Syntax_getArg(x_967, x_8); +lean_dec(x_967); +x_978 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_inc(x_977); +x_979 = l_Lean_Syntax_isOfKind(x_977, x_978); +if (x_979 == 0) +{ +lean_object* x_980; lean_object* x_981; +lean_dec(x_977); +lean_dec(x_1); +x_980 = lean_box(1); +x_981 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_981, 0, x_980); +lean_ctor_set(x_981, 1, x_3); +return x_981; +} +else +{ +lean_object* x_982; lean_object* x_983; lean_object* x_984; uint8_t x_985; +x_982 = l_Lean_Syntax_getArg(x_977, x_24); +lean_dec(x_977); +x_983 = lean_unsigned_to_nat(3u); +x_984 = l_Lean_Syntax_getArg(x_1, x_983); +x_985 = l_Lean_Syntax_isNone(x_984); +if (x_985 == 0) +{ +uint8_t x_986; +lean_inc(x_984); +x_986 = l_Lean_Syntax_isOfKind(x_984, x_15); +if (x_986 == 0) +{ +lean_object* x_987; lean_object* x_988; +lean_dec(x_984); +lean_dec(x_982); +lean_dec(x_1); +x_987 = lean_box(1); +x_988 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_988, 0, x_987); +lean_ctor_set(x_988, 1, x_3); +return x_988; +} +else +{ +lean_object* x_989; lean_object* x_990; uint8_t x_991; +x_989 = l_Lean_Syntax_getArgs(x_984); +x_990 = lean_array_get_size(x_989); +lean_dec(x_989); +x_991 = lean_nat_dec_eq(x_990, x_983); +lean_dec(x_990); +if (x_991 == 0) +{ +lean_object* x_992; lean_object* x_993; +lean_dec(x_984); +lean_dec(x_982); +lean_dec(x_1); +x_992 = lean_box(1); +x_993 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_993, 0, x_992); +lean_ctor_set(x_993, 1, x_3); +return x_993; +} +else +{ +lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; +x_994 = l_Lean_Syntax_getArg(x_984, x_24); +lean_dec(x_984); +x_995 = lean_unsigned_to_nat(4u); +x_996 = l_Lean_Syntax_getArg(x_1, x_995); +x_997 = lean_unsigned_to_nat(6u); +x_998 = l_Lean_Syntax_getArg(x_1, x_997); +lean_dec(x_1); +x_999 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_1000 = lean_array_push(x_999, x_982); +x_1001 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1001, 0, x_978); +lean_ctor_set(x_1001, 1, x_1000); +x_1002 = l_Lean_mkOptionalNode___closed__2; +x_1003 = lean_array_push(x_1002, x_1001); +x_1004 = l_Array_empty___closed__1; +x_1005 = l_Array_appendCore___rarg(x_1004, x_1003); +lean_dec(x_1003); +x_1006 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1006, 0, x_15); +lean_ctor_set(x_1006, 1, x_1005); +x_1007 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30; +x_1008 = lean_array_push(x_1007, x_1006); +x_1009 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_1010 = lean_array_push(x_1009, x_994); +x_1011 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_1012 = lean_array_push(x_1010, x_1011); +x_1013 = l_Array_appendCore___rarg(x_1004, x_1012); +lean_dec(x_1012); +x_1014 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1014, 0, x_15); +lean_ctor_set(x_1014, 1, x_1013); +x_1015 = lean_array_push(x_1008, x_1014); +x_1016 = lean_array_push(x_1015, x_996); +x_1017 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_1018 = lean_array_push(x_1016, x_1017); +x_1019 = lean_array_push(x_1018, x_998); +x_1020 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1020, 0, x_4); +lean_ctor_set(x_1020, 1, x_1019); +x_1021 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1021, 0, x_1020); +lean_ctor_set(x_1021, 1, x_3); +return x_1021; +} +} +} +else +{ +lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; +lean_dec(x_984); +x_1022 = lean_unsigned_to_nat(4u); +x_1023 = l_Lean_Syntax_getArg(x_1, x_1022); +x_1024 = lean_unsigned_to_nat(6u); +x_1025 = l_Lean_Syntax_getArg(x_1, x_1024); +lean_dec(x_1); +x_1026 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_1027 = lean_array_push(x_1026, x_982); +x_1028 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1028, 0, x_978); +lean_ctor_set(x_1028, 1, x_1027); +x_1029 = l_Lean_mkOptionalNode___closed__2; +x_1030 = lean_array_push(x_1029, x_1028); +x_1031 = l_Array_empty___closed__1; +x_1032 = l_Array_appendCore___rarg(x_1031, x_1030); +lean_dec(x_1030); +x_1033 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1033, 0, x_15); +lean_ctor_set(x_1033, 1, x_1032); +x_1034 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30; +x_1035 = lean_array_push(x_1034, x_1033); +x_1036 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; +x_1037 = lean_array_push(x_1035, x_1036); +x_1038 = lean_array_push(x_1037, x_1023); +x_1039 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_1040 = lean_array_push(x_1038, x_1039); +x_1041 = lean_array_push(x_1040, x_1025); +x_1042 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1042, 0, x_4); +lean_ctor_set(x_1042, 1, x_1041); +x_1043 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1043, 0, x_1042); +lean_ctor_set(x_1043, 1, x_3); +return x_1043; +} +} +} +} +} +else +{ +lean_object* x_1044; lean_object* x_1045; uint8_t x_1046; +lean_dec(x_967); +x_1044 = lean_unsigned_to_nat(3u); +x_1045 = l_Lean_Syntax_getArg(x_1, x_1044); +x_1046 = l_Lean_Syntax_isNone(x_1045); +if (x_1046 == 0) +{ +uint8_t x_1047; +lean_inc(x_1045); +x_1047 = l_Lean_Syntax_isOfKind(x_1045, x_15); +if (x_1047 == 0) +{ +lean_object* x_1048; lean_object* x_1049; +lean_dec(x_1045); +lean_dec(x_1); +x_1048 = lean_box(1); +x_1049 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1049, 0, x_1048); +lean_ctor_set(x_1049, 1, x_3); +return x_1049; +} +else +{ +lean_object* x_1050; lean_object* x_1051; uint8_t x_1052; +x_1050 = l_Lean_Syntax_getArgs(x_1045); +x_1051 = lean_array_get_size(x_1050); +lean_dec(x_1050); +x_1052 = lean_nat_dec_eq(x_1051, x_1044); +lean_dec(x_1051); +if (x_1052 == 0) +{ +lean_object* x_1053; lean_object* x_1054; +lean_dec(x_1045); +lean_dec(x_1); +x_1053 = lean_box(1); +x_1054 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1054, 0, x_1053); +lean_ctor_set(x_1054, 1, x_3); +return x_1054; +} +else +{ +lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; +x_1055 = l_Lean_Syntax_getArg(x_1045, x_24); +lean_dec(x_1045); +x_1056 = lean_unsigned_to_nat(4u); +x_1057 = l_Lean_Syntax_getArg(x_1, x_1056); +x_1058 = lean_unsigned_to_nat(6u); +x_1059 = l_Lean_Syntax_getArg(x_1, x_1058); +lean_dec(x_1); +x_1060 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__5; +x_1061 = lean_array_push(x_1060, x_1055); +x_1062 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_1063 = lean_array_push(x_1061, x_1062); +x_1064 = l_Array_empty___closed__1; +x_1065 = l_Array_appendCore___rarg(x_1064, x_1063); +lean_dec(x_1063); +x_1066 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1066, 0, x_15); +lean_ctor_set(x_1066, 1, x_1065); +x_1067 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__31; +x_1068 = lean_array_push(x_1067, x_1066); +x_1069 = lean_array_push(x_1068, x_1057); +x_1070 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_1071 = lean_array_push(x_1069, x_1070); +x_1072 = lean_array_push(x_1071, x_1059); +x_1073 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1073, 0, x_4); +lean_ctor_set(x_1073, 1, x_1072); +x_1074 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1074, 0, x_1073); +lean_ctor_set(x_1074, 1, x_3); +return x_1074; +} +} +} +else +{ +lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; +lean_dec(x_1045); +x_1075 = lean_unsigned_to_nat(4u); +x_1076 = l_Lean_Syntax_getArg(x_1, x_1075); +x_1077 = lean_unsigned_to_nat(6u); +x_1078 = l_Lean_Syntax_getArg(x_1, x_1077); +lean_dec(x_1); +x_1079 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__32; +x_1080 = lean_array_push(x_1079, x_1076); +x_1081 = l_myMacro____x40_Init_Notation___hyg_10790____closed__17; +x_1082 = lean_array_push(x_1080, x_1081); +x_1083 = lean_array_push(x_1082, x_1078); +x_1084 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1084, 0, x_4); +lean_ctor_set(x_1084, 1, x_1083); +x_1085 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1085, 0, x_1084); +lean_ctor_set(x_1085, 1, x_3); +return x_1085; +} } } } @@ -24090,84 +26769,26 @@ lean_dec(x_1); return x_2; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { if (lean_obj_tag(x_1) == 0) { -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_4); -switch (x_2) { -case 0: -{ -lean_object* x_9; lean_object* x_10; -lean_dec(x_7); -lean_dec(x_5); -x_9 = lean_box(0); -x_10 = lean_apply_1(x_3, x_9); -return x_10; -} -case 1: -{ -lean_object* x_11; lean_object* x_12; -lean_dec(x_5); -lean_dec(x_3); -x_11 = lean_box(0); -x_12 = lean_apply_1(x_7, x_11); -return x_12; -} -default: -{ -lean_object* x_13; lean_object* x_14; -lean_dec(x_7); -lean_dec(x_3); -x_13 = lean_box(0); -x_14 = lean_apply_1(x_5, x_13); -return x_14; -} -} +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; } else { -lean_dec(x_7); -lean_dec(x_5); +lean_object* x_6; lean_object* x_7; lean_dec(x_3); -switch (x_2) { -case 0: -{ -lean_object* x_15; lean_object* x_16; -lean_dec(x_8); -lean_dec(x_6); -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); lean_dec(x_1); -x_16 = lean_apply_1(x_4, x_15); -return x_16; -} -case 1: -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_6); -lean_dec(x_4); -x_17 = lean_ctor_get(x_1, 0); -lean_inc(x_17); -lean_dec(x_1); -x_18 = lean_apply_1(x_8, x_17); -return x_18; -} -default: -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_8); -lean_dec(x_4); -x_19 = lean_ctor_get(x_1, 0); -lean_inc(x_19); -lean_dec(x_1); -x_20 = lean_apply_1(x_6, x_19); -return x_20; -} -} +x_7 = lean_apply_1(x_2, x_6); +return x_7; } } } @@ -24175,20 +26796,10 @@ lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg), 3, 0); return x_2; } } -lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_2); -lean_dec(x_2); -x_10 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__1___rarg(x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); -return x_10; -} -} lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -24220,6 +26831,150 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Comma return x_2; } } +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__3___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +switch (x_1) { +case 0: +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_box(0); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; +lean_dec(x_3); +lean_dec(x_2); +x_7 = lean_box(0); +x_8 = lean_apply_1(x_4, x_7); +return x_8; +} +default: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_box(0); +x_10 = lean_apply_1(x_3, x_9); +return x_10; +} +} +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4___rarg___boxed), 4, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_1); +lean_dec(x_1); +x_6 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__4___rarg(x_5, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__5___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_2); +x_4 = lean_box(0); +x_5 = lean_apply_1(x_3, x_4); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_1(x_2, x_6); +return x_7; +} +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__5(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__5___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +x_4 = lean_apply_1(x_3, x_1); +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_apply_1(x_2, x_5); +return x_6; +} +} +} +lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__6(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux_match__6___rarg), 3, 0); +return x_2; +} +} lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { @@ -24630,7 +27385,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; -x_2 = l_myMacro____x40_Init_Notation___hyg_521____closed__23; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -24650,7 +27405,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; -x_2 = l_myMacro____x40_Init_Notation___hyg_521____closed__23; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -24670,7 +27425,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__8; -x_2 = l_myMacro____x40_Init_Notation___hyg_521____closed__23; +x_2 = l_Lean_Elab_Command_expandMixfix___lambda__1___closed__11; x_3 = lean_array_push(x_1, x_2); return x_3; } @@ -24687,7 +27442,7 @@ return x_2; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(lean_object* x_1, lean_object* x_2, uint8_t 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; size_t x_12; size_t 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_11; size_t x_12; size_t 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; x_11 = lean_array_get_size(x_6); x_12 = lean_usize_of_nat(x_11); x_13 = 0; @@ -24704,527 +27459,548 @@ x_18 = x_17; lean_inc(x_9); lean_inc(x_8); x_19 = lean_apply_3(x_18, x_8, x_9, x_10); +if (lean_obj_tag(x_5) == 0) +{ if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t 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; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); +lean_object* x_215; lean_object* x_216; lean_object* x_217; +x_215 = lean_ctor_get(x_19, 0); +lean_inc(x_215); +x_216 = lean_ctor_get(x_19, 1); +lean_inc(x_216); lean_dec(x_19); -x_22 = l_term___u2218_____closed__6; -x_23 = l_Lean_mkIdentFrom(x_1, x_22); -x_24 = l_Lean_nullKind; -lean_inc(x_20); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_20); -x_26 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_22, x_25, x_8, x_9, x_21); -lean_dec(x_25); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_unsigned_to_nat(0u); -x_30 = lean_nat_dec_lt(x_29, x_11); -x_31 = lean_box_usize(x_12); -x_32 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; -x_33 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 6, 3); -lean_closure_set(x_33, 0, x_31); -lean_closure_set(x_33, 1, x_32); -lean_closure_set(x_33, 2, x_14); -x_34 = x_33; -lean_inc(x_9); -lean_inc(x_8); -x_35 = lean_apply_3(x_34, x_8, x_9, x_28); -if (x_30 == 0) -{ -lean_object* x_274; -lean_dec(x_11); -lean_dec(x_6); -x_274 = l_Array_empty___closed__1; -x_36 = x_274; -goto block_273; +x_217 = lean_unsigned_to_nat(0u); +x_20 = x_217; +x_21 = x_215; +x_22 = x_216; +goto block_214; } else { -uint8_t x_275; -x_275 = lean_nat_dec_le(x_11, x_11); -lean_dec(x_11); -if (x_275 == 0) -{ -lean_object* x_276; -lean_dec(x_6); -x_276 = l_Array_empty___closed__1; -x_36 = x_276; -goto block_273; -} -else -{ -lean_object* x_277; lean_object* x_278; -x_277 = l_Array_empty___closed__1; -x_278 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_6, x_13, x_12, x_277); -lean_dec(x_6); -x_36 = x_278; -goto block_273; -} -} -block_273: -{ -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_37 = lean_ctor_get(x_35, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); -lean_dec(x_35); -x_39 = lean_array_get_size(x_36); -x_40 = lean_usize_of_nat(x_39); -lean_dec(x_39); -x_41 = x_36; -x_42 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_40, x_13, x_41); -x_43 = x_42; -x_44 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_43, x_7); -lean_dec(x_43); -lean_inc(x_27); -x_45 = l_Lean_Name_append(x_2, x_27); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_37); -if (lean_obj_tag(x_4) == 0) -{ -switch (x_3) { -case 0: -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_47 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_38); -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -x_49 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_48); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = l_Lean_mkIdentFrom(x_1, x_27); -x_52 = l_Array_empty___closed__1; -x_53 = lean_array_push(x_52, x_51); -x_54 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; -x_55 = lean_array_push(x_53, x_54); -x_56 = l_Nat_repr(x_5); -x_57 = l_Lean_numLitKind; -x_58 = l_Lean_instInhabitedSourceInfo___closed__1; -x_59 = l_Lean_Syntax_mkLit(x_57, x_56, x_58); -x_60 = lean_array_push(x_55, x_59); -x_61 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_60); -x_63 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_64 = lean_array_push(x_63, x_62); -x_65 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_66 = lean_array_push(x_64, x_65); -x_67 = l_Lean_nullKind___closed__2; -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__5; -x_70 = lean_array_push(x_69, x_68); -x_71 = l_Array_appendCore___rarg(x_52, x_20); -lean_dec(x_20); -x_72 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_72, 0, x_67); -lean_ctor_set(x_72, 1, x_71); -x_73 = lean_array_push(x_70, x_72); -x_74 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_75 = lean_array_push(x_73, x_74); -x_76 = lean_array_push(x_75, x_23); -x_77 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_76); -x_79 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_52, x_46, x_44, x_78, x_8, x_9, x_50); -lean_dec(x_9); -lean_dec(x_8); -return x_79; -} -case 1: -{ -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; -x_80 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_38); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_81); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = l_Lean_mkIdentFrom(x_1, x_27); -x_85 = l_Array_empty___closed__1; -x_86 = lean_array_push(x_85, x_84); -x_87 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; -x_88 = lean_array_push(x_86, x_87); -x_89 = l_Nat_repr(x_5); -x_90 = l_Lean_numLitKind; -x_91 = l_Lean_instInhabitedSourceInfo___closed__1; -x_92 = l_Lean_Syntax_mkLit(x_90, x_89, x_91); -x_93 = lean_array_push(x_88, x_92); -x_94 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_94); -lean_ctor_set(x_95, 1, x_93); -x_96 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_97 = lean_array_push(x_96, x_95); -x_98 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_99 = lean_array_push(x_97, x_98); -x_100 = l_Lean_nullKind___closed__2; -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; -x_103 = lean_array_push(x_102, x_101); -x_104 = l_Array_appendCore___rarg(x_85, x_20); -lean_dec(x_20); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_100); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_103, x_105); -x_107 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_108 = lean_array_push(x_106, x_107); -x_109 = lean_array_push(x_108, x_23); -x_110 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_110); -lean_ctor_set(x_111, 1, x_109); -x_112 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_85, x_46, x_44, x_111, x_8, x_9, x_83); -lean_dec(x_9); -lean_dec(x_8); -return x_112; -} -default: -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_113 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_38); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_115 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_114); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = l_Lean_mkIdentFrom(x_1, x_27); -x_118 = l_Array_empty___closed__1; -x_119 = lean_array_push(x_118, x_117); -x_120 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; -x_121 = lean_array_push(x_119, x_120); -x_122 = l_Nat_repr(x_5); -x_123 = l_Lean_numLitKind; -x_124 = l_Lean_instInhabitedSourceInfo___closed__1; -x_125 = l_Lean_Syntax_mkLit(x_123, x_122, x_124); -x_126 = lean_array_push(x_121, x_125); -x_127 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_126); -x_129 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_130 = lean_array_push(x_129, x_128); -x_131 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_132 = lean_array_push(x_130, x_131); -x_133 = l_Lean_nullKind___closed__2; -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_132); -x_135 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__9; -x_136 = lean_array_push(x_135, x_134); -x_137 = l_Array_appendCore___rarg(x_118, x_20); -lean_dec(x_20); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_133); -lean_ctor_set(x_138, 1, x_137); -x_139 = lean_array_push(x_136, x_138); -x_140 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_141 = lean_array_push(x_139, x_140); -x_142 = lean_array_push(x_141, x_23); -x_143 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_142); -x_145 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_118, x_46, x_44, x_144, x_8, x_9, x_116); -lean_dec(x_9); -lean_dec(x_8); -return x_145; -} -} -} -else -{ -switch (x_3) { -case 0: -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; -x_146 = lean_ctor_get(x_4, 0); -lean_inc(x_146); -lean_dec(x_4); -x_147 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_38); -x_148 = lean_ctor_get(x_147, 1); -lean_inc(x_148); -lean_dec(x_147); -x_149 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_148); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_151 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_152 = lean_array_push(x_151, x_146); -x_153 = l_Lean_Parser_precedence___elambda__1___closed__2; -x_154 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_154, 0, x_153); -lean_ctor_set(x_154, 1, x_152); -x_155 = l_Array_empty___closed__1; -x_156 = lean_array_push(x_155, x_154); -x_157 = l_Lean_nullKind___closed__2; -x_158 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_158, 0, x_157); -lean_ctor_set(x_158, 1, x_156); -x_159 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; -x_160 = lean_array_push(x_159, x_158); -x_161 = l_Lean_mkIdentFrom(x_1, x_27); -x_162 = lean_array_push(x_155, x_161); -x_163 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; -x_164 = lean_array_push(x_162, x_163); -x_165 = l_Nat_repr(x_5); -x_166 = l_Lean_numLitKind; -x_167 = l_Lean_instInhabitedSourceInfo___closed__1; -x_168 = l_Lean_Syntax_mkLit(x_166, x_165, x_167); -x_169 = lean_array_push(x_164, x_168); -x_170 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; -x_171 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_171, 0, x_170); -lean_ctor_set(x_171, 1, x_169); -x_172 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_173 = lean_array_push(x_172, x_171); -x_174 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_175 = lean_array_push(x_173, x_174); -x_176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_176, 0, x_157); -lean_ctor_set(x_176, 1, x_175); -x_177 = lean_array_push(x_160, x_176); -x_178 = l_Array_appendCore___rarg(x_155, x_20); -lean_dec(x_20); -x_179 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_179, 0, x_157); -lean_ctor_set(x_179, 1, x_178); -x_180 = lean_array_push(x_177, x_179); -x_181 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_182 = lean_array_push(x_180, x_181); -x_183 = lean_array_push(x_182, x_23); -x_184 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_185 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_183); -x_186 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_155, x_46, x_44, x_185, x_8, x_9, x_150); -lean_dec(x_9); -lean_dec(x_8); -return x_186; -} -case 1: -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_187 = lean_ctor_get(x_4, 0); -lean_inc(x_187); -lean_dec(x_4); -x_188 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_38); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_189); -x_191 = lean_ctor_get(x_190, 1); -lean_inc(x_191); -lean_dec(x_190); -x_192 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_193 = lean_array_push(x_192, x_187); -x_194 = l_Lean_Parser_precedence___elambda__1___closed__2; -x_195 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_195, 0, x_194); -lean_ctor_set(x_195, 1, x_193); -x_196 = l_Array_empty___closed__1; -x_197 = lean_array_push(x_196, x_195); -x_198 = l_Lean_nullKind___closed__2; -x_199 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_197); -x_200 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; -x_201 = lean_array_push(x_200, x_199); -x_202 = l_Lean_mkIdentFrom(x_1, x_27); -x_203 = lean_array_push(x_196, x_202); -x_204 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; -x_205 = lean_array_push(x_203, x_204); -x_206 = l_Nat_repr(x_5); -x_207 = l_Lean_numLitKind; -x_208 = l_Lean_instInhabitedSourceInfo___closed__1; -x_209 = l_Lean_Syntax_mkLit(x_207, x_206, x_208); -x_210 = lean_array_push(x_205, x_209); -x_211 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; -x_212 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_212, 0, x_211); -lean_ctor_set(x_212, 1, x_210); -x_213 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_214 = lean_array_push(x_213, x_212); -x_215 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_216 = lean_array_push(x_214, x_215); -x_217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_217, 0, x_198); -lean_ctor_set(x_217, 1, x_216); -x_218 = lean_array_push(x_201, x_217); -x_219 = l_Array_appendCore___rarg(x_196, x_20); -lean_dec(x_20); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_198); -lean_ctor_set(x_220, 1, x_219); -x_221 = lean_array_push(x_218, x_220); -x_222 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_223 = lean_array_push(x_221, x_222); -x_224 = lean_array_push(x_223, x_23); -x_225 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_226 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_226, 0, x_225); -lean_ctor_set(x_226, 1, x_224); -x_227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_196, x_46, x_44, x_226, x_8, x_9, x_191); -lean_dec(x_9); -lean_dec(x_8); -return x_227; -} -default: -{ -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_228 = lean_ctor_get(x_4, 0); -lean_inc(x_228); -lean_dec(x_4); -x_229 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_38); -x_230 = lean_ctor_get(x_229, 1); -lean_inc(x_230); -lean_dec(x_229); -x_231 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_230); -x_232 = lean_ctor_get(x_231, 1); -lean_inc(x_232); -lean_dec(x_231); -x_233 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; -x_234 = lean_array_push(x_233, x_228); -x_235 = l_Lean_Parser_precedence___elambda__1___closed__2; -x_236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_234); -x_237 = l_Array_empty___closed__1; -x_238 = lean_array_push(x_237, x_236); -x_239 = l_Lean_nullKind___closed__2; -x_240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_240, 0, x_239); -lean_ctor_set(x_240, 1, x_238); -x_241 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__8; -x_242 = lean_array_push(x_241, x_240); -x_243 = l_Lean_mkIdentFrom(x_1, x_27); -x_244 = lean_array_push(x_237, x_243); -x_245 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; -x_246 = lean_array_push(x_244, x_245); -x_247 = l_Nat_repr(x_5); -x_248 = l_Lean_numLitKind; -x_249 = l_Lean_instInhabitedSourceInfo___closed__1; -x_250 = l_Lean_Syntax_mkLit(x_248, x_247, x_249); -x_251 = lean_array_push(x_246, x_250); -x_252 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_251); -x_254 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; -x_255 = lean_array_push(x_254, x_253); -x_256 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; -x_257 = lean_array_push(x_255, x_256); -x_258 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_258, 0, x_239); -lean_ctor_set(x_258, 1, x_257); -x_259 = lean_array_push(x_242, x_258); -x_260 = l_Array_appendCore___rarg(x_237, x_20); -lean_dec(x_20); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_239); -lean_ctor_set(x_261, 1, x_260); -x_262 = lean_array_push(x_259, x_261); -x_263 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; -x_264 = lean_array_push(x_262, x_263); -x_265 = lean_array_push(x_264, x_23); -x_266 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; -x_267 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_267, 0, x_266); -lean_ctor_set(x_267, 1, x_265); -x_268 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_237, x_46, x_44, x_267, x_8, x_9, x_232); -lean_dec(x_9); -lean_dec(x_8); -return x_268; -} -} -} -} -else -{ -uint8_t x_269; -lean_dec(x_36); -lean_dec(x_27); -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -x_269 = !lean_is_exclusive(x_35); -if (x_269 == 0) -{ -return x_35; -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_270 = lean_ctor_get(x_35, 0); -x_271 = lean_ctor_get(x_35, 1); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_35); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -return x_272; -} -} -} -} -else -{ -uint8_t x_279; +uint8_t x_218; lean_dec(x_14); lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_4); -x_279 = !lean_is_exclusive(x_19); -if (x_279 == 0) +x_218 = !lean_is_exclusive(x_19); +if (x_218 == 0) { return x_19; } else { -lean_object* x_280; lean_object* x_281; lean_object* x_282; -x_280 = lean_ctor_get(x_19, 0); -x_281 = lean_ctor_get(x_19, 1); -lean_inc(x_281); -lean_inc(x_280); +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_19, 0); +x_220 = lean_ctor_get(x_19, 1); +lean_inc(x_220); +lean_inc(x_219); lean_dec(x_19); -x_282 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_282, 0, x_280); -lean_ctor_set(x_282, 1, x_281); -return x_282; +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +return x_221; +} +} +} +else +{ +lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_222 = lean_ctor_get(x_5, 0); +x_223 = l_Lean_numLitKind; +x_224 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_223, x_222); +if (lean_obj_tag(x_224) == 0) +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_225 = lean_ctor_get(x_19, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_19, 1); +lean_inc(x_226); +lean_dec(x_19); +x_227 = lean_unsigned_to_nat(0u); +x_20 = x_227; +x_21 = x_225; +x_22 = x_226; +goto block_214; +} +else +{ +uint8_t x_228; +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_228 = !lean_is_exclusive(x_19); +if (x_228 == 0) +{ +return x_19; +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_229 = lean_ctor_get(x_19, 0); +x_230 = lean_ctor_get(x_19, 1); +lean_inc(x_230); +lean_inc(x_229); +lean_dec(x_19); +x_231 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_231, 0, x_229); +lean_ctor_set(x_231, 1, x_230); +return x_231; +} +} +} +else +{ +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_232 = lean_ctor_get(x_224, 0); +lean_inc(x_232); +lean_dec(x_224); +x_233 = lean_ctor_get(x_19, 0); +lean_inc(x_233); +x_234 = lean_ctor_get(x_19, 1); +lean_inc(x_234); +lean_dec(x_19); +x_20 = x_232; +x_21 = x_233; +x_22 = x_234; +goto block_214; +} +else +{ +uint8_t x_235; +lean_dec(x_224); +lean_dec(x_14); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_235 = !lean_is_exclusive(x_19); +if (x_235 == 0) +{ +return x_19; +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; +x_236 = lean_ctor_get(x_19, 0); +x_237 = lean_ctor_get(x_19, 1); +lean_inc(x_237); +lean_inc(x_236); +lean_dec(x_19); +x_238 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_238, 0, x_236); +lean_ctor_set(x_238, 1, x_237); +return x_238; +} +} +} +} +block_214: +{ +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; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_23 = l_term___u2218_____closed__6; +x_24 = l_Lean_mkIdentFrom(x_1, x_23); +x_25 = l_Lean_nullKind; +lean_inc(x_21); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_21); +x_27 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_23, x_26, x_8, x_9, x_22); +lean_dec(x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_unsigned_to_nat(0u); +x_31 = lean_nat_dec_lt(x_30, x_11); +x_32 = lean_box_usize(x_12); +x_33 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___boxed__const__1; +x_34 = lean_alloc_closure((void*)(l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__2___boxed), 6, 3); +lean_closure_set(x_34, 0, x_32); +lean_closure_set(x_34, 1, x_33); +lean_closure_set(x_34, 2, x_14); +x_35 = x_34; +lean_inc(x_9); +lean_inc(x_8); +x_36 = lean_apply_3(x_35, x_8, x_9, x_29); +if (x_31 == 0) +{ +lean_object* x_209; +lean_dec(x_11); +lean_dec(x_6); +x_209 = l_Array_empty___closed__1; +x_37 = x_209; +goto block_208; +} +else +{ +uint8_t x_210; +x_210 = lean_nat_dec_le(x_11, x_11); +lean_dec(x_11); +if (x_210 == 0) +{ +lean_object* x_211; +lean_dec(x_6); +x_211 = l_Array_empty___closed__1; +x_37 = x_211; +goto block_208; +} +else +{ +lean_object* x_212; lean_object* x_213; +x_212 = l_Array_empty___closed__1; +x_213 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__4(x_6, x_13, x_12, x_212); +lean_dec(x_6); +x_37 = x_213; +goto block_208; +} +} +block_208: +{ +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; size_t 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; +x_38 = lean_ctor_get(x_36, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); +x_40 = lean_array_get_size(x_37); +x_41 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_42 = x_37; +x_43 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___spec__3(x_41, x_13, x_42); +x_44 = x_43; +x_45 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_antiquote(x_44, x_7); +lean_dec(x_44); +lean_inc(x_28); +x_46 = l_Lean_Name_append(x_2, x_28); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_38); +switch (x_3) { +case 0: +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_48 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_39); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_49); +x_51 = lean_ctor_get(x_50, 1); +lean_inc(x_51); +lean_dec(x_50); +x_52 = l_Lean_mkIdentFrom(x_1, x_28); +x_53 = l_Array_empty___closed__1; +x_54 = lean_array_push(x_53, x_52); +x_55 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; +x_56 = lean_array_push(x_54, x_55); +x_57 = l_Nat_repr(x_20); +x_58 = l_Lean_numLitKind; +x_59 = l_Lean_instInhabitedSourceInfo___closed__1; +x_60 = l_Lean_Syntax_mkLit(x_58, x_57, x_59); +x_61 = lean_array_push(x_56, x_60); +x_62 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_61); +x_64 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; +x_65 = lean_array_push(x_64, x_63); +x_66 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_67 = lean_array_push(x_65, x_66); +x_68 = l_Lean_nullKind___closed__2; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Array_appendCore___rarg(x_53, x_21); +lean_dec(x_21); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_68); +lean_ctor_set(x_71, 1, x_70); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_72 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__5; +x_73 = lean_array_push(x_72, x_69); +x_74 = lean_array_push(x_73, x_71); +x_75 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_76 = lean_array_push(x_74, x_75); +x_77 = lean_array_push(x_76, x_24); +x_78 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_77); +x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_53, x_47, x_45, x_79, x_8, x_9, x_51); +lean_dec(x_9); +lean_dec(x_8); +return x_80; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_81 = lean_ctor_get(x_4, 0); +lean_inc(x_81); +lean_dec(x_4); +x_82 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_83 = lean_array_push(x_82, x_81); +x_84 = l_Lean_Parser_precedence___elambda__1___closed__2; +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_Lean_mkOptionalNode___closed__2; +x_87 = lean_array_push(x_86, x_85); +x_88 = l_Array_appendCore___rarg(x_53, x_87); +lean_dec(x_87); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_68); +lean_ctor_set(x_89, 1, x_88); +x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__4; +x_91 = lean_array_push(x_90, x_89); +x_92 = lean_array_push(x_91, x_69); +x_93 = lean_array_push(x_92, x_71); +x_94 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_95 = lean_array_push(x_93, x_94); +x_96 = lean_array_push(x_95, x_24); +x_97 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_96); +x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_53, x_47, x_45, x_98, x_8, x_9, x_51); +lean_dec(x_9); +lean_dec(x_8); +return x_99; +} +} +case 1: +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_100 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_39); +x_101 = lean_ctor_get(x_100, 1); +lean_inc(x_101); +lean_dec(x_100); +x_102 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_101); +x_103 = lean_ctor_get(x_102, 1); +lean_inc(x_103); +lean_dec(x_102); +x_104 = l_Lean_mkIdentFrom(x_1, x_28); +x_105 = l_Array_empty___closed__1; +x_106 = lean_array_push(x_105, x_104); +x_107 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; +x_108 = lean_array_push(x_106, x_107); +x_109 = l_Nat_repr(x_20); +x_110 = l_Lean_numLitKind; +x_111 = l_Lean_instInhabitedSourceInfo___closed__1; +x_112 = l_Lean_Syntax_mkLit(x_110, x_109, x_111); +x_113 = lean_array_push(x_108, x_112); +x_114 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; +x_117 = lean_array_push(x_116, x_115); +x_118 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_119 = lean_array_push(x_117, x_118); +x_120 = l_Lean_nullKind___closed__2; +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_120); +lean_ctor_set(x_121, 1, x_119); +x_122 = l_Array_appendCore___rarg(x_105, x_21); +lean_dec(x_21); +x_123 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_122); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_124 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__7; +x_125 = lean_array_push(x_124, x_121); +x_126 = lean_array_push(x_125, x_123); +x_127 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_128 = lean_array_push(x_126, x_127); +x_129 = lean_array_push(x_128, x_24); +x_130 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_131 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_131, 0, x_130); +lean_ctor_set(x_131, 1, x_129); +x_132 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_105, x_47, x_45, x_131, x_8, x_9, x_103); +lean_dec(x_9); +lean_dec(x_8); +return x_132; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_133 = lean_ctor_get(x_4, 0); +lean_inc(x_133); +lean_dec(x_4); +x_134 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_135 = lean_array_push(x_134, x_133); +x_136 = l_Lean_Parser_precedence___elambda__1___closed__2; +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_135); +x_138 = l_Lean_mkOptionalNode___closed__2; +x_139 = lean_array_push(x_138, x_137); +x_140 = l_Array_appendCore___rarg(x_105, x_139); +lean_dec(x_139); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_120); +lean_ctor_set(x_141, 1, x_140); +x_142 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__6; +x_143 = lean_array_push(x_142, x_141); +x_144 = lean_array_push(x_143, x_121); +x_145 = lean_array_push(x_144, x_123); +x_146 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_147 = lean_array_push(x_145, x_146); +x_148 = lean_array_push(x_147, x_24); +x_149 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_150 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_150, 0, x_149); +lean_ctor_set(x_150, 1, x_148); +x_151 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_105, x_47, x_45, x_150, x_8, x_9, x_103); +lean_dec(x_9); +lean_dec(x_8); +return x_151; +} +} +default: +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_152 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_39); +x_153 = lean_ctor_get(x_152, 1); +lean_inc(x_153); +lean_dec(x_152); +x_154 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_153); +x_155 = lean_ctor_get(x_154, 1); +lean_inc(x_155); +lean_dec(x_154); +x_156 = l_Lean_mkIdentFrom(x_1, x_28); +x_157 = l_Array_empty___closed__1; +x_158 = lean_array_push(x_157, x_156); +x_159 = l_myMacro____x40_Init_Notation___hyg_376____closed__8; +x_160 = lean_array_push(x_158, x_159); +x_161 = l_Nat_repr(x_20); +x_162 = l_Lean_numLitKind; +x_163 = l_Lean_instInhabitedSourceInfo___closed__1; +x_164 = l_Lean_Syntax_mkLit(x_162, x_161, x_163); +x_165 = lean_array_push(x_160, x_164); +x_166 = l_Lean_Parser_Command_parserKindPrio___elambda__1___closed__2; +x_167 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_165); +x_168 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__9; +x_169 = lean_array_push(x_168, x_167); +x_170 = l_myMacro____x40_Init_Data_Array_Basic___hyg_3404____closed__10; +x_171 = lean_array_push(x_169, x_170); +x_172 = l_Lean_nullKind___closed__2; +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_172); +lean_ctor_set(x_173, 1, x_171); +x_174 = l_Array_appendCore___rarg(x_157, x_21); +lean_dec(x_21); +x_175 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_175, 0, x_172); +lean_ctor_set(x_175, 1, x_174); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_176 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__9; +x_177 = lean_array_push(x_176, x_173); +x_178 = lean_array_push(x_177, x_175); +x_179 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_180 = lean_array_push(x_178, x_179); +x_181 = lean_array_push(x_180, x_24); +x_182 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_183 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_181); +x_184 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_157, x_47, x_45, x_183, x_8, x_9, x_155); +lean_dec(x_9); +lean_dec(x_8); +return x_184; +} +else +{ +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_185 = lean_ctor_get(x_4, 0); +lean_inc(x_185); +lean_dec(x_4); +x_186 = l_myMacro____x40_Init_Notation___hyg_12176____closed__11; +x_187 = lean_array_push(x_186, x_185); +x_188 = l_Lean_Parser_precedence___elambda__1___closed__2; +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_187); +x_190 = l_Lean_mkOptionalNode___closed__2; +x_191 = lean_array_push(x_190, x_189); +x_192 = l_Array_appendCore___rarg(x_157, x_191); +lean_dec(x_191); +x_193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_193, 0, x_172); +lean_ctor_set(x_193, 1, x_192); +x_194 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___closed__8; +x_195 = lean_array_push(x_194, x_193); +x_196 = lean_array_push(x_195, x_173); +x_197 = lean_array_push(x_196, x_175); +x_198 = l_myMacro____x40_Init_Notation___hyg_12176____closed__10; +x_199 = lean_array_push(x_197, x_198); +x_200 = lean_array_push(x_199, x_24); +x_201 = l_Lean_Parser_Command_syntax___elambda__1___closed__1; +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux___lambda__1(x_157, x_47, x_45, x_202, x_8, x_9, x_155); +lean_dec(x_9); +lean_dec(x_8); +return x_203; +} +} +} +} +else +{ +uint8_t x_204; +lean_dec(x_37); +lean_dec(x_28); +lean_dec(x_24); +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_204 = !lean_is_exclusive(x_36); +if (x_204 == 0) +{ +return x_36; +} +else +{ +lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_205 = lean_ctor_get(x_36, 0); +x_206 = lean_ctor_get(x_36, 1); +lean_inc(x_206); +lean_inc(x_205); +lean_dec(x_36); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_205); +lean_ctor_set(x_207, 1, x_206); +return x_207; +} +} } } } @@ -25299,6 +28075,7 @@ uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_3); lean_dec(x_3); x_12 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); return x_12; @@ -25411,37 +28188,37 @@ else lean_object* x_31; lean_object* x_32; uint8_t x_33; x_31 = lean_unsigned_to_nat(2u); x_32 = l_Lean_Syntax_getArg(x_11, x_31); -lean_inc(x_32); -x_33 = l_Lean_Syntax_isOfKind(x_32, x_24); +x_33 = l_Lean_Syntax_isNone(x_32); if (x_33 == 0) { -lean_object* x_34; +uint8_t x_34; +lean_inc(x_32); +x_34 = l_Lean_Syntax_isOfKind(x_32, x_24); +if (x_34 == 0) +{ +lean_object* x_35; lean_dec(x_32); lean_dec(x_15); lean_dec(x_11); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_34 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); -return x_34; +x_35 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); +return x_35; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = l_Lean_Syntax_getArgs(x_32); -x_36 = lean_array_get_size(x_35); -lean_dec(x_35); -x_37 = lean_unsigned_to_nat(1u); -x_38 = lean_nat_dec_eq(x_36, x_37); -if (x_38 == 0) -{ -uint8_t x_39; -lean_dec(x_32); -x_39 = lean_nat_dec_eq(x_36, x_5); +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = l_Lean_Syntax_getArgs(x_32); +x_37 = lean_array_get_size(x_36); lean_dec(x_36); +x_38 = lean_unsigned_to_nat(1u); +x_39 = lean_nat_dec_eq(x_37, x_38); +lean_dec(x_37); if (x_39 == 0) { lean_object* x_40; +lean_dec(x_32); lean_dec(x_15); lean_dec(x_11); lean_dec(x_8); @@ -25452,146 +28229,155 @@ return x_40; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_65; -x_41 = lean_unsigned_to_nat(3u); -x_42 = l_Lean_Syntax_getArg(x_11, x_41); -lean_inc(x_42); -x_65 = l_Lean_Syntax_isOfKind(x_42, x_24); -if (x_65 == 0) +lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_41 = l_Lean_Syntax_getArg(x_32, x_5); +lean_dec(x_32); +x_42 = l_Lean_Parser_precedence___elambda__1___closed__2; +lean_inc(x_41); +x_43 = l_Lean_Syntax_isOfKind(x_41, x_42); +if (x_43 == 0) { -lean_object* x_66; -x_66 = lean_box(0); -x_43 = x_66; -goto block_64; -} -else -{ -lean_object* x_67; lean_object* x_68; uint8_t x_69; -x_67 = l_Lean_Syntax_getArgs(x_42); -x_68 = lean_array_get_size(x_67); -lean_dec(x_67); -x_69 = lean_nat_dec_eq(x_68, x_5); -lean_dec(x_68); -if (x_69 == 0) -{ -lean_object* x_70; -x_70 = lean_box(0); -x_43 = x_70; -goto block_64; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; -lean_dec(x_42); -x_71 = lean_unsigned_to_nat(4u); -x_72 = l_Lean_Syntax_getArg(x_11, x_71); -x_73 = lean_unsigned_to_nat(6u); -x_74 = l_Lean_Syntax_getArg(x_11, x_73); -x_75 = l_Lean_Syntax_getArgs(x_72); -lean_dec(x_72); -x_76 = lean_box(0); -x_77 = lean_unbox(x_8); -lean_dec(x_8); -x_78 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_77, x_76, x_5, x_75, x_74, x_2, x_3, x_14); -lean_dec(x_15); -lean_dec(x_11); -return x_78; -} -} -block_64: -{ -uint8_t x_44; -lean_dec(x_43); -lean_inc(x_42); -x_44 = l_Lean_Syntax_isOfKind(x_42, x_24); -if (x_44 == 0) -{ -lean_object* x_45; -lean_dec(x_42); +lean_object* x_44; +lean_dec(x_41); lean_dec(x_15); lean_dec(x_11); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_45 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); -return x_45; +x_44 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); +return x_44; } else { -lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_46 = l_Lean_Syntax_getArgs(x_42); -x_47 = lean_array_get_size(x_46); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_45 = l_Lean_Syntax_getArg(x_41, x_38); +lean_dec(x_41); +x_46 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_46, 0, x_45); +x_47 = lean_unsigned_to_nat(3u); +x_48 = l_Lean_Syntax_getArg(x_11, x_47); +x_49 = l_Lean_Syntax_isNone(x_48); +if (x_49 == 0) +{ +uint8_t x_50; +lean_inc(x_48); +x_50 = l_Lean_Syntax_isOfKind(x_48, x_24); +if (x_50 == 0) +{ +lean_object* x_51; +lean_dec(x_48); lean_dec(x_46); -x_48 = lean_nat_dec_eq(x_47, x_41); -lean_dec(x_47); -if (x_48 == 0) -{ -lean_object* x_49; -lean_dec(x_42); lean_dec(x_15); lean_dec(x_11); lean_dec(x_8); lean_dec(x_3); lean_dec(x_2); -x_49 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); -return x_49; +x_51 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); +return x_51; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_50 = l_Lean_Syntax_getArg(x_42, x_37); -lean_dec(x_42); -x_51 = lean_unsigned_to_nat(4u); -x_52 = l_Lean_Syntax_getArg(x_11, x_51); -x_53 = lean_unsigned_to_nat(6u); -x_54 = l_Lean_Syntax_getArg(x_11, x_53); -x_55 = l_Lean_Syntax_getArgs(x_52); +lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_52 = l_Lean_Syntax_getArgs(x_48); +x_53 = lean_array_get_size(x_52); lean_dec(x_52); -x_56 = lean_box(0); -x_57 = l_Lean_numLitKind; -x_58 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_57, x_50); -lean_dec(x_50); -if (lean_obj_tag(x_58) == 0) +x_54 = lean_nat_dec_eq(x_53, x_47); +lean_dec(x_53); +if (x_54 == 0) { -uint8_t x_59; lean_object* x_60; -x_59 = lean_unbox(x_8); -lean_dec(x_8); -x_60 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_59, x_56, x_5, x_55, x_54, x_2, x_3, x_14); +lean_object* x_55; +lean_dec(x_48); +lean_dec(x_46); lean_dec(x_15); lean_dec(x_11); -return x_60; +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_55 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); +return x_55; } else { -lean_object* x_61; uint8_t x_62; lean_object* x_63; -x_61 = lean_ctor_get(x_58, 0); -lean_inc(x_61); -lean_dec(x_58); -x_62 = lean_unbox(x_8); +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; uint8_t x_63; lean_object* x_64; +x_56 = l_Lean_Syntax_getArg(x_48, x_38); +lean_dec(x_48); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_unsigned_to_nat(4u); +x_59 = l_Lean_Syntax_getArg(x_11, x_58); +x_60 = lean_unsigned_to_nat(6u); +x_61 = l_Lean_Syntax_getArg(x_11, x_60); +x_62 = l_Lean_Syntax_getArgs(x_59); +lean_dec(x_59); +x_63 = lean_unbox(x_8); lean_dec(x_8); -x_63 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_62, x_56, x_61, x_55, x_54, x_2, x_3, x_14); +x_64 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_63, x_46, x_57, x_62, x_61, x_2, x_3, x_14); +lean_dec(x_57); lean_dec(x_15); lean_dec(x_11); -return x_63; +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; +lean_dec(x_48); +x_65 = lean_box(0); +x_66 = lean_unsigned_to_nat(4u); +x_67 = l_Lean_Syntax_getArg(x_11, x_66); +x_68 = lean_unsigned_to_nat(6u); +x_69 = l_Lean_Syntax_getArg(x_11, x_68); +x_70 = l_Lean_Syntax_getArgs(x_67); +lean_dec(x_67); +x_71 = lean_unbox(x_8); +lean_dec(x_8); +x_72 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_71, x_46, x_65, x_70, x_69, x_2, x_3, x_14); +lean_dec(x_15); +lean_dec(x_11); +return x_72; } } } } } +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; +lean_dec(x_32); +x_73 = lean_box(0); +x_74 = lean_unsigned_to_nat(3u); +x_75 = l_Lean_Syntax_getArg(x_11, x_74); +x_76 = l_Lean_Syntax_isNone(x_75); +if (x_76 == 0) +{ +uint8_t x_77; +lean_inc(x_75); +x_77 = l_Lean_Syntax_isOfKind(x_75, x_24); +if (x_77 == 0) +{ +lean_object* x_78; +lean_dec(x_75); +lean_dec(x_15); +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +x_78 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); +return x_78; } else { lean_object* x_79; lean_object* x_80; uint8_t x_81; -lean_dec(x_36); -x_79 = l_Lean_Syntax_getArg(x_32, x_5); -lean_dec(x_32); -x_80 = l_Lean_Parser_precedence___elambda__1___closed__2; -lean_inc(x_79); -x_81 = l_Lean_Syntax_isOfKind(x_79, x_80); +x_79 = l_Lean_Syntax_getArgs(x_75); +x_80 = lean_array_get_size(x_79); +lean_dec(x_79); +x_81 = lean_nat_dec_eq(x_80, x_74); +lean_dec(x_80); if (x_81 == 0) { lean_object* x_82; -lean_dec(x_79); +lean_dec(x_75); lean_dec(x_15); lean_dec(x_11); lean_dec(x_8); @@ -25602,138 +28388,44 @@ return x_82; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_108; -x_83 = l_Lean_Syntax_getArg(x_79, x_37); -lean_dec(x_79); -x_84 = lean_unsigned_to_nat(3u); -x_85 = l_Lean_Syntax_getArg(x_11, x_84); -lean_inc(x_85); -x_108 = l_Lean_Syntax_isOfKind(x_85, x_24); -if (x_108 == 0) -{ -lean_object* x_109; -x_109 = lean_box(0); -x_86 = x_109; -goto block_107; -} -else -{ -lean_object* x_110; lean_object* x_111; uint8_t x_112; -x_110 = l_Lean_Syntax_getArgs(x_85); -x_111 = lean_array_get_size(x_110); -lean_dec(x_110); -x_112 = lean_nat_dec_eq(x_111, x_5); -lean_dec(x_111); -if (x_112 == 0) -{ -lean_object* x_113; -x_113 = lean_box(0); -x_86 = x_113; -goto block_107; -} -else -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; -lean_dec(x_85); -x_114 = lean_unsigned_to_nat(4u); -x_115 = l_Lean_Syntax_getArg(x_11, x_114); -x_116 = lean_unsigned_to_nat(6u); -x_117 = l_Lean_Syntax_getArg(x_11, x_116); -x_118 = l_Lean_Syntax_getArgs(x_115); -lean_dec(x_115); -x_119 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_119, 0, x_83); -x_120 = lean_unbox(x_8); +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; uint8_t x_91; lean_object* x_92; +x_83 = lean_unsigned_to_nat(1u); +x_84 = l_Lean_Syntax_getArg(x_75, x_83); +lean_dec(x_75); +x_85 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_85, 0, x_84); +x_86 = lean_unsigned_to_nat(4u); +x_87 = l_Lean_Syntax_getArg(x_11, x_86); +x_88 = lean_unsigned_to_nat(6u); +x_89 = l_Lean_Syntax_getArg(x_11, x_88); +x_90 = l_Lean_Syntax_getArgs(x_87); +lean_dec(x_87); +x_91 = lean_unbox(x_8); lean_dec(x_8); -x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_120, x_119, x_5, x_118, x_117, x_2, x_3, x_14); +x_92 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_91, x_73, x_85, x_90, x_89, x_2, x_3, x_14); +lean_dec(x_85); lean_dec(x_15); lean_dec(x_11); -return x_121; -} -} -block_107: -{ -uint8_t x_87; -lean_dec(x_86); -lean_inc(x_85); -x_87 = l_Lean_Syntax_isOfKind(x_85, x_24); -if (x_87 == 0) -{ -lean_object* x_88; -lean_dec(x_85); -lean_dec(x_83); -lean_dec(x_15); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_88 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); -return x_88; -} -else -{ -lean_object* x_89; lean_object* x_90; uint8_t x_91; -x_89 = l_Lean_Syntax_getArgs(x_85); -x_90 = lean_array_get_size(x_89); -lean_dec(x_89); -x_91 = lean_nat_dec_eq(x_90, x_84); -lean_dec(x_90); -if (x_91 == 0) -{ -lean_object* x_92; -lean_dec(x_85); -lean_dec(x_83); -lean_dec(x_15); -lean_dec(x_11); -lean_dec(x_8); -lean_dec(x_3); -lean_dec(x_2); -x_92 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__8___rarg(x_14); return x_92; } +} +} else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_93 = l_Lean_Syntax_getArg(x_85, x_37); -lean_dec(x_85); -x_94 = lean_unsigned_to_nat(4u); -x_95 = l_Lean_Syntax_getArg(x_11, x_94); -x_96 = lean_unsigned_to_nat(6u); -x_97 = l_Lean_Syntax_getArg(x_11, x_96); -x_98 = l_Lean_Syntax_getArgs(x_95); -lean_dec(x_95); -x_99 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_99, 0, x_83); -x_100 = l_Lean_numLitKind; -x_101 = l___private_Init_Meta_0__Lean_Syntax_isNatLitAux(x_100, x_93); -lean_dec(x_93); -if (lean_obj_tag(x_101) == 0) -{ -uint8_t x_102; lean_object* x_103; -x_102 = lean_unbox(x_8); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; +lean_dec(x_75); +x_93 = lean_unsigned_to_nat(4u); +x_94 = l_Lean_Syntax_getArg(x_11, x_93); +x_95 = lean_unsigned_to_nat(6u); +x_96 = l_Lean_Syntax_getArg(x_11, x_95); +x_97 = l_Lean_Syntax_getArgs(x_94); +lean_dec(x_94); +x_98 = lean_unbox(x_8); lean_dec(x_8); -x_103 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_102, x_99, x_5, x_98, x_97, x_2, x_3, x_14); +x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_98, x_73, x_73, x_97, x_96, x_2, x_3, x_14); lean_dec(x_15); lean_dec(x_11); -return x_103; -} -else -{ -lean_object* x_104; uint8_t x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_101, 0); -lean_inc(x_104); -lean_dec(x_101); -x_105 = lean_unbox(x_8); -lean_dec(x_8); -x_106 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_expandNotationAux(x_11, x_15, x_105, x_99, x_104, x_98, x_97, x_2, x_3, x_14); -lean_dec(x_15); -lean_dec(x_11); -return x_106; -} -} -} -} -} +return x_99; } } } @@ -25743,27 +28435,27 @@ return x_106; } else { -uint8_t x_122; +uint8_t x_100; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_122 = !lean_is_exclusive(x_7); -if (x_122 == 0) +x_100 = !lean_is_exclusive(x_7); +if (x_100 == 0) { return x_7; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_ctor_get(x_7, 0); -x_124 = lean_ctor_get(x_7, 1); -lean_inc(x_124); -lean_inc(x_123); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_7, 0); +x_102 = lean_ctor_get(x_7, 1); +lean_inc(x_102); +lean_inc(x_101); lean_dec(x_7); -x_125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_125, 0, x_123); -lean_ctor_set(x_125, 1, x_124); -return x_125; +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } } @@ -27584,7 +30276,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_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -27594,11 +30286,11 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665_(lean_object* x_1) { +lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772____closed__1; x_3 = l_Lean_registerTraceClass(x_2, x_1); return x_3; } @@ -31879,6 +34571,30 @@ l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19 = _init_l_Lean_Elab_Co lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__19); l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__20); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__21); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__22); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__23); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__24); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__25); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__26); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__27); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__28); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__29 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__29(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__29); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__30); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__31 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__31(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__31); +l_Lean_Elab_Command_expandMixfix___lambda__1___closed__32 = _init_l_Lean_Elab_Command_expandMixfix___lambda__1___closed__32(); +lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___lambda__1___closed__32); l_Lean_Elab_Command_expandMixfix___closed__1 = _init_l_Lean_Elab_Command_expandMixfix___closed__1(); lean_mark_persistent(l_Lean_Elab_Command_expandMixfix___closed__1); l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1 = _init_l___regBuiltin_Lean_Elab_Command_expandMixfix___closed__1(); @@ -31984,9 +34700,9 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Command_elabMacro___closed__1); res = l___regBuiltin_Lean_Elab_Command_elabMacro(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_14665_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_17772_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Command_withExpectedType___closed__1 = _init_l_Lean_Elab_Command_withExpectedType___closed__1(); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index 2875ca9c6b..be33f4382a 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -316,7 +316,6 @@ lean_object* lean_level_update_max(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getPostponed___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instMetaEvalMetaM___rarg___closed__2; lean_object* l_Lean_Meta_isDefEqStuckExceptionId; -lean_object* l_Lean_Meta_isClass_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkArrow___closed__2; uint8_t l_Lean_Expr_hasExprMVar(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewFVar_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -483,6 +482,7 @@ lean_object* l_Lean_Meta_isDelayedAssigned___boxed(lean_object*, lean_object*, l lean_object* l_Lean_Meta_approxDefEq(lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getConstTemp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_shouldReduceReducibleOnly___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls(lean_object*); uint8_t l_Lean_Meta_Config_foApprox___default; @@ -540,7 +540,6 @@ lean_object* l_Lean_Meta_withAtLeastTransparency___rarg___lambda__1(uint8_t, lea lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withAtLeastTransparency___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_isClass_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_throwUnknownFVar___rarg___closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_instantiateForallAux_match__1(lean_object*); lean_object* l_Lean_MetavarContext_addExprMVarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); @@ -766,10 +765,12 @@ lean_object* l_Lean_Meta_mapError___rarg___lambda__1(lean_object*, lean_object*, lean_object* l_Lean_Meta_forallTelescopeReducing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkFreshLevelMVar___boxed(lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_getDefInfoTemp_match__1(lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1(lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instInhabitedMetaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp(lean_object*); lean_object* l_Lean_mkFreshId___at_Lean_Meta_mkFreshExprMVarAt___spec__1___rarg___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_lambdaTelescopeImp_process___rarg___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___private_Lean_Meta_Basic_0__Lean_Meta_instantiateLambdaAux_match__1(lean_object*); @@ -17605,7 +17606,7 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_isClas return x_2; } } -lean_object* l_Lean_Meta_isClass_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { switch (lean_obj_tag(x_1)) { @@ -17641,11 +17642,11 @@ return x_10; } } } -lean_object* l_Lean_Meta_isClass_x3f_match__1(lean_object* x_1) { +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_isClass_x3f_match__1___rarg), 4, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f_match__1___rarg), 4, 0); return x_2; } } @@ -18728,7 +18729,7 @@ x_11 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux___ return x_11; } } -lean_object* l_Lean_Meta_isClass_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -18850,6 +18851,44 @@ return x_28; } } } +lean_object* l_Lean_Meta_isClass_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Meta_Basic_0__Lean_Meta_isClassImp_x3f(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) +{ +return x_7; +} +else +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_dec(x_9); +x_10 = lean_box(0); +lean_ctor_set_tag(x_7, 0); +lean_ctor_set(x_7, 0, x_10); +return x_7; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_7, 1); +lean_inc(x_11); +lean_dec(x_7); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +} +} lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withNewLocalInstancesImpAux___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: {