diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index b0be3e21c3..49f6a3861c 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -107,6 +107,12 @@ macro_rules | `({ $x : $type // $p }) => `(Subtype (fun ($x:ident : $type) => $p)) | `({ $x // $p }) => `(Subtype (fun ($x:ident : _) => $p)) +/- + `withoutExpected! t` instructs Lean to elaborate `t` without an expected type. + Recall that terms such as `match ... with ...` and `⟨...⟩` will postpone elaboration until + expected type is known. So, `withoutExpected!` is not effective in this case. -/ +macro "withoutExpectedType! " x:term : term => `(let aux := $x; aux) + namespace Lean.Parser.Tactic syntax[intro] "intro " notFollowedBy("|") (colGt term:max)* : tactic diff --git a/stage0/src/Lean/Elab/App.lean b/stage0/src/Lean/Elab/App.lean index 825cf8f3b3..79d3948b1a 100644 --- a/stage0/src/Lean/Elab/App.lean +++ b/stage0/src/Lean/Elab/App.lean @@ -93,8 +93,7 @@ structure State := (etaArgs : Array Expr := #[]) (toSetErrorCtx : Array MVarId := #[]) -- metavariables that we need the set the error context using the application being built (instMVars : Array MVarId := #[]) -- metavariables for the instance implicit arguments that have already been processed - -- The following two fields are used to implement the `propagateExpectedType` heuristic. - (typeMVars : Array MVarId := #[]) -- metavariables for implicit arguments of the form `{α : Sort u}` that have already been processed + -- The following field is used to implement the `propagateExpectedType` heuristic. (alreadyPropagated : Bool := false) -- true when expectedType has already been propagated abbrev M := StateRefT State TermElabM @@ -153,12 +152,6 @@ def eraseNamedArgCore (namedArgs : List NamedArg) (binderName : Name) : List Nam def eraseNamedArg (binderName : Name) : M Unit := modify fun s => { s with namedArgs := eraseNamedArgCore s.namedArgs binderName } -/- Return true if the next argument at `args` is of the form `_` -/ -private def isNextArgHole : M Bool := do - match (← get).args with - | Arg.stx (Syntax.node `Lean.Parser.Term.hole _) :: _ => pure true - | _ => pure false - /- Add a new argument to the result. That is, `f := f arg`, update `fType`. This method assumes `fType` is a function type. -/ @@ -192,23 +185,34 @@ private def fTypeHasOptAutoParams : M Bool := do hasOptAutoParams (← get).fType /- Auxiliary function for retrieving the resulting type of a function application. - See `propagateExpectedType`. -/ -private partial def getForallBody : Nat → List NamedArg → Expr → Option Expr + See `propagateExpectedType`. + + Remark: `(explicit : Bool) == true` when `@` modifier is used. -/ +private partial def getForallBody (explicit : Bool) : Nat → List NamedArg → Expr → Option Expr | i, namedArgs, type@(Expr.forallE n d b c) => match namedArgs.find? fun (namedArg : NamedArg) => namedArg.name == n with - | some _ => getForallBody i (eraseNamedArgCore namedArgs n) b + | some _ => getForallBody explicit i (eraseNamedArgCore namedArgs n) b | none => - if !c.binderInfo.isExplicit then - getForallBody i namedArgs b + if !explicit && !c.binderInfo.isExplicit then + getForallBody explicit i namedArgs b else if i > 0 then - getForallBody (i-1) namedArgs b + getForallBody explicit (i-1) namedArgs b else if d.isAutoParam || d.isOptParam then - getForallBody i namedArgs b + getForallBody explicit i namedArgs b else some type | 0, [], type => some type | _, _, _ => none +private def shouldPropagateExpectedTypeFor (nextArg : Arg) : Bool := + match nextArg with + | Arg.expr _ => false -- it has already been elaborated + | Arg.stx stx => + -- TODO: make this configurable? + stx.getKind != `Lean.Parser.Term.hole && + stx.getKind != `Lean.Parser.Term.syntheticHole && + stx.getKind != `Lean.Parser.Term.byTactic + /- Auxiliary method for propagating the expected type. We call it as soon as we find the first explict argument. The goal is to propagate the expected type in applications of functions such as @@ -236,67 +240,56 @@ private partial def getForallBody : Nat → List NamedArg → Expr → Option Ex is produced. The method will do nothing if - 1- The resultant type depends on the remaining arguments (i.e., `!eTypeBody.hasLooseBVars`) - 2- The resultant type does not contain any type metavariable. - 3- The resultant type contains a nontype metavariable. + 1- The resultant type depends on the remaining arguments (i.e., `!eTypeBody.hasLooseBVars`). + 2- The resultant type contains optional/auto params. - We added conditions 2&3 to be able to restrict this method to simple functions that are "morally" in - the Hindley&Milner fragment. - For example, consider the following definitions - ``` - def foo {n m : Nat} (a : bv n) (b : bv m) : bv (n - m) - ``` - Now, consider - ``` - def test (x1 : bv 32) (x2 : bv 31) (y1 : bv 64) (y2 : bv 63) : bv 1 := - foo x1 x2 = foo y1 y2 - ``` - When the elaborator reaches the term `foo y1 y2`, the expected type is `bv (32-31)`. - If we apply this method, we would solve the unification problem `bv (?n - ?m) =?= bv (32 - 31)`, - by assigning `?n := 32` and `?m := 31`. Then, the elaborator fails elaborating `y1` since - `bv 64` is **not** definitionally equal to `bv 32`. + We have considered adding the following extra conditions + a) The resultant type does not contain any type metavariable. + b) The resultant type contains a nontype metavariable. + + These two conditions would restrict the method to simple functions that are "morally" in + the Hindley&Milner fragment. + If users need to disable expected type propagation, we can add an attribute `[elabWithoutExpectedType]`. -/ -private def propagateExpectedType : M Unit := do - let s ← get - -- TODO: handle s.etaArgs.size > 0 - unless s.explicit || !s.etaArgs.isEmpty || s.alreadyPropagated || s.typeMVars.isEmpty do - match s.expectedType? with - | none => pure () - | some expectedType => - /- We don't propagate `Prop` because we often use `Prop` as a more general "Bool" (e.g., `if-then-else`). - If we propagate `expectedType == Prop` in the following examples, the elaborator would fail - ``` - def f1 (s : Nat × Bool) : Bool := if s.2 then false else true +private def propagateExpectedType (arg : Arg) : M Unit := do + if shouldPropagateExpectedTypeFor arg then + let s ← get + -- TODO: handle s.etaArgs.size > 0 + unless !s.etaArgs.isEmpty || s.alreadyPropagated do + match s.expectedType? with + | none => pure () + | some expectedType => + /- We don't propagate `Prop` because we often use `Prop` as a more general "Bool" (e.g., `if-then-else`). + If we propagate `expectedType == Prop` in the following examples, the elaborator would fail + ``` + def f1 (s : Nat × Bool) : Bool := if s.2 then false else true - def f2 (s : List Bool) : Bool := if s.head! then false else true + def f2 (s : List Bool) : Bool := if s.head! then false else true - def f3 (s : List Bool) : Bool := if List.head! (s.map not) then false else true - ``` - They would all fail for the same reason. So, let's focus on the first one. - We would elaborate `s.2` with `expectedType == Prop`. - Before we elaborate `s`, this method would be invoked, and `s.fType` is `?α × ?β → ?β` and after - propagation we would have `?α × Prop → Prop`. Then, when we would try to elaborate `s`, and - get a type error because `?α × Prop` cannot be unified with `Nat × Bool` - Most users would have a hard time trying to understand why these examples failed. + def f3 (s : List Bool) : Bool := if List.head! (s.map not) then false else true + ``` + They would all fail for the same reason. So, let's focus on the first one. + We would elaborate `s.2` with `expectedType == Prop`. + Before we elaborate `s`, this method would be invoked, and `s.fType` is `?α × ?β → ?β` and after + propagation we would have `?α × Prop → Prop`. Then, when we would try to elaborate `s`, and + get a type error because `?α × Prop` cannot be unified with `Nat × Bool` + Most users would have a hard time trying to understand why these examples failed. - Here is a possible alternative workarounds. We give up the idea of using `Prop` at `if-then-else`. - Drawback: users use `if-then-else` with conditions that are not Decidable. - So, users would have to embrace `propDecidable` and `choice`. - This may not be that bad since the developers and users don't seem to care about constructivism. + Here is a possible alternative workarounds. We give up the idea of using `Prop` at `if-then-else`. + Drawback: users use `if-then-else` with conditions that are not Decidable. + So, users would have to embrace `propDecidable` and `choice`. + This may not be that bad since the developers and users don't seem to care about constructivism. - We currently use a different workaround, we just don't propagate the expected type when it is `Prop`. -/ - if expectedType.isProp then - modify fun s => { s with alreadyPropagated := true } - else - let numRemainingArgs := s.args.length - trace[Elab.app.propagateExpectedType]! "etaArgs.size: {s.etaArgs.size}, numRemainingArgs: {numRemainingArgs}, fType: {s.fType}" - match getForallBody numRemainingArgs s.namedArgs s.fType with - | none => pure () - | some fTypeBody => - unless fTypeBody.hasLooseBVars do - let hasTypeMVar := (fTypeBody.findMVar? fun mvarId => s.typeMVars.contains mvarId).isSome - let hasOnlyTypeMVar := (fTypeBody.findMVar? fun mvarId => !s.typeMVars.contains mvarId).isNone - if hasTypeMVar && hasOnlyTypeMVar then + We currently use a different workaround, we just don't propagate the expected type when it is `Prop`. -/ + if expectedType.isProp then + modify fun s => { s with alreadyPropagated := true } + else + let numRemainingArgs := s.args.length + trace[Elab.app.propagateExpectedType]! "etaArgs.size: {s.etaArgs.size}, numRemainingArgs: {numRemainingArgs}, fType: {s.fType}" + match getForallBody s.explicit numRemainingArgs s.namedArgs s.fType with + | none => pure () + | some fTypeBody => + unless fTypeBody.hasLooseBVars do unless (← hasOptAutoParams fTypeBody) do trace[Elab.app.propagateExpectedType]! "{expectedType} =?= {fTypeBody}" if (← isDefEq expectedType fTypeBody) then @@ -343,7 +336,7 @@ private def addImplicitArg (k : M Expr) : M Expr := do let argType ← getArgExpectedType let arg ← mkFreshExprMVar argType if (← isTypeFormer arg) then - modify fun s => { s with typeMVars := s.typeMVars.push arg.mvarId!, toSetErrorCtx := s.toSetErrorCtx.push arg.mvarId! } + modify fun s => { s with toSetErrorCtx := s.toSetErrorCtx.push arg.mvarId! } addNewArg arg k @@ -354,7 +347,7 @@ private def processExplictArg (k : M Expr) : M Expr := do let s ← get match s.args with | arg::args => - propagateExpectedType + propagateExpectedType arg modify fun s => { s with args := args } elabAndAddNewArg arg k @@ -374,8 +367,9 @@ private def processExplictArg (k : M Expr) : M Expr := do let ref ← getRef let tacticBlock := tacticBlock.copyInfo ref let argType := argType.getArg! 0 -- `autoParam type := by tactic` ==> `type` - propagateExpectedType - elabAndAddNewArg (Arg.stx tacticBlock) + let argNew := Arg.stx tacticBlock + propagateExpectedType argNew + elabAndAddNewArg argNew k | false, _, some _ => throwError "invalid autoParam, argument must be a constant" @@ -401,13 +395,18 @@ private def processImplicitArg (k : M Expr) : M Expr := do else addImplicitArg k +/- Return true if the next argument at `args` is of the form `_` -/ +private def isNextArgHole : M Bool := do + match (← get).args with + | Arg.stx (Syntax.node `Lean.Parser.Term.hole _) :: _ => pure true + | _ => pure false + /- Process a `fType` of the form `[x : A] → B x`. This method assume `fType` is a function type -/ private def processInstImplicitArg (k : M Expr) : M Expr := do if (← get).explicit then - let isHole ← isNextArgHole - if isHole then + if (← isNextArgHole) then /- Recall that if '@' has been used, and the argument is '_', then we still use type class resolution -/ let arg ← mkFreshExprMVar (← getArgExpectedType) MetavarKind.synthetic modify fun s => { s with args := s.args.tail! } @@ -436,7 +435,7 @@ partial def main : M Expr := do let s ← get match s.namedArgs.find? fun (namedArg : NamedArg) => namedArg.name == binderName with | some namedArg => - propagateExpectedType + propagateExpectedType namedArg.val eraseNamedArg binderName elabAndAddNewArg namedArg.val main diff --git a/stage0/src/Lean/Meta/Offset.lean b/stage0/src/Lean/Meta/Offset.lean index 47535f39f2..57e5c96200 100644 --- a/stage0/src/Lean/Meta/Offset.lean +++ b/stage0/src/Lean/Meta/Offset.lean @@ -8,17 +8,29 @@ import Lean.Meta.InferType namespace Lean.Meta -partial def evalNat : Expr → Option Nat - | Expr.lit (Literal.natVal n) _ => pure n +private abbrev withInstantiatedMVars (e : Expr) (k : Expr → OptionT MetaM α) : OptionT MetaM α := do + let eNew ← instantiateMVars e + if eNew.getAppFn.isMVar then + failure + else + k eNew + +partial def evalNat : Expr → OptionT MetaM Nat + | Expr.lit (Literal.natVal n) _ => return n | Expr.mdata _ e _ => evalNat e - | Expr.const `Nat.zero _ _ => pure 0 - | e@(Expr.app _ a _) => do - let fn := e.getAppFn - match fn with + | Expr.const `Nat.zero _ _ => return 0 + | e@(Expr.app ..) => visit e + | e@(Expr.mvar ..) => visit e + | _ => failure +where + visit e := do + let f := e.getAppFn + match f with + | Expr.mvar .. => withInstantiatedMVars e evalNat | Expr.const c _ _ => let nargs := e.getAppNumArgs if c == `Nat.succ && nargs == 1 then - let v ← evalNat a + let v ← evalNat (e.getArg! 0) return v+1 else if c == `Nat.add && nargs == 2 then let v₁ ← evalNat (e.getArg! 0) @@ -47,15 +59,15 @@ partial def evalNat : Expr → Option Nat else if c == `OfNat.ofNat && nargs == 3 then evalNat (e.getArg! 2) else - none - | _ => none - | _ => none + failure + | _ => failure /- Quick function for converting `e` into `s + k` s.t. `e` is definitionally equal to `Nat.add s k`. -/ -private partial def getOffsetAux : Expr → Bool → Option (Expr × Nat) - | e@(Expr.app _ a _), top => - let fn := e.getAppFn - match fn with +private partial def getOffsetAux : Expr → Bool → OptionT MetaM (Expr × Nat) + | e@(Expr.app _ a _), top => do + let f := e.getAppFn + match f with + | Expr.mvar .. => withInstantiatedMVars e (getOffsetAux · top) | Expr.const c _ _ => let nargs := e.getAppNumArgs if c == `Nat.succ && nargs == 1 then do @@ -69,54 +81,75 @@ private partial def getOffsetAux : Expr → Bool → Option (Expr × Nat) let v ← evalNat (e.getArg! 3) let (s, k) ← getOffsetAux (e.getArg! 2) false pure (s, k+v) - else if top then none else pure (e, 0) - | _ => if top then none else pure (e, 0) - | e, top => if top then none else pure (e, 0) + else if top then failure else pure (e, 0) + | _ => if top then failure else pure (e, 0) + | e, top => if top then failure else pure (e, 0) -private def getOffset (e : Expr) : Option (Expr × Nat) := +private def getOffset (e : Expr) : OptionT MetaM (Expr × Nat) := getOffsetAux e true -private partial def isOffset : Expr → Option (Expr × Nat) +private partial def isOffset : Expr → OptionT MetaM (Expr × Nat) | e@(Expr.app _ a _) => - let fn := e.getAppFn - match fn with + let f := e.getAppFn + match f with + | Expr.mvar .. => withInstantiatedMVars e isOffset | Expr.const c _ _ => let nargs := e.getAppNumArgs if (c == `Nat.succ && nargs == 1) || (c == `Nat.add && nargs == 2) || (c == `Add.add && nargs == 4) then getOffset e - else none - | _ => none - | _ => none + else + failure + | _ => failure + | _ => failure -private def isNatZero (e : Expr) : Bool := - match evalNat e with +private def isNatZero (e : Expr) : MetaM Bool := do + match (← evalNat e) with | some v => v == 0 | _ => false -private def mkOffset (e : Expr) (offset : Nat) : Expr := - if offset == 0 then e - else if isNatZero e then mkNatLit offset - else mkAppB (mkConst `Nat.add) e (mkNatLit offset) +private def mkOffset (e : Expr) (offset : Nat) : MetaM Expr := do + if offset == 0 then + return e + else if (← isNatZero e) then + return mkNatLit offset + else + return mkAppB (mkConst `Nat.add) e (mkNatLit offset) -def isDefEqOffset (s t : Expr) : MetaM LBool := - let isDefEq (s t) : MetaM LBool := toLBoolM $ Meta.isExprDefEqAux s t - match isOffset s with - | some (s, k₁) => match isOffset t with +def isDefEqOffset (s t : Expr) : MetaM LBool := do + let isDefEq (s t) : MetaM LBool := + toLBoolM <| Meta.isExprDefEqAux s t + match (← isOffset s) with + | some (s, k₁) => + match (← isOffset t) with | some (t, k₂) => -- s+k₁ =?= t+k₂ - if k₁ == k₂ then isDefEq s t - else if k₁ < k₂ then isDefEq s (mkOffset t (k₂ - k₁)) - else isDefEq (mkOffset s (k₁ - k₂)) t - | none => match evalNat t with + if k₁ == k₂ then + isDefEq s t + else if k₁ < k₂ then + isDefEq s (← mkOffset t (k₂ - k₁)) + else + isDefEq (← mkOffset s (k₁ - k₂)) t + | none => + match (← evalNat t) with | some v₂ => -- s+k₁ =?= v₂ - if v₂ ≥ k₁ then isDefEq s (mkNatLit $ v₂ - k₁) else pure LBool.false - | none => pure LBool.undef - | none => match evalNat s with - | some v₁ => match isOffset t with + if v₂ ≥ k₁ then + isDefEq s (mkNatLit $ v₂ - k₁) + else + return LBool.false + | none => + return LBool.undef + | none => + match (← evalNat s) with + | some v₁ => + match (← isOffset t) with | some (t, k₂) => -- v₁ =?= t+k₂ - if v₁ ≥ k₂ then isDefEq (mkNatLit $ v₁ - k₂) t else pure LBool.false - | none => match evalNat t with - | some v₂ => pure (v₁ == v₂).toLBool -- v₁ =?= v₂ - | none => pure LBool.undef - | none => pure LBool.undef + if v₁ ≥ k₂ then + isDefEq (mkNatLit $ v₁ - k₂) t + else + return LBool.false + | none => + match (← evalNat t) with + | some v₂ => return (v₁ == v₂).toLBool -- v₁ =?= v₂ + | none => return LBool.undef + | none => return LBool.undef end Lean.Meta diff --git a/stage0/src/Lean/Meta/ReduceEval.lean b/stage0/src/Lean/Meta/ReduceEval.lean index 6c4d042781..66c32bf125 100644 --- a/stage0/src/Lean/Meta/ReduceEval.lean +++ b/stage0/src/Lean/Meta/ReduceEval.lean @@ -10,32 +10,35 @@ import Lean.Meta.Offset namespace Lean.Meta -class ReduceEval (α : Type) := - (reduceEval : Expr → MetaM α) +class ReduceEval (α : Type) where + reduceEval : Expr → MetaM α -def reduceEval {α : Type} [ReduceEval α] (e : Expr) : MetaM α := +def reduceEval [ReduceEval α] (e : Expr) : MetaM α := withAtLeastTransparency TransparencyMode.default $ ReduceEval.reduceEval e -private def throwFailedToEval {α} (e : Expr) : MetaM α := +private def throwFailedToEval (e : Expr) : MetaM α := throwError! "reduceEval: failed to evaluate argument{indentExpr e}" -instance : ReduceEval Nat := ⟨fun e => do - let e ← whnf e - let some n ← pure $ evalNat e | throwFailedToEval e - pure n⟩ +instance : ReduceEval Nat where + reduceEval e := do + let e ← whnf e + let some n ← evalNat e | throwFailedToEval e + pure n -instance {α : Type} [ReduceEval α] : ReduceEval (Option α) := ⟨fun e => do - let e ← whnf e - let Expr.const c .. ← pure e.getAppFn | throwFailedToEval e - let nargs := e.getAppNumArgs - if c == `Option.none && nargs == 0 then pure none - else if c == `Option.some && nargs == 1 then some <$> reduceEval e.appArg! - else throwFailedToEval e⟩ +instance [ReduceEval α] : ReduceEval (Option α) where + reduceEval e := do + let e ← whnf e + let Expr.const c .. ← pure e.getAppFn | throwFailedToEval e + let nargs := e.getAppNumArgs + if c == `Option.none && nargs == 0 then pure none + else if c == `Option.some && nargs == 1 then some <$> reduceEval e.appArg! + else throwFailedToEval e -instance : ReduceEval String := ⟨fun e => do - let Expr.lit (Literal.strVal s) _ ← whnf e | throwFailedToEval e - pure s⟩ +instance : ReduceEval String where + reduceEval e := do + let Expr.lit (Literal.strVal s) _ ← whnf e | throwFailedToEval e + pure s private partial def evalName (e : Expr) : MetaM Name := do let e ← whnf e @@ -53,6 +56,7 @@ private partial def evalName (e : Expr) : MetaM Name := do else throwFailedToEval e -instance : ReduceEval Name := ⟨evalName⟩ +instance : ReduceEval Name where + reduceEval := evalName end Lean.Meta diff --git a/stage0/src/Lean/Parser/Do.lean b/stage0/src/Lean/Parser/Do.lean index fe3fb04022..e7a4d8d460 100644 --- a/stage0/src/Lean/Parser/Do.lean +++ b/stage0/src/Lean/Parser/Do.lean @@ -30,15 +30,15 @@ def notFollowedByRedefinedTermToken := @[builtinDoElemParser] def doLetRec := parser! group ("let " >> nonReservedSymbol "rec ") >> letRecDecls def doIdDecl := parser! atomic (ident >> optType >> leftArrow) >> doElemParser -def doPatDecl := parser! atomic (termParser >> leftArrow) >> doElemParser >> optional (" | " >> doElemParser) -@[builtinDoElemParser] def doLetArrow := parser! "let " >> optional "mut " >> (doIdDecl <|> doPatDecl) +def doPatDecl := parser! atomic (termParser >> leftArrow) >> doElemParser >> optional (checkColGt >> " | " >> doElemParser) +@[builtinDoElemParser] def doLetArrow := parser! withPosition ("let " >> optional "mut " >> (doIdDecl <|> doPatDecl)) -- We use `letIdDeclNoBinders` to define `doReassign`. -- Motivation: we do not reassign functions, and avoid parser conflict def letIdDeclNoBinders := node `Lean.Parser.Term.letIdDecl $ atomic (ident >> pushNone >> optType >> " := ") >> termParser @[builtinDoElemParser] def doReassign := parser! notFollowedByRedefinedTermToken >> (letIdDeclNoBinders <|> letPatDecl) -@[builtinDoElemParser] def doReassignArrow := parser! notFollowedByRedefinedTermToken >> (doIdDecl <|> doPatDecl) +@[builtinDoElemParser] def doReassignArrow := parser! notFollowedByRedefinedTermToken >> withPosition (doIdDecl <|> doPatDecl) @[builtinDoElemParser] def doHave := parser! "have " >> Term.haveDecl /- In `do` blocks, we support `if` without an `else`. Thus, we use indentation to prevent examples such as diff --git a/stage0/src/Lean/Parser/Term.lean b/stage0/src/Lean/Parser/Term.lean index 79b4050782..1141564ade 100644 --- a/stage0/src/Lean/Parser/Term.lean +++ b/stage0/src/Lean/Parser/Term.lean @@ -46,8 +46,8 @@ def optSemicolon (p : Parser) : Parser := ppDedent $ optional ";" >> ppLine >> p @[builtinTermParser] def num : Parser := checkPrec maxPrec >> numLit @[builtinTermParser] def str : Parser := checkPrec maxPrec >> strLit @[builtinTermParser] def char : Parser := checkPrec maxPrec >> charLit -@[builtinTermParser] def type := parser! "Type" >> optional (checkWsBefore "" >> checkPrec leadPrec >> levelParser maxPrec) -@[builtinTermParser] def sort := parser! "Sort" >> optional (checkWsBefore "" >> checkPrec leadPrec >> levelParser maxPrec) +@[builtinTermParser] def type := parser! "Type" >> optional (checkWsBefore "" >> checkPrec leadPrec >> checkColGt >> levelParser maxPrec) +@[builtinTermParser] def sort := parser! "Sort" >> optional (checkWsBefore "" >> checkPrec leadPrec >> checkColGt >> levelParser maxPrec) @[builtinTermParser] def prop := parser! "Prop" @[builtinTermParser] def hole := parser! "_" @[builtinTermParser] def syntheticHole := parser! "?" >> (ident <|> hole) diff --git a/stage0/src/Lean/ResolveName.lean b/stage0/src/Lean/ResolveName.lean index 874493db79..49ccfa4002 100644 --- a/stage0/src/Lean/ResolveName.lean +++ b/stage0/src/Lean/ResolveName.lean @@ -117,7 +117,7 @@ def resolveGlobalName (env : Environment) (ns : Name) (openDecls : List OpenDecl /- Namespace resolution -/ def resolveNamespaceUsingScope (env : Environment) (n : Name) : Name → Option Name - | Name.anonymous => none + | Name.anonymous => if env.isNamespace n then some n else none | ns@(Name.str p _ _) => if env.isNamespace (ns ++ n) then some (ns ++ n) else resolveNamespaceUsingScope env n p | _ => unreachable! @@ -128,21 +128,22 @@ def resolveNamespaceUsingOpenDecls (env : Environment) (n : Name) : List OpenDec /- Given a name `id` try to find namespace it refers to. The resolution procedure works as follows -1- If `id` is the extact name of an existing namespace, then return `id` -2- If `id` is in the scope of `namespace` commands the namespace `s_1. ... . s_n`, +1- If `id` is in the scope of `namespace` commands the namespace `s_1. ... . s_n`, then return `s_1 . ... . s_i ++ n` if it is the name of an existing namespace. We search "backwards". +2- If `id` is the extact name of an existing namespace, then return `id` + 3- Finally, for each command `open N`, return `N ++ n` if it is the name of an existing namespace. We search "backwards" again. That is, we try the most recent `open` command first. We only consider simple `open` commands. -/ def resolveNamespace? (env : Environment) (ns : Name) (openDecls : List OpenDecl) (id : Name) : Option Name := - if env.isNamespace id then some id - else match resolveNamespaceUsingScope env id ns with + match resolveNamespaceUsingScope env id ns with + | some n => some n + | none => + match resolveNamespaceUsingOpenDecls env id openDecls with | some n => some n - | none => - match resolveNamespaceUsingOpenDecls env id openDecls with - | some n => some n - | none => none - end ResolveName + | none => none + +end ResolveName class MonadResolveName (m : Type → Type) := (getCurrNamespace : m Name) diff --git a/stage0/stdlib/Init/Data/Array/Subarray.c b/stage0/stdlib/Init/Data/Array/Subarray.c index 8059f0a9c2..1e98263e87 100644 --- a/stage0/stdlib/Init/Data/Array/Subarray.c +++ b/stage0/stdlib/Init/Data/Array/Subarray.c @@ -13,11 +13,11 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__15; lean_object* l_Array_foldrMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__5; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__6; lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__5; size_t l_USize_add(size_t, size_t); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__9; @@ -35,8 +35,8 @@ lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__2___rarg(le lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__7; lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_forM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__2; -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__14; lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__15; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682_(lean_object*, lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845_(lean_object*, lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011_(lean_object*, lean_object*, lean_object*); @@ -51,6 +51,7 @@ lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____close size_t l_USize_sub(size_t, size_t); extern lean_object* l_Array_empty___closed__1; lean_object* l_Subarray_anyM___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__4; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -65,12 +66,12 @@ lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__20; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l_Subarray_foldlM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__12; lean_object* l_Array_anyMUnsafe_any___at_Subarray_any___spec__1(lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__16; uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__6; lean_object* l_Array_instCoeSubarrayArray(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; lean_object* l_Subarray_foldl___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1(lean_object*, lean_object*); lean_object* l_Subarray_any___rarg___boxed(lean_object*, lean_object*); @@ -80,10 +81,10 @@ lean_object* l_Subarray_anyM(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Subarray_all___rarg___boxed(lean_object*, lean_object*); uint8_t l_Subarray_any___rarg(lean_object*, lean_object*); -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__13; lean_object* l_Subarray_forIn___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_foldr___spec__2___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; lean_object* l_Subarray_forInUnsafe_loop(lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_forInUnsafe_loop_match__1(lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__2; @@ -95,13 +96,12 @@ lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___lambda lean_object* l_Subarray_forInUnsafe_loop___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__11; lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_foldl___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; lean_object* l_Subarray_forInUnsafe(lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__9; lean_object* l_Array_foldlMUnsafe_fold___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_572____closed__1; -extern lean_object* l_Lean_Parser_Tactic_let___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; lean_object* l_Array_anyMUnsafe_any___at_Array_allM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__7; lean_object* l_Subarray_forInUnsafe_loop___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -113,7 +113,6 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__11; lean_object* l_Subarray_all(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Subarray_allM___spec__1___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, lean_object*, size_t, uint8_t); lean_object* l_Subarray_foldr___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_Array_ofSubarray(lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__19; @@ -126,7 +125,6 @@ size_t lean_usize_of_nat(lean_object*); lean_object* l_Array_toSubarray(lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Subarray_allM___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__3; lean_object* l_Array_anyMUnsafe_any___at_Subarray_all___spec__1(lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__10; @@ -172,7 +170,6 @@ lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_627____cl lean_object* l_Array_foldlMUnsafe_fold___at_Subarray_forM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_627____closed__5; lean_object* l_Subarray_forRevM(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__6; lean_object* l_Array_foldrMUnsafe_fold___at_Subarray_forRevM___spec__1(lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_845____closed__3; @@ -184,11 +181,9 @@ lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____cl lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_572____closed__3; lean_object* l_Subarray_forIn___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__2; -lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__17; lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__3; lean_object* l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_627____closed__4; lean_object* l_Subarray_allM(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_let___closed__5; lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Subarray_foldr___rarg___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; @@ -2519,41 +2514,40 @@ return x_37; static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_let___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("a"); +return x_1; } } static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_let___closed__1; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__2; -x_3 = lean_array_push(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_let___closed__5; +x_1 = lean_box(0); +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2561,18 +2555,24 @@ return x_3; static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__5() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("letIdDecl"); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__5; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_1 = lean_box(0); x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__5; -x_3 = lean_name_mk_string(x_1, x_2); +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } @@ -2580,7 +2580,7 @@ static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_ _start: { lean_object* x_1; -x_1 = lean_mk_string("a"); +x_1 = lean_mk_string("a.size"); return x_1; } } @@ -2610,82 +2610,17 @@ return x_4; static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string("size"); +return x_1; } } static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__5; -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__11; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__13() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("a.size"); -return x_1; -} -} -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__13; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__13; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__14; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("size"); -return x_1; -} -} -static lean_object* _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -2741,13 +2676,13 @@ lean_inc(x_18); x_19 = lean_ctor_get(x_2, 1); lean_inc(x_19); lean_dec(x_2); -x_20 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_20 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_18); lean_inc(x_19); x_21 = l_Lean_addMacroScope(x_19, x_20, x_18); x_22 = lean_box(0); x_23 = l_Lean_instInhabitedSourceInfo___closed__1; -x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_25 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); @@ -2759,28 +2694,28 @@ x_28 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_inc(x_27); x_29 = lean_array_push(x_27, x_28); x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_31 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_32 = lean_array_push(x_30, x_31); x_33 = lean_array_push(x_32, x_15); -x_34 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_34 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = lean_array_push(x_26, x_35); -x_37 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_37 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); -x_39 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_39 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_41 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_42 = lean_array_push(x_40, x_41); x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__5; lean_inc(x_18); lean_inc(x_19); x_44 = l_Lean_addMacroScope(x_19, x_43, x_18); x_45 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_682____closed__3; -x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__12; +x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; x_47 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_47, 0, x_23); lean_ctor_set(x_47, 1, x_45); @@ -2788,9 +2723,9 @@ lean_ctor_set(x_47, 2, x_44); lean_ctor_set(x_47, 3, x_46); x_48 = lean_array_push(x_26, x_47); x_49 = lean_array_push(x_27, x_17); -x_50 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__17; +x_50 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__11; x_51 = l_Lean_addMacroScope(x_19, x_50, x_18); -x_52 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__15; +x_52 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_23); lean_ctor_set(x_53, 1, x_52); @@ -2807,7 +2742,7 @@ x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); x_60 = lean_array_push(x_42, x_59); -x_61 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_61 = l_myMacro____x40_Init_Notation___hyg_8830____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); @@ -2938,18 +2873,6 @@ l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10 = _init lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10); l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__11 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__11(); lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__11); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__12 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__12(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__12); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__13 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__13(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__13); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__14 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__14(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__14); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__15 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__15(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__15); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16); -l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__17 = _init_l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__17(); -lean_mark_persistent(l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__17); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/Range.c b/stage0/stdlib/Init/Data/Range.c index dc79c4aa71..031b2491f0 100644 --- a/stage0/stdlib/Init/Data/Range.c +++ b/stage0/stdlib/Init/Data/Range.c @@ -56,6 +56,7 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__9; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__19; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; lean_object* l_Std_Range_forIn_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__7; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_905____closed__4; @@ -76,7 +77,6 @@ lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed_ extern lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__11; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__17; lean_object* l_Std_Range___kind_term____x40_Init_Data_Range___hyg_107____closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__8; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_905____closed__2; lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_576____closed__5; @@ -1090,7 +1090,7 @@ x_24 = l_Array_empty___closed__1; x_25 = lean_array_push(x_24, x_23); x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_28 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_29 = lean_array_push(x_27, x_28); x_30 = lean_array_push(x_29, x_15); x_31 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -1327,7 +1327,7 @@ x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); x_28 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_29 = lean_array_push(x_27, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_31 = lean_array_push(x_29, x_30); x_32 = lean_array_push(x_31, x_15); x_33 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -1545,7 +1545,7 @@ x_28 = l_Array_empty___closed__1; x_29 = lean_array_push(x_28, x_27); x_30 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_31 = lean_array_push(x_29, x_30); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_32 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_33 = lean_array_push(x_31, x_32); x_34 = lean_array_push(x_33, x_15); x_35 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; @@ -1710,7 +1710,7 @@ x_26 = l_Array_empty___closed__1; x_27 = lean_array_push(x_26, x_25); x_28 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_29 = lean_array_push(x_27, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_31 = lean_array_push(x_29, x_30); x_32 = lean_array_push(x_31, x_15); x_33 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__7; diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index 3e4a8b85ae..fe8304a68b 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -22,40 +22,39 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit___boxed(le lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__1; lean_object* l_Lean_Parser_Tactic_let_x21___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__1; lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__1; lean_object* l_Lean_Parser_Tactic_exact___closed__6; lean_object* l_Lean_Parser_Tactic_orelse___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__6; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__4; lean_object* l_Lean_Parser_Tactic_intros___closed__7; lean_object* l_Lean_Parser_Tactic_let_x21; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__5; lean_object* l_Lean_Parser_Tactic_induction___closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; lean_object* l_Lean_Parser_Tactic_generalize___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__12; lean_object* l_Lean_Parser_Tactic_cases___closed__6; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__13; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__16; lean_object* l_Lean_Parser_Tactic_match___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_7663____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_letrec___closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__9; lean_object* l_Lean_Parser_Tactic_revert___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__9; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4; lean_object* l_Lean_Parser_Tactic_induction___closed__13; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__6; lean_object* l_Lean_Parser_Tactic_generalize___closed__1; @@ -68,13 +67,11 @@ lean_object* l_Lean_Parser_Tactic_erw; lean_object* l___kind_term____x40_Init_Notation___hyg_6579____closed__1; lean_object* l_Lean_Parser_Tactic_case___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; lean_object* l_Lean_Parser_Tactic_apply___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__6; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__3; @@ -86,15 +83,19 @@ lean_object* l_Lean_Parser_Tactic_induction___closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__4; lean_object* l_Lean_Parser_Tactic_have___closed__4; lean_object* l_Lean_Parser_Tactic_generalize___closed__2; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__5; lean_object* l_Lean_Parser_Tactic_rwSeq; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__8; lean_object* l_Lean_Parser_Tactic_intro___closed__9; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__19; lean_object* l_Lean_Parser_Tactic_orelse___closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__5; lean_object* l_Lean_Parser_Tactic_location___closed__7; @@ -103,6 +104,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__5; lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__7; lean_object* l_Lean_Parser_Tactic_have___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_6579____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__1; @@ -119,6 +121,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7088_(lean_object*, lean_objec lean_object* l_myMacro____x40_Init_Notation___hyg_7407_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_7663_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_7535_(lean_object*, lean_object*, lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8830_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_5739_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6138_(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6336_(lean_object*, lean_object*, lean_object*); @@ -161,7 +164,6 @@ lean_object* l_Lean_Parser_Tactic_rwSeq___closed__4; lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__4; lean_object* l_Lean_Parser_Tactic_rwRule___closed__9; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6; lean_object* l_Lean_Parser_Tactic_changeWith; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__3; @@ -169,18 +171,17 @@ lean_object* l_Lean_Parser_Tactic_rw___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__3; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_skip___closed__3; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__5; lean_object* l_Lean_Parser_Tactic_induction___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__5; lean_object* l_Lean_Parser_Tactic_orelse___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; lean_object* l_Lean_Parser_Tactic_generalize___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__8; @@ -192,7 +193,7 @@ lean_object* l_Lean_Parser_Tactic_locationTarget___closed__4; lean_object* l_Lean_Parser_Tactic_intro___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__9; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__13; extern lean_object* l_Lean_identKind___closed__2; @@ -210,42 +211,44 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_6579____closed__4; lean_object* l_Lean_Parser_Tactic_rewrite___closed__6; lean_object* l_Lean_Parser_Tactic_location___closed__3; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__12; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__12; lean_object* l_Lean_Parser_Tactic_clear___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__2; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3; +lean_object* l___kind_term____x40_Init_Notation___hyg_8795____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__18; lean_object* l_Lean_Parser_Tactic_have___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__4; lean_object* l_Lean_Parser_Tactic_matchAlt___closed__2; extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Parser_Tactic_inductionAlts; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__15; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__3; lean_object* l_Lean_Parser_Tactic_let___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__1; lean_object* l_Lean_Parser_Tactic_change___closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__2; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__15; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* l_Lean_Parser_Tactic_skip___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__3; +lean_object* l___kind_term____x40_Init_Notation___hyg_8795____closed__3; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__6; lean_object* l_Lean_Parser_Tactic_injection___closed__8; lean_object* l_Lean_Parser_Tactic_changeWith___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__18; lean_object* l_Lean_Parser_Tactic_matchAlts___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__10; lean_object* l_Lean_Parser_Tactic_rwSeq___closed__1; lean_object* l_Lean_Parser_Tactic_erwSeq___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__15; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__8; lean_object* l_Lean_Parser_Tactic_apply___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__5; @@ -269,17 +272,17 @@ lean_object* l_Lean_Parser_Tactic_orelse___closed__7; lean_object* l_Lean_Parser_Tactic_case___closed__11; lean_object* l_Lean_Parser_Tactic_have___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__8; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__6; lean_object* l_Lean_Parser_Tactic_rwRule___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__9; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__5; lean_object* l_Lean_Parser_Tactic_injection___closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__1; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__7; lean_object* l_Lean_Parser_Tactic_match___closed__11; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__4; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__4; @@ -288,6 +291,7 @@ lean_object* l_Lean_Parser_Tactic_cases___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__1; lean_object* l_Lean_Parser_Tactic_refine___closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__10; lean_object* l_Lean_Parser_Tactic_exact___closed__1; @@ -295,6 +299,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__14; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_injection___closed__9; lean_object* lean_array_get_size(lean_object*); +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__17; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__6; lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__4; @@ -327,16 +332,17 @@ lean_object* l_Lean_Parser_Tactic_have___closed__6; lean_object* l_Lean_Parser_Tactic_cases___closed__3; lean_object* l_Lean_Parser_Tactic_suffices___closed__6; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__2; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__9; lean_object* l_Lean_Parser_Tactic_orelse___closed__3; lean_object* l_Lean_Parser_Tactic_clear___closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7; lean_object* l_Lean_Parser_Tactic_revert___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__2; lean_object* l_Lean_Parser_Tactic_skip___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__5; lean_object* lean_string_utf8_byte_size(lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_8106_; @@ -351,6 +357,7 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_5672_; lean_object* l___kind_term____x40_Init_Notation___hyg_5001_; lean_object* l___kind_term____x40_Init_Notation___hyg_5169_; lean_object* l___kind_term____x40_Init_Notation___hyg_5337_; +lean_object* l___kind_term____x40_Init_Notation___hyg_8795_; lean_object* l___kind_term____x40_Init_Notation___hyg_6579_; lean_object* l___kind_term____x40_Init_Notation___hyg_503_; lean_object* l___kind_term____x40_Init_Notation___hyg_671_; @@ -390,8 +397,10 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_6579____closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__9; lean_object* l_Lean_Parser_Tactic_suffices___closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__4; lean_object* l_Lean_Parser_Tactic_revert___closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__7; lean_object* l_Lean_Parser_Tactic_rwRule___closed__6; lean_object* l_Lean_Parser_Tactic_location___closed__5; @@ -407,7 +416,7 @@ lean_object* l_Lean_Parser_Tactic_suffices___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4; lean_object* l_Lean_Parser_Tactic_cases___closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__8; lean_object* l_Lean_Parser_Tactic_intros___closed__3; lean_object* l_Lean_Parser_Tactic_rwRule___closed__2; @@ -428,22 +437,20 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__3; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__9; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1; lean_object* l_Lean_Parser_Tactic_clear___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__3; lean_object* l_Lean_Parser_Tactic_clear; lean_object* l_Lean_Parser_Tactic_letrec___closed__9; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__5; lean_object* l_Lean_Parser_Tactic_case___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__6; lean_object* l_Lean_Parser_Tactic_subst___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__2; lean_object* l_Lean_Parser_Tactic_rewrite___closed__5; @@ -455,20 +462,22 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__14; lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4; lean_object* l_Lean_Parser_Tactic_match___closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__16; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__22; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13; lean_object* l___kind_term____x40_Init_Notation___hyg_4497____closed__5; lean_object* l_Lean_Parser_Tactic_cases___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__7; lean_object* l_Lean_Parser_Tactic_assumption; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__6; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__4; lean_object* l_Lean_Parser_Tactic_subst___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__9; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__7; @@ -484,23 +493,24 @@ lean_object* l_Lean_Parser_Tactic_change___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__3; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2; lean_object* l_Lean_Parser_Tactic_cases___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__9; lean_object* l_Lean_Parser_Tactic_induction___closed__11; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__5; lean_object* l_Lean_Parser_Tactic_intro___closed__12; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_7979____closed__2; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__10; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__5; lean_object* l_Lean_Parser_Tactic_location___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__3; lean_object* l_Lean_Parser_Tactic_clear___closed__3; lean_object* l_Lean_Parser_Tactic_intros___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_7088____boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__6; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__6; lean_object* l_Lean_Parser_Tactic_erwSeq___closed__1; @@ -519,28 +529,27 @@ lean_object* l_Lean_Parser_Tactic_generalize___closed__9; lean_object* l_Lean_Parser_Tactic_location___closed__2; lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__5; lean_object* l_Lean_Parser_Tactic_traceState___closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__4; lean_object* l_Lean_Parser_Tactic_allGoals; lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit_match__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__7; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3; lean_object* l_Lean_Parser_Tactic_refine___closed__3; lean_object* l_Lean_Parser_Tactic_induction___closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__3; lean_object* l_Lean_Parser_Tactic_cases; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__3; lean_object* l_Lean_Parser_Tactic_allGoals___closed__3; lean_object* l_Lean_Parser_Tactic_subst___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__7; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8; lean_object* l_Lean_Parser_Tactic_assumption___closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__13; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__19; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__7; lean_object* l_Lean_Parser_Tactic_generalize___closed__12; lean_object* l_Lean_Parser_Tactic_apply___closed__3; lean_object* l_Lean_Parser_Tactic_clear___closed__5; @@ -550,7 +559,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__2; lean_object* l_Lean_Parser_Tactic_show___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8; lean_object* l_Lean_Parser_Tactic_revert; lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__1; lean_object* l_Lean_Parser_Tactic_generalize; @@ -558,11 +566,13 @@ lean_object* l_Lean_Parser_Tactic_failIfSuccess___closed__3; lean_object* l_Lean_Parser_Tactic_changeWith___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__4; lean_object* l_Lean_Parser_Tactic_rw___closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__3; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__10; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__16; lean_object* l_Lean_Parser_Tactic_rw; lean_object* l_Lean_Parser_Tactic_changeWith___closed__8; lean_object* l_Lean_Parser_Tactic_focus___closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7; lean_object* l_Lean_Parser_Tactic_change___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__4; @@ -571,12 +581,13 @@ lean_object* l_Lean_Parser_Tactic_match___closed__13; lean_object* l_Lean_Parser_Tactic_traceState___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3; lean_object* l_Lean_Parser_Tactic_location___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__5; lean_object* l_Lean_Parser_Tactic_rewriteSeq; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__8; lean_object* l_Lean_Parser_Tactic_expandERw(lean_object*, lean_object*, lean_object*); @@ -600,22 +611,22 @@ lean_object* l_Lean_Parser_Tactic_focus___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__5; lean_object* l_Lean_Parser_Tactic_changeWith___closed__1; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__5; lean_object* l_Lean_Parser_Tactic_rewrite___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__1; lean_object* l_Lean_Parser_Tactic_cases___closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__15; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__3; lean_object* l_Lean_Parser_Tactic_induction___closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; lean_object* l_Lean_Parser_Tactic_revert___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__11; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__1; lean_object* l_Lean_Parser_Tactic_introMatch___closed__1; @@ -624,20 +635,22 @@ lean_object* l_Lean_Parser_Tactic_traceState___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__3; lean_object* l_Lean_Parser_Tactic_intro___closed__10; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__11; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3505____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_introMatch___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__2; lean_object* l_Lean_Parser_Tactic_changeWith___closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__3; lean_object* l_Lean_Parser_Tactic_apply___closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__17; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_object* l_Lean_Parser_Tactic_rw___closed__3; @@ -647,7 +660,6 @@ lean_object* l_Lean_Parser_Tactic_letrec___closed__11; lean_object* l_Lean_Parser_Tactic_revert___closed__3; lean_object* l_Lean_Parser_Tactic_intros___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; lean_object* l_Lean_Parser_Tactic_injection___closed__6; lean_object* l_Lean_Parser_Tactic_erewrite___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__9; @@ -657,15 +669,18 @@ lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__6; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__1; lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__3; +lean_object* l___kind_term____x40_Init_Notation___hyg_8795____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__3; lean_object* l_Lean_Parser_Tactic_revert___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; lean_object* l_Lean_Parser_Tactic_generalize___closed__11; lean_object* l_Lean_Parser_Tactic_let___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_4700____closed__6; lean_object* l_Lean_Parser_Tactic_erewrite___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__5; lean_object* l_Lean_Parser_Tactic_match___closed__6; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__2; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__2; @@ -682,14 +697,14 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__9; lean_object* l_Lean_Parser_Tactic_rwRuleSeq; lean_object* l_Lean_Parser_Tactic_rewrite___closed__1; lean_object* l_Lean_Parser_Tactic_cases___closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__10; -lean_object* l_Lean_Parser_Tactic_let___closed__8; lean_object* l_Lean_Parser_Tactic_location___closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11885____boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Notation___hyg_8795____closed__2; lean_object* l_Lean_Parser_Tactic_locationWildcard; lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__6; lean_object* l_Lean_Parser_Tactic_rw___closed__7; @@ -699,16 +714,19 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_6138____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__3; lean_object* l_Lean_Parser_Tactic_let___closed__1; lean_object* l_Lean_Parser_Tactic_erewrite; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; lean_object* l_Lean_Parser_Tactic_erwSeq___closed__2; lean_object* l_Lean_Parser_Tactic_rewrite___closed__2; lean_object* l_Lean_Parser_Tactic_location___closed__8; lean_object* l_Lean_Parser_Tactic_exact___closed__3; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__3; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2514____closed__5; lean_object* l_Lean_Parser_Tactic_paren___closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__6; @@ -717,7 +735,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__15; lean_object* l_Lean_Parser_Tactic_let___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__14; lean_object* l_Lean_Parser_Tactic_generalize___closed__13; @@ -725,12 +743,16 @@ lean_object* l_Lean_Parser_Tactic_assumption___closed__2; lean_object* l_Lean_Parser_Tactic_location; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2; lean_object* l_Lean_Parser_Tactic_exact___closed__5; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3177____closed__1; lean_object* l_Lean_Parser_Tactic_match___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__11; @@ -742,7 +764,6 @@ lean_object* l_Lean_Parser_Tactic_case___closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_5505____closed__6; lean_object* l_Lean_Parser_Tactic_paren___closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__3; lean_object* l_Lean_Parser_Tactic_expandRw___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__17; @@ -753,19 +774,21 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1547____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_5036____closed__7; lean_object* l_Lean_Parser_Tactic_suffices___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__4; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__7; lean_object* l_Lean_Parser_Tactic_show; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__12; lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__7; lean_object* l_Lean_Parser_Tactic_injection___closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___kind_term____x40_Init_Notation___hyg_8795____closed__4; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_6336____closed__6; lean_object* l_Lean_Parser_Tactic_expandRw(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3997____closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322____closed__3; lean_object* l_Lean_Parser_Tactic_change___closed__5; @@ -775,27 +798,32 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7535____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__2; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__8; extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__14; lean_object* l___kind_term____x40_Init_Notation___hyg_503____closed__3; lean_object* l_Lean_Parser_Tactic_match___closed__9; lean_object* l_Lean_Parser_Tactic_refine___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__20; lean_object* l_Lean_Parser_Tactic_introMatch___closed__4; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__16; lean_object* l_Lean_Parser_Tactic_allGoals___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__2; lean_object* l_Lean_Parser_Tactic_injection___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__3; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060_; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467_; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__10; lean_object* l_Lean_Parser_Tactic_erewrite___closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_2384____closed__1; @@ -804,11 +832,12 @@ lean_object* l_Lean_Parser_Tactic_apply; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__1; lean_object* l_Lean_Parser_Tactic_failIfSuccess; lean_object* l_Lean_Parser_Tactic_paren___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__6; lean_object* l_Lean_Parser_Tactic_have___closed__3; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__3; lean_object* l_Lean_Parser_Tactic_letrec___closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__10; lean_object* l_Lean_Parser_Tactic_done___closed__2; lean_object* l_Lean_Parser_Tactic_change___closed__3; lean_object* l_Lean_Parser_Tactic_generalize___closed__10; @@ -818,7 +847,6 @@ lean_object* l_Lean_Parser_Tactic_match___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__1; lean_object* l_Lean_Parser_Tactic_paren___closed__2; lean_object* l_Lean_Parser_Tactic_subst___closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__5; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__14; @@ -827,9 +855,9 @@ lean_object* l_Lean_Parser_Tactic_injection___closed__7; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__8; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_erw___closed__4; lean_object* l_Lean_Parser_Tactic_erewriteSeq___closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2; lean_object* l_Lean_Parser_Tactic_location___closed__11; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__1; @@ -855,14 +883,12 @@ lean_object* l_Lean_Parser_Tactic_existsIntro___closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_1175____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__5; extern lean_object* l_Lean_nullKind___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__6; lean_object* l_Lean_Parser_Tactic_suffices___closed__5; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10; lean_object* l_Lean_Parser_Tactic_intros___closed__4; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__5; lean_object* l_Lean_Parser_Tactic_change___closed__6; @@ -870,6 +896,7 @@ lean_object* l_Lean_Parser_Tactic_refine_x21; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__2; lean_object* l_Lean_Parser_Tactic_casesTarget___closed__3; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__12; lean_object* l_Lean_Parser_Tactic_intro___closed__16; lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__1; @@ -885,17 +912,19 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__13; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708_(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11885_(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__9; lean_object* l_Lean_Parser_Tactic_match___closed__1; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_object* l_Lean_Parser_Tactic_show___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__10; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__6; @@ -919,18 +948,15 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__2; lean_object* l_Lean_Parser_Tactic_refine___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__2; lean_object* l_Lean_Parser_Tactic_show___closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4; lean_object* l_Lean_Parser_Tactic_case___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_7663____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_7049____closed__5; lean_object* l_Lean_Parser_Tactic_suffices___closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__5; @@ -947,11 +973,12 @@ lean_object* l_Lean_Parser_Tactic_induction___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_7979____closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__3; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; lean_object* l_Lean_Parser_Tactic_refine___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__11; @@ -962,13 +989,12 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__5; lean_object* l_Lean_Parser_Tactic_suffices; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; lean_object* l_Lean_Parser_Tactic_case___closed__1; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_1512____closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__13; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__9; lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__14; @@ -976,17 +1002,19 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_1007____closed__1; lean_object* l_Lean_Parser_Tactic_revert___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__8; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_7663____closed__2; lean_object* l_Lean_Parser_Tactic_allGoals___closed__5; lean_object* l_Lean_Parser_Tactic_induction___closed__15; lean_object* l_myMacro____x40_Init_Notation___hyg_6853____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__9; lean_object* l_Lean_Parser_Tactic_paren___closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3; lean_object* l_Lean_Parser_Tactic_locationWildcard___closed__3; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__4; lean_object* l_Lean_Parser_Tactic_erewrite___closed__5; lean_object* l_Lean_Parser_Tactic_let___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__9; @@ -1012,7 +1040,6 @@ lean_object* l_Lean_Parser_Tactic_case___closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_1681____closed__5; lean_object* l_Lean_Parser_Tactic_change; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__6; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1; lean_object* l_Lean_Parser_Tactic_injection___closed__10; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__1; @@ -1024,19 +1051,18 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_2019____closed__4; lean_object* l_Lean_Parser_Tactic_rw___closed__6; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_Parser_Tactic_locationTarget___closed__5; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; lean_object* l_Lean_Parser_Tactic_induction___closed__18; lean_object* l_Lean_Parser_Tactic_letrec___closed__8; lean_object* l_Lean_Parser_Tactic_rwRule___closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__6; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__4; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__8; lean_object* l_Lean_Parser_Tactic_induction___closed__5; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__9; lean_object* l_Lean_Parser_Tactic_case___closed__2; extern lean_object* l_Lean_Name_hasMacroScopes___closed__1; @@ -1052,13 +1078,13 @@ lean_object* l_Lean_Parser_Tactic_intro___closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__6; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; lean_object* l_Lean_Parser_Tactic_show___closed__4; lean_object* l_Lean_Parser_Tactic_cases___closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__5; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__2; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; @@ -1072,7 +1098,7 @@ lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__11; lean_object* l_myMacro____x40_Init_Notation___hyg_1042____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__1; lean_object* lean_name_mk_numeral(lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__1; lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__7; @@ -1080,16 +1106,15 @@ lean_object* l_Lean_Parser_Tactic_induction___closed__14; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__2; lean_object* l_Lean_Parser_Tactic_case___closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__5; -lean_object* l_Lean_Parser_Tactic_let___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__9; lean_object* l_Lean_Parser_Tactic_letrec___closed__16; lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__1; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_1850____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__6; lean_object* l_Lean_Parser_Tactic_exact___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_6081____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374_; lean_object* l___kind_stx____x40_Init_Notation___hyg_7322_; @@ -1104,8 +1129,6 @@ lean_object* l_Lean_Parser_Tactic_matchAlt; lean_object* l_Lean_Parser_Tactic_done___closed__4; lean_object* l_Lean_Parser_Tactic_erw___closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__9; lean_object* l_Lean_Parser_Tactic_location___closed__10; @@ -1115,14 +1138,17 @@ lean_object* l_Lean_Parser_Tactic_rewrite___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4532____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_4329____closed__5; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__6; lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__2; lean_object* l_Lean_Parser_Tactic_locationTarget; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__7; lean_object* l_myMacro____x40_Init_Notation___hyg_7407____closed__8; lean_object* l_Lean_Parser_Tactic_show___closed__1; lean_object* l_Lean_Parser_Tactic_letrec___closed__7; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__13; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__13; lean_object* l___kind_term____x40_Init_Notation___hyg_6820____closed__2; @@ -1134,7 +1160,7 @@ lean_object* l_Lean_Parser_Tactic_generalize___closed__7; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__2; lean_object* l_Lean_Parser_Tactic_induction___closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4364____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__3; @@ -1146,7 +1172,6 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_335____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__4; lean_object* l_Lean_Parser_Tactic_induction___closed__8; lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_206____closed__6; @@ -1154,8 +1179,11 @@ lean_object* l_Lean_Parser_Tactic_injection; lean_object* l_myMacro____x40_Init_Notation___hyg_6336__expandListLit_match__1(lean_object*); lean_object* l_myMacro____x40_Init_Notation___hyg_1885____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__5; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__1; lean_object* l_Lean_Parser_Tactic_exact___closed__2; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__4; lean_object* l_Lean_Parser_Tactic_intro___closed__2; +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__11; lean_object* l_Lean_Parser_Tactic_focus___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__7; lean_object* l_Lean_Parser_Tactic_matchAlt___closed__3; @@ -1167,10 +1195,10 @@ lean_object* l_Lean_Parser_Tactic_changeWith___closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__2; lean_object* l___kind_stx____x40_Init_Notation___hyg_7348____closed__4; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_4196____closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__17; lean_object* l___kind_term____x40_Init_Notation___hyg_171____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__9; lean_object* l_Lean_Parser_Tactic_expandERwSeq___boxed(lean_object*, lean_object*, lean_object*); @@ -1178,7 +1206,6 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__15; lean_object* l_Lean_Parser_Tactic_change___closed__7; lean_object* l___kind_term____x40_Init_Notation___hyg_3669____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__1; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_2679____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__15; @@ -1191,13 +1218,13 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3540____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_2883____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_3341____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_874____closed__7; lean_object* l_Lean_Parser_Tactic_induction___closed__9; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__13; lean_object* l_Lean_Parser_Tactic_rewrite___closed__7; +lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__2; lean_object* l_Lean_Parser_Tactic_allGoals___closed__4; lean_object* l_Lean_Parser_Tactic_intro___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_8106____closed__5; @@ -1211,6 +1238,7 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_5540____closed__2; lean_object* l_Lean_Parser_Tactic_refine_x21___closed__5; lean_object* l_Lean_Parser_Tactic_locationHyp___closed__2; +lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__11; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__9; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__2; @@ -1226,11 +1254,9 @@ lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__4; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__21; lean_object* l_myMacro____x40_Init_Notation___hyg_6612____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_671____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3; lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__1; lean_object* l_Lean_Parser_Tactic_orelse___closed__6; lean_object* l_Lean_Parser_Tactic_intro___closed__5; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_2848____closed__4; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__8; lean_object* l_Lean_Parser_Tactic_induction___closed__17; @@ -1264,7 +1290,6 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__1; lean_object* l_Lean_Parser_Tactic_existsIntro___closed__1; lean_object* l___kind_term____x40_Init_Notation___hyg_1343____closed__1; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__6; lean_object* l_Lean_Parser_Tactic_allGoals___closed__1; lean_object* l_Lean_Parser_Tactic_traceState; @@ -1280,7 +1305,6 @@ lean_object* l___kind_term____x40_Init_Notation___hyg_4161____closed__2; lean_object* l_Lean_Parser_Tactic_case___closed__13; lean_object* l___kind_stx____x40_Init_Notation___hyg_7943____closed__6; lean_object* l_Lean_Parser_Tactic_erewriteSeq; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_5169____closed__5; lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__1; extern lean_object* l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; @@ -1295,7 +1319,6 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_3868____closed__3; lean_object* l_myMacro____x40_Init_Notation___hyg_4032____closed__1; lean_object* l_Lean_Parser_Tactic_locationHyp; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__1; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6; lean_object* l_Lean_Parser_Tactic_rw___closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_2349____closed__2; lean_object* l_Lean_Parser_Tactic_refine; @@ -1303,16 +1326,13 @@ lean_object* l_myMacro____x40_Init_Notation___hyg_7791____closed__4; lean_object* l_Lean_Parser_Tactic_generalize___closed__14; lean_object* l_Lean_Parser_Tactic_introMatch; lean_object* l_Lean_Parser_Tactic_generalize___closed__5; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_839____closed__5; lean_object* l_Lean_Parser_Tactic_inductionAlts___closed__11; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__1; lean_object* l_myMacro____x40_Init_Notation___hyg_1210____closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_2054____closed__6; lean_object* l_myMacro____x40_Init_Notation___hyg_1378____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__4; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1; lean_object* l_Lean_Parser_Tactic_rwRule___closed__5; lean_object* l___kind_stx____x40_Init_Notation___hyg_7374____closed__4; lean_object* l___kind_term____x40_Init_Notation___hyg_5001____closed__1; @@ -1323,7 +1343,6 @@ lean_object* l_Lean_Parser_Tactic_rewriteSeq___closed__2; lean_object* l___kind_term____x40_Init_Notation___hyg_3013____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_3212____closed__6; lean_object* l_Lean_Parser_Tactic_erwSeq; -lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4; lean_object* l_Lean_Parser_Tactic_letrec___closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__8; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__6; @@ -1331,13 +1350,11 @@ lean_object* l_Lean_Parser_Tactic_refine_x21___closed__3; lean_object* l_Lean_Parser_Tactic_intros___closed__10; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__8; lean_object* l_myMacro____x40_Init_Notation___hyg_5204____closed__8; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662____boxed(lean_object*, lean_object*, lean_object*); lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__18; lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__15; lean_object* l_Lean_Parser_Tactic_letrec___closed__5; lean_object* l___kind_term____x40_Init_Notation___hyg_5337____closed__2; lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__11; -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12; lean_object* l___kind_term____x40_Init_Notation___hyg_6289____closed__2; lean_object* l_Lean_Parser_Tactic_rwSeq___closed__5; lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__17; @@ -12743,6 +12760,343 @@ return x_128; } } } +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__10; +x_2 = lean_unsigned_to_nat(8795u); +x_3 = lean_name_mk_numeral(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("withoutExpectedType! "); +return x_1; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___kind_term____x40_Init_Notation___hyg_8795____closed__2; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; +x_2 = l___kind_term____x40_Init_Notation___hyg_8795____closed__3; +x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___kind_term____x40_Init_Notation___hyg_8795____closed__1; +x_2 = lean_unsigned_to_nat(1023u); +x_3 = l___kind_term____x40_Init_Notation___hyg_8795____closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___kind_term____x40_Init_Notation___hyg_8795_() { +_start: +{ +lean_object* x_1; +x_1 = l___kind_term____x40_Init_Notation___hyg_8795____closed__5; +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("let"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; +x_3 = lean_alloc_ctor(2, 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_myMacro____x40_Init_Notation___hyg_8830____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__3; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("letDecl"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__5; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("letIdDecl"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("aux"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__9; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_myMacro____x40_Init_Notation___hyg_8830____closed__10; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__9; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__13() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(":="); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; +x_3 = lean_alloc_ctor(2, 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_myMacro____x40_Init_Notation___hyg_8830____closed__15() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(";"); +return x_1; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; +x_3 = lean_alloc_ctor(2, 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_myMacro____x40_Init_Notation___hyg_8830____closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_nullKind___closed__2; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__17; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +lean_object* l_myMacro____x40_Init_Notation___hyg_8830_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l___kind_term____x40_Init_Notation___hyg_8795____closed__1; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = l_Lean_Syntax_getArgs(x_1); +x_9 = lean_array_get_size(x_8); +lean_dec(x_8); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +lean_dec(x_2); +lean_dec(x_1); +x_12 = lean_box(1); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_3); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_14 = lean_unsigned_to_nat(1u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = lean_ctor_get(x_2, 2); +lean_inc(x_16); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +lean_dec(x_2); +x_18 = l_myMacro____x40_Init_Notation___hyg_8830____closed__12; +x_19 = l_Lean_addMacroScope(x_17, x_18, x_16); +x_20 = lean_box(0); +x_21 = l_Lean_instInhabitedSourceInfo___closed__1; +x_22 = l_myMacro____x40_Init_Notation___hyg_8830____closed__11; +x_23 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_19); +lean_ctor_set(x_23, 3, x_20); +x_24 = l_Array_empty___closed__1; +lean_inc(x_23); +x_25 = lean_array_push(x_24, x_23); +x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +x_27 = lean_array_push(x_25, x_26); +x_28 = lean_array_push(x_27, x_26); +x_29 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; +x_30 = lean_array_push(x_28, x_29); +x_31 = lean_array_push(x_30, x_15); +x_32 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_array_push(x_24, x_33); +x_35 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; +x_38 = lean_array_push(x_37, x_36); +x_39 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; +x_40 = lean_array_push(x_38, x_39); +x_41 = lean_array_push(x_40, x_23); +x_42 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_3); +return x_44; +} +} +} +} static lean_object* _init_l_Lean_Parser_Tactic_intro___closed__1() { _start: { @@ -16394,22 +16748,14 @@ return x_1; static lean_object* _init_l_Lean_Parser_Tactic_let___closed__1() { _start: { -lean_object* x_1; -x_1 = lean_mk_string("let"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__2() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_let___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_let___closed__2() { _start: { lean_object* x_1; @@ -16417,11 +16763,11 @@ x_1 = lean_mk_string("let "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_let___closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_let___closed__3; +x_1 = l_Lean_Parser_Tactic_let___closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -16429,41 +16775,33 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("letDecl"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_let___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_let___closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__5; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_let___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_let___closed__6; +x_1 = l_Lean_Parser_Tactic_let___closed__4; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_let___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic_let___closed__4; -x_3 = l_Lean_Parser_Tactic_let___closed__7; +x_2 = l_Lean_Parser_Tactic_let___closed__3; +x_3 = l_Lean_Parser_Tactic_let___closed__5; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -16471,13 +16809,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_let___closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_let___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_let___closed__2; +x_1 = l_Lean_Parser_Tactic_let___closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_Parser_Tactic_let___closed__8; +x_3 = l_Lean_Parser_Tactic_let___closed__6; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -16489,7 +16827,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_let() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_let___closed__9; +x_1 = l_Lean_Parser_Tactic_let___closed__7; return x_1; } } @@ -16537,7 +16875,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; x_2 = l_Lean_Parser_Tactic_let_x21___closed__4; -x_3 = l_Lean_Parser_Tactic_let___closed__7; +x_3 = l_Lean_Parser_Tactic_let___closed__5; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -16607,7 +16945,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_letrec___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_let___closed__3; +x_1 = l_Lean_Parser_Tactic_let___closed__2; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -17953,7 +18291,7 @@ x_1 = l_Lean_Parser_Tactic_existsIntro___closed__6; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -17963,67 +18301,67 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__1; x_2 = l_Lean_Parser_Tactic_orelse___closed__4; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__2; x_2 = l___private_Init_Prelude_0__Lean_eraseMacroScopesAux___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__3; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__6; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__4; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__5; x_2 = l_Lean_Name_hasMacroScopes___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; -x_2 = lean_unsigned_to_nat(10506u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6; +x_2 = lean_unsigned_to_nat(10729u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8() { _start: { lean_object* x_1; @@ -18031,11 +18369,11 @@ x_1 = lean_mk_string("rfl"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__9() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18043,13 +18381,13 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__7; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__9; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18057,15 +18395,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__10; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__1() { _start: { lean_object* x_1; @@ -18073,17 +18411,17 @@ x_1 = lean_mk_string("seq1"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18095,32 +18433,32 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__5; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18128,45 +18466,45 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__7; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__7; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18208,17 +18546,17 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_2, 1); lean_inc(x_15); lean_dec(x_2); -x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7; +x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__7; x_17 = l_Lean_addMacroScope(x_15, x_16, x_14); x_18 = l_Lean_instInhabitedSourceInfo___closed__1; -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6; -x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9; +x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__6; +x_20 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__9; x_21 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_21, 0, x_18); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_17); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; +x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4; x_23 = lean_array_push(x_22, x_21); x_24 = l_Lean_Parser_Tactic_exact___closed__2; x_25 = lean_alloc_ctor(1, 2, 0); @@ -18231,7 +18569,7 @@ x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); x_30 = lean_array_push(x_26, x_29); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_32 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); @@ -18243,17 +18581,17 @@ return x_33; } } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; -x_2 = lean_unsigned_to_nat(10673u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6; +x_2 = lean_unsigned_to_nat(10896u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2() { _start: { lean_object* x_1; @@ -18261,11 +18599,11 @@ x_1 = lean_mk_string("decide!"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18273,13 +18611,13 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__3; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18287,15 +18625,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__4; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1() { _start: { lean_object* x_1; @@ -18303,121 +18641,121 @@ x_1 = lean_mk_string("decide"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__4; 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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_exact___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__6; 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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__7; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__8; 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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__9; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18452,7 +18790,7 @@ return x_13; else { lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11; +x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__11; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_3); @@ -18461,26 +18799,26 @@ return x_15; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; -x_2 = lean_unsigned_to_nat(10837u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6; +x_2 = lean_unsigned_to_nat(11060u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2() { _start: { lean_object* x_1; @@ -18488,11 +18826,11 @@ x_1 = lean_mk_string("admit"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18500,13 +18838,13 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__3; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18514,15 +18852,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__4; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1() { _start: { lean_object* x_1; @@ -18530,121 +18868,121 @@ x_1 = lean_mk_string("sorry"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__3; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__4; 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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_exact___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__6; 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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__7; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__8; 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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__9; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__10; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18679,7 +19017,7 @@ return x_13; else { lean_object* x_14; lean_object* x_15; -x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11; +x_14 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__11; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_3); @@ -18688,26 +19026,26 @@ return x_15; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; -x_2 = lean_unsigned_to_nat(11001u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6; +x_2 = lean_unsigned_to_nat(11224u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__2() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; @@ -18719,12 +19057,12 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__2; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__4; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -18733,7 +19071,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4() { _start: { lean_object* x_1; @@ -18741,23 +19079,23 @@ x_1 = lean_mk_string(" := "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_2 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3; -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__3; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__5; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18765,12 +19103,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__6; x_3 = l___kind_term____x40_Init_Notation___hyg_5672____closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -18779,13 +19117,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__7; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -18793,15 +19131,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__8; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -18813,17 +19151,17 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__1; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3() { _start: { lean_object* x_1; @@ -18831,51 +19169,31 @@ x_1 = lean_mk_string("haveAssign"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_myMacro____x40_Init_Notation___hyg_38____closed__6; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(":="); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_3 = lean_array_push(x_1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -18923,13 +19241,13 @@ x_22 = l_Lean_nullKind___closed__2; x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_21); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; +x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2; x_25 = lean_array_push(x_24, x_23); x_26 = l_myMacro____x40_Init_Notation___hyg_8168____closed__17; x_27 = lean_array_push(x_25, x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_29 = lean_array_push(x_28, x_17); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); @@ -18943,7 +19261,7 @@ x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_22); lean_ctor_set(x_36, 1, x_35); x_37 = lean_array_push(x_18, x_36); -x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_38 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_39 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_39, 0, x_38); lean_ctor_set(x_39, 1, x_37); @@ -18955,26 +19273,26 @@ return x_40; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; -x_2 = lean_unsigned_to_nat(11244u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6; +x_2 = lean_unsigned_to_nat(11467u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__2() { _start: { lean_object* x_1; @@ -18982,11 +19300,11 @@ x_1 = lean_mk_string("repeat "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18994,12 +19312,12 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__3; x_3 = l_Lean_Parser_Tactic_case___closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -19008,13 +19326,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__4; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -19022,15 +19340,15 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__5; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19040,7 +19358,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2() { _start: { lean_object* x_1; @@ -19048,59 +19366,17 @@ x_1 = lean_mk_string("tacticSeq1Indented"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_intro___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(";"); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; -x_3 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_nullKind___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6; -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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__4() { _start: { lean_object* x_1; @@ -19108,29 +19384,29 @@ x_1 = lean_mk_string("repeat"); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__4; x_3 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__5; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19142,7 +19418,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -19154,33 +19430,33 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_empty___closed__1; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__8; x_3 = lean_array_push(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14() { +static lean_object* _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_skip___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -19218,7 +19494,7 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; x_14 = lean_unsigned_to_nat(1u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); -x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_16 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_inc(x_15); x_17 = l_Lean_Syntax_isOfKind(x_15, x_16); if (x_17 == 0) @@ -19270,14 +19546,14 @@ x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = lean_array_push(x_27, x_35); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_38 = lean_array_push(x_36, x_37); x_39 = l_Lean_nullKind___closed__2; x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_39); lean_ctor_set(x_40, 1, x_38); x_41 = lean_array_push(x_27, x_40); -x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10; +x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__6; x_43 = lean_array_push(x_42, x_29); x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_4); @@ -19293,7 +19569,7 @@ x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_39); lean_ctor_set(x_50, 1, x_49); x_51 = lean_array_push(x_27, x_50); -x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; +x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); @@ -19307,9 +19583,9 @@ x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_34); lean_ctor_set(x_58, 1, x_57); x_59 = lean_array_push(x_27, x_58); -x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; +x_60 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7; x_61 = lean_array_push(x_59, x_60); -x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14; +x_62 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__10; x_63 = lean_array_push(x_61, x_62); x_64 = l_Lean_Parser_Tactic_orelse___closed__1; x_65 = lean_alloc_ctor(1, 2, 0); @@ -19325,26 +19601,26 @@ return x_66; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6; -x_2 = lean_unsigned_to_nat(11621u); +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6; +x_2 = lean_unsigned_to_nat(11844u); x_3 = lean_name_mk_numeral(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2() { _start: { lean_object* x_1; @@ -19352,11 +19628,11 @@ x_1 = lean_mk_string("try "); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19364,12 +19640,12 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l___kind_term____x40_Init_Notation___hyg_3____closed__13; -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__3; x_3 = l_Lean_Parser_Tactic_case___closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -19378,13 +19654,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__1; x_2 = lean_unsigned_to_nat(1023u); -x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4; +x_3 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__4; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -19392,19 +19668,19 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_() { +static lean_object* _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844_() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__5; return x_1; } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11885_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1; +x_4 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__1; lean_inc(x_1); x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); if (x_5 == 0) @@ -19444,7 +19720,7 @@ x_15 = l_Lean_Syntax_getArg(x_1, x_14); lean_dec(x_1); x_16 = l_Array_empty___closed__1; x_17 = lean_array_push(x_16, x_15); -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); @@ -19457,9 +19733,9 @@ x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); x_26 = lean_array_push(x_16, x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; +x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7; x_28 = lean_array_push(x_26, x_27); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14; +x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__10; x_30 = lean_array_push(x_28, x_29); x_31 = l_Lean_Parser_Tactic_orelse___closed__1; x_32 = lean_alloc_ctor(1, 2, 0); @@ -19471,7 +19747,7 @@ x_35 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_33); x_36 = lean_array_push(x_16, x_35); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_36); @@ -19483,11 +19759,11 @@ return x_39; } } } -lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11885____boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11662_(x_1, x_2, x_3); +x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11885_(x_1, x_2, x_3); lean_dec(x_2); return x_4; } @@ -20849,6 +21125,54 @@ l_myMacro____x40_Init_Notation___hyg_8168____closed__21 = _init_l_myMacro____x40 lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8168____closed__21); l_myMacro____x40_Init_Notation___hyg_8168____closed__22 = _init_l_myMacro____x40_Init_Notation___hyg_8168____closed__22(); lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8168____closed__22); +l___kind_term____x40_Init_Notation___hyg_8795____closed__1 = _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__1(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_8795____closed__1); +l___kind_term____x40_Init_Notation___hyg_8795____closed__2 = _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__2(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_8795____closed__2); +l___kind_term____x40_Init_Notation___hyg_8795____closed__3 = _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__3(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_8795____closed__3); +l___kind_term____x40_Init_Notation___hyg_8795____closed__4 = _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__4(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_8795____closed__4); +l___kind_term____x40_Init_Notation___hyg_8795____closed__5 = _init_l___kind_term____x40_Init_Notation___hyg_8795____closed__5(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_8795____closed__5); +l___kind_term____x40_Init_Notation___hyg_8795_ = _init_l___kind_term____x40_Init_Notation___hyg_8795_(); +lean_mark_persistent(l___kind_term____x40_Init_Notation___hyg_8795_); +l_myMacro____x40_Init_Notation___hyg_8830____closed__1 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__1(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__1); +l_myMacro____x40_Init_Notation___hyg_8830____closed__2 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__2(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__2); +l_myMacro____x40_Init_Notation___hyg_8830____closed__3 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__3(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__3); +l_myMacro____x40_Init_Notation___hyg_8830____closed__4 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__4(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__4); +l_myMacro____x40_Init_Notation___hyg_8830____closed__5 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__5(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__5); +l_myMacro____x40_Init_Notation___hyg_8830____closed__6 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__6(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__6); +l_myMacro____x40_Init_Notation___hyg_8830____closed__7 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__7(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__7); +l_myMacro____x40_Init_Notation___hyg_8830____closed__8 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__8(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__8); +l_myMacro____x40_Init_Notation___hyg_8830____closed__9 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__9(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__9); +l_myMacro____x40_Init_Notation___hyg_8830____closed__10 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__10(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__10); +l_myMacro____x40_Init_Notation___hyg_8830____closed__11 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__11(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__11); +l_myMacro____x40_Init_Notation___hyg_8830____closed__12 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__12(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__12); +l_myMacro____x40_Init_Notation___hyg_8830____closed__13 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__13(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__13); +l_myMacro____x40_Init_Notation___hyg_8830____closed__14 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__14(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__14); +l_myMacro____x40_Init_Notation___hyg_8830____closed__15 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__15(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__15); +l_myMacro____x40_Init_Notation___hyg_8830____closed__16 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__16(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__16); +l_myMacro____x40_Init_Notation___hyg_8830____closed__17 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__17(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__17); +l_myMacro____x40_Init_Notation___hyg_8830____closed__18 = _init_l_myMacro____x40_Init_Notation___hyg_8830____closed__18(); +lean_mark_persistent(l_myMacro____x40_Init_Notation___hyg_8830____closed__18); l_Lean_Parser_Tactic_intro___closed__1 = _init_l_Lean_Parser_Tactic_intro___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_intro___closed__1); l_Lean_Parser_Tactic_intro___closed__2 = _init_l_Lean_Parser_Tactic_intro___closed__2(); @@ -21519,10 +21843,6 @@ l_Lean_Parser_Tactic_let___closed__6 = _init_l_Lean_Parser_Tactic_let___closed__ lean_mark_persistent(l_Lean_Parser_Tactic_let___closed__6); l_Lean_Parser_Tactic_let___closed__7 = _init_l_Lean_Parser_Tactic_let___closed__7(); lean_mark_persistent(l_Lean_Parser_Tactic_let___closed__7); -l_Lean_Parser_Tactic_let___closed__8 = _init_l_Lean_Parser_Tactic_let___closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_let___closed__8); -l_Lean_Parser_Tactic_let___closed__9 = _init_l_Lean_Parser_Tactic_let___closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_let___closed__9); l_Lean_Parser_Tactic_let = _init_l_Lean_Parser_Tactic_let(); lean_mark_persistent(l_Lean_Parser_Tactic_let); l_Lean_Parser_Tactic_let_x21___closed__1 = _init_l_Lean_Parser_Tactic_let_x21___closed__1(); @@ -21789,194 +22109,182 @@ l_Lean_Parser_Tactic_existsIntro___closed__6 = _init_l_Lean_Parser_Tactic_exists lean_mark_persistent(l_Lean_Parser_Tactic_existsIntro___closed__6); l_Lean_Parser_Tactic_existsIntro = _init_l_Lean_Parser_Tactic_existsIntro(); lean_mark_persistent(l_Lean_Parser_Tactic_existsIntro); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__6); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__7); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__8); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__9); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506____closed__10); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10506_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__9); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__9); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__10); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__11); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__9); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__10); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__11); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__6); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__7); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__8); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11244_); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__6); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__8); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__9); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__10); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__12); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__13); -l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14(); -lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__14); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__1); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__3); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__4); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__5); -l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_(); -lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621_); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__6); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__7); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__8); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__9 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__9); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__10 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729____closed__10); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10729_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__9); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__9); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__10); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__11); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__9); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__10); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__11 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__11); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__6 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__6); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__7 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__7); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__8 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__8); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11467_); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__4 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__4); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__5 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__5); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__6 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__6); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__8 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__8); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__9 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__9); +l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__10 = _init_l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__10); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__1 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__1); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__3 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__3); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__4 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__4); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__5 = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__5); +l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844_ = _init_l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844_(); +lean_mark_persistent(l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844_); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index 1a2f20ca23..b51d879231 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -16,7 +16,6 @@ extern "C" { extern lean_object* l_Lean_Parser_Tactic_orelse___closed__4; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_901____closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__6; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1627____closed__11; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_expandExplicitBindersAux_loop___closed__5; @@ -107,6 +106,7 @@ lean_object* l___kind_tactic____x40_Init_NotationExtra___hyg_1583____closed__5; lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____boxed(lean_object*, lean_object*, lean_object*); lean_object* l_myMacro____x40_Init_NotationExtra___hyg_1273____closed__2; lean_object* l_Lean_expandBrackedBindersAux_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__9; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1469____closed__4; @@ -120,6 +120,7 @@ lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__6; uint8_t l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1(lean_object*, lean_object*, size_t, size_t); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_859____closed__6; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__16; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983____closed__1; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__3; size_t lean_usize_of_nat(lean_object*); @@ -151,7 +152,6 @@ lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231_; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1107_; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_983_; lean_object* l___kind_term____x40_Init_NotationExtra___hyg_1231____closed__4; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__2; @@ -2588,7 +2588,7 @@ lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); x_31 = l_Array_empty___closed__1; x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +x_33 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; x_34 = lean_array_push(x_32, x_33); x_35 = l_Lean_instInhabitedSyntax; x_36 = lean_unsigned_to_nat(0u); @@ -2625,7 +2625,7 @@ x_56 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_56, 0, x_39); lean_ctor_set(x_56, 1, x_55); x_57 = lean_array_push(x_31, x_56); -x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_58 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -2660,7 +2660,7 @@ lean_ctor_set(x_72, 0, x_71); lean_ctor_set(x_72, 1, x_70); x_73 = l_Array_empty___closed__1; x_74 = lean_array_push(x_73, x_72); -x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +x_75 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; x_76 = lean_array_push(x_74, x_75); x_77 = l_Lean_instInhabitedSyntax; x_78 = lean_unsigned_to_nat(0u); @@ -2682,7 +2682,7 @@ x_88 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_88, 0, x_81); lean_ctor_set(x_88, 1, x_87); x_89 = lean_array_push(x_73, x_88); -x_90 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_90 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); diff --git a/stage0/stdlib/Init/System/IO.c b/stage0/stdlib/Init/System/IO.c index 4025db9dae..e4fa8313b5 100644 --- a/stage0/stdlib/Init/System/IO.c +++ b/stage0/stdlib/Init/System/IO.c @@ -229,7 +229,6 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__9; lean_object* l_EStateM_instMonadFinallyEStateM(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_IO_FS_Stream_ofHandle___elambda__2___boxed(lean_object*, lean_object*); lean_object* l_IO_initializing___boxed(lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__7; lean_object* lean_stream_of_handle(lean_object*); extern lean_object* l_instMonadExceptOfEST___closed__2; lean_object* l_IO_Prim_iterate(lean_object*); @@ -427,6 +426,7 @@ lean_object* l_IO_withStderr___rarg___lambda__1(lean_object*, lean_object*, lean lean_object* l_IO_print___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_EIO_catchExceptions_match__1(lean_object*, lean_object*, lean_object*); uint8_t l_IO_AccessRight_execution___default; +extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_IO_Prim_fopenFlags___closed__2; lean_object* l_Lean_instEvalIO(lean_object*); lean_object* l_IO_withStdout___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1521,7 +1521,7 @@ static lean_object* _init_l_IO_Prim_fopenFlags___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__7; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; x_2 = l_IO_Prim_fopenFlags___closed__2; x_3 = lean_string_append(x_1, x_2); return x_3; @@ -1531,7 +1531,7 @@ static lean_object* _init_l_IO_Prim_fopenFlags___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__7; +x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; x_2 = l_IO_Prim_fopenFlags___closed__4; x_3 = lean_string_append(x_1, x_2); return x_3; diff --git a/stage0/stdlib/Lean/Compiler/IR/EmitC.c b/stage0/stdlib/Lean/Compiler/IR/EmitC.c index 6d4961e28b..a034f677db 100644 --- a/stage0/stdlib/Lean/Compiler/IR/EmitC.c +++ b/stage0/stdlib/Lean/Compiler/IR/EmitC.c @@ -110,6 +110,7 @@ extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_IR_EmitC_emitBoxFn_match__1(lean_object*); lean_object* l_Lean_IR_EmitC_emitSProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitSSet_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__15; lean_object* l_Nat_forM_loop___at_Lean_IR_EmitC_emitJmp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_getEnv___boxed(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_toCType___closed__5; @@ -489,7 +490,6 @@ lean_object* l_List_forM___at_Lean_IR_EmitC_emitFns___spec__1(lean_object*, lean lean_object* l_Lean_IR_emitC_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isIOUnitInitFn(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitMainFn___lambda__2___closed__27; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_getExternEntryFor(lean_object*, lean_object*); lean_object* l_Lean_IR_EmitC_emitNumLit___closed__1; lean_object* l_Lean_IR_EmitC_emitSSet___closed__5; @@ -2281,7 +2281,7 @@ lean_object* l_Lean_IR_EmitC_emitFnDeclAux___lambda__1(lean_object* x_1, lean_ob _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_4 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_5 = lean_string_append(x_3, x_4); x_6 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_7 = lean_string_append(x_5, x_6); @@ -6079,7 +6079,7 @@ x_24 = l_Lean_IR_EmitC_emitArg(x_16, x_5, x_23); x_25 = lean_ctor_get(x_24, 1); lean_inc(x_25); lean_dec(x_24); -x_26 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_26 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_27 = lean_string_append(x_25, x_26); x_28 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_29 = lean_string_append(x_27, x_28); @@ -6130,7 +6130,7 @@ x_16 = lean_string_append(x_15, x_14); lean_dec(x_14); x_17 = lean_string_append(x_13, x_16); lean_dec(x_16); -x_18 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_18 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_19 = lean_string_append(x_17, x_18); x_20 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_21 = lean_string_append(x_19, x_20); @@ -6153,7 +6153,7 @@ x_28 = lean_string_append(x_27, x_26); lean_dec(x_26); x_29 = lean_string_append(x_25, x_28); lean_dec(x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_31 = lean_string_append(x_29, x_30); x_32 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_33 = lean_string_append(x_31, x_32); @@ -6989,7 +6989,7 @@ x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); x_22 = lean_string_append(x_21, x_10); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_23 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_24 = lean_string_append(x_22, x_23); x_25 = lean_string_append(x_24, x_14); x_26 = l_Lean_IR_EmitC_emitMainFn___lambda__1___closed__4; @@ -7128,7 +7128,7 @@ lean_inc(x_29); lean_dec(x_28); x_30 = lean_string_append(x_29, x_12); lean_dec(x_12); -x_31 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_31 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_32 = lean_string_append(x_30, x_31); x_33 = lean_string_append(x_32, x_16); if (x_4 == 0) @@ -8049,7 +8049,7 @@ x_26 = l_Lean_expandExternPattern(x_24, x_25); lean_dec(x_25); x_27 = lean_string_append(x_6, x_26); lean_dec(x_26); -x_28 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_28 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_29 = lean_string_append(x_27, x_28); x_30 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_31 = lean_string_append(x_29, x_30); @@ -9558,7 +9558,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean x_11 = lean_ctor_get(x_9, 1); x_12 = lean_ctor_get(x_9, 0); lean_dec(x_12); -x_13 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_13 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_14 = lean_string_append(x_11, x_13); x_15 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_16 = lean_string_append(x_14, x_15); @@ -9573,7 +9573,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean x_18 = lean_ctor_get(x_9, 1); lean_inc(x_18); lean_dec(x_9); -x_19 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_19 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_20 = lean_string_append(x_18, x_19); x_21 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_22 = lean_string_append(x_20, x_21); @@ -10591,7 +10591,7 @@ x_25 = l_Lean_IR_EmitC_emitArg(x_16, x_5, x_24); x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_28 = lean_string_append(x_26, x_27); x_29 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_30 = lean_string_append(x_28, x_29); @@ -10668,7 +10668,7 @@ x_27 = l_Lean_IR_EmitC_emitArg(x_16, x_5, x_26); x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_30 = lean_string_append(x_28, x_29); x_31 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_32 = lean_string_append(x_30, x_31); @@ -10743,7 +10743,7 @@ x_24 = lean_string_append(x_22, x_23); x_25 = l_Nat_repr(x_12); x_26 = lean_string_append(x_24, x_25); lean_dec(x_25); -x_27 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_27 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_28 = lean_string_append(x_26, x_27); x_29 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_30 = lean_string_append(x_28, x_29); @@ -12172,7 +12172,7 @@ lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lea x_97 = lean_ctor_get(x_95, 1); x_98 = lean_ctor_get(x_95, 0); lean_dec(x_98); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_99 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_100 = lean_string_append(x_97, x_99); x_101 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_102 = lean_string_append(x_100, x_101); @@ -12187,7 +12187,7 @@ lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; x_104 = lean_ctor_get(x_95, 1); lean_inc(x_104); lean_dec(x_95); -x_105 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_105 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_106 = lean_string_append(x_104, x_105); x_107 = l___private_Lean_Data_Format_0__Lean_Format_pushNewline___closed__1; x_108 = lean_string_append(x_106, x_107); diff --git a/stage0/stdlib/Lean/Compiler/IR/Format.c b/stage0/stdlib/Lean/Compiler/IR/Format.c index a2924bab81..493923138a 100644 --- a/stage0/stdlib/Lean/Compiler/IR/Format.c +++ b/stage0/stdlib/Lean/Compiler/IR/Format.c @@ -48,7 +48,9 @@ lean_object* l_Lean_IR_formatAlt___closed__1; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__8; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__17; lean_object* l_Lean_IR_formatFnBodyHead___closed__24; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__15; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr___closed__22; +extern lean_object* l_Lean_Parser_Tactic_let___closed__2; lean_object* l_Lean_IR_instToStringIRType___closed__1; lean_object* l_Lean_IR_formatFnBody_loop(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatExpr_match__1___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*, lean_object*, lean_object*, lean_object*); @@ -140,7 +142,6 @@ lean_object* l_Lean_IR_instToStringFnBody(lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_IR_instToFormatParam___closed__1; lean_object* l_Lean_IR_formatFnBodyHead___closed__31; -extern lean_object* l_Lean_Parser_Tactic_let___closed__3; lean_object* l_Lean_IR_formatFnBody_loop___closed__4; lean_object* lean_ir_decl_to_string(lean_object*); lean_object* l_Lean_IR_formatFnBodyHead___closed__27; @@ -184,7 +185,6 @@ lean_object* l_Lean_IR_formatFnBodyHead___closed__5; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__15; lean_object* l_Lean_IR_formatFnBodyHead___closed__30; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType___closed__18; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l___private_Lean_Compiler_IR_Format_0__Lean_IR_formatIRType_match__1___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*); lean_object* l_Lean_IR_formatFnBodyHead___closed__28; extern lean_object* l_Lean_Format_paren___closed__4; @@ -3247,7 +3247,7 @@ static lean_object* _init_l_Lean_IR_formatFnBodyHead___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_let___closed__3; +x_1 = l_Lean_Parser_Tactic_let___closed__2; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -4477,7 +4477,7 @@ static lean_object* _init_l_Lean_IR_formatFnBody_loop___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Data/Format.c b/stage0/stdlib/Lean/Data/Format.c index e7c2b8d7d6..0f88b23967 100644 --- a/stage0/stdlib/Lean/Data/Format.c +++ b/stage0/stdlib/Lean/Data/Format.c @@ -227,10 +227,10 @@ lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instToFormatUInt16(uint16_t); lean_object* l_Lean_formatDataValue_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_List_format_match__1___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; lean_object* l_Lean_Format_paren___closed__4; lean_object* l_Lean_Format_initFn____x40_Lean_Data_Format___hyg_974____closed__5; lean_object* l_Lean_Format_getWidth___closed__4; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_instReprFormat___closed__1; lean_object* l_Lean_Format_instInhabitedFormat; lean_object* l_Lean_Format_instAppendFormat(lean_object*, lean_object*); @@ -6227,7 +6227,7 @@ static lean_object* _init_l_Lean_formatEntry___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Delaborator.c b/stage0/stdlib/Lean/Delaborator.c index 7a5e0f6671..f43587e295 100644 --- a/stage0/stdlib/Lean/Delaborator.c +++ b/stage0/stdlib/Lean/Delaborator.c @@ -24,12 +24,14 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_4665____closed__1; lean_object* l_Lean_Delaborator_delabseqRight___closed__1; extern lean_object* l_myMacro____x40_Init_Data_Array_Basic___hyg_3332____closed__9; extern lean_object* l_Lean_Name_toString___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; lean_object* l_Lean_Delaborator_delabDoElems___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabConst___lambda__1___closed__3; lean_object* l_Lean_Delaborator_delabDoElems___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabEq(lean_object*); lean_object* l_Lean_Delaborator_withAppFn___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabOfNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__13; lean_object* l_Lean_Delaborator_delabseq___lambda__1___closed__1; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_delabBinders___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_withProj(lean_object*); @@ -77,6 +79,7 @@ extern lean_object* l_addParenHeuristic___closed__2; lean_object* l_Lean_Delaborator_delabSort___closed__12; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabLE___lambda__1___closed__4; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7; lean_object* l___regBuiltin_Lean_Delaborator_delabConsList___closed__1; extern lean_object* l_Lean_withIncRecDepth___rarg___lambda__2___closed__2; lean_object* l_Lean_Delaborator_delabSort_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -106,7 +109,6 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabDiv___closed__1; lean_object* l_Lean_Delaborator_AppMatchState_moreArgs___default; lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___closed__1; lean_object* l_Lean_Delaborator_delabAnd___closed__1; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_shouldGroupWithNext_match__1(lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabMod___lambda__1___closed__2; @@ -162,6 +164,7 @@ lean_object* l___regBuiltin_Lean_Delaborator_delabMData___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Delaborator_withProj___rarg___closed__2; lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l_Lean_Delaborator_delabseqRight___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabLam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_whenNotPPOption(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -191,7 +194,6 @@ lean_object* l_Lean_Delaborator_delabEquiv___lambda__1(uint8_t, lean_object*, le lean_object* l_Lean_Delaborator_delabListToArray___closed__2; lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__2; @@ -216,6 +218,7 @@ lean_object* l_Array_zipWithAux___at_Lean_Delaborator_delabAppMatch___spec__4___ lean_object* l_Lean_Delaborator_delabAnd___lambda__1___closed__2; lean_object* l_Lean_Level_quote___lambda__6___closed__1; extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l_Lean_Delaborator_delabFComp___lambda__1___closed__1; lean_object* l_Lean_Delaborator_withAppArg(lean_object*); lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -393,6 +396,7 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5372____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__4; lean_object* l_Lean_Delaborator_delabTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_orElse___rarg(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_8830____closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabBind(lean_object*); lean_object* l_Lean_Delaborator_delabMap___lambda__1___boxed(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_8168____closed__8; @@ -572,6 +576,7 @@ extern lean_object* l_Lean_Level_LevelToFormat_Result_format___closed__2; lean_object* l_Lean_Delaborator_withBindingBodyUnusedName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabCons(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_initFn____x40_Lean_Delaborator___hyg_574____closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; lean_object* l_Lean_Delaborator_delabDo___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__1; lean_object* l_Lean_Delaborator_delabseq___closed__1; @@ -708,6 +713,7 @@ lean_object* l_Lean_Delaborator_delabLetE___lambda__1___boxed(lean_object*, lean lean_object* l_Lean_Delaborator_delabBEq___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_Delaborator_delabLE___lambda__1___closed__1; lean_object* l_Lean_Delaborator_delabIff(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; uint8_t l_Lean_getPPStructureInstanceType(lean_object*); lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__10; lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); @@ -754,7 +760,6 @@ extern lean_object* l___kind_term____x40_Init_Notation___hyg_3833____closed__1; lean_object* l_Lean_Delaborator_delabEq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapIdxM_map___at___private_Lean_Delaborator_0__Lean_Delaborator_delabPatterns___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; lean_object* l_Array_mapIdxM_map___at_Lean_Delaborator_delabStructureInstance___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabOrElse___closed__1; @@ -773,7 +778,6 @@ lean_object* l_Lean_Delaborator_delabBVar_match__1(lean_object*); lean_object* l_Lean_Level_quote___lambda__9(lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__12; lean_object* l_Lean_getPPStructureInstances___closed__2; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Lean_Delaborator_withProj___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_elabProp___closed__2; lean_object* l_Lean_Delaborator_instAlternativeDelabM___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1033,6 +1037,7 @@ lean_object* l_Lean_Meta_throwUnknownFVar___rarg(lean_object*, lean_object*, lea lean_object* l_Lean_Delaborator_instAlternativeDelabM; lean_object* l_Lean_Delaborator_delabAppImplicit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_2184____closed__1; +extern lean_object* l_Lean_Meta_evalNat_visit___closed__1; lean_object* l_Lean_Delaborator_delabBVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isExplicit(uint8_t); lean_object* l_Lean_Delaborator_instMonadQuotationDelabM___closed__4; @@ -1093,9 +1098,7 @@ lean_object* l_Lean_Delaborator_delabTuple___lambda__1___closed__3; lean_object* l_Lean_getPPAll___boxed(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__16; lean_object* l_Lean_Delaborator_withAppFnArgs_match__2(lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l___regBuiltin_Lean_Delaborator_delabGT___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Lean_Delaborator_delabStructureInstance_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Level_quote___lambda__1(lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Delaborator_hasIdent___spec__1(lean_object*, lean_object*, size_t, size_t); @@ -1204,7 +1207,6 @@ lean_object* l_Lean_Delaborator_delabInfixOp(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Delaborator_delabMul___closed__1; extern lean_object* l_Lean_mkOptionalNode___closed__1; extern lean_object* l___kind_term____x40_Init_Notation___hyg_4833____closed__1; -extern lean_object* l_Lean_Meta_evalNat___closed__1; lean_object* l_Lean_getPPNotation___closed__2; lean_object* l___regBuiltin_Lean_Delaborator_delabLit___closed__1; lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__15; @@ -1249,7 +1251,6 @@ lean_object* l_Lean_Delaborator_delabSort___closed__8; lean_object* l_Lean_Delaborator_delabAndThen___lambda__1___closed__1; lean_object* l_Lean_delab___closed__4; lean_object* l_Lean_Level_quote___closed__5; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Delaborator_delabProj___closed__4; lean_object* l___private_Lean_Delaborator_0__Lean_Delaborator_skippingBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Delaborator_delabIff(lean_object*); @@ -1397,7 +1398,6 @@ lean_object* l_Lean_Delaborator_delabPow___closed__1; lean_object* l_Lean_Delaborator_delabAppMatch___lambda__3___closed__13; lean_object* l_Lean_Delaborator_delabDoElems_delabAndRet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Delaborator_delabSort___closed__11; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_getPPPrivateNames___closed__1; lean_object* l_Lean_Delaborator_delabBNot___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); @@ -10234,7 +10234,7 @@ lean_dec(x_1); x_12 = lean_ctor_get(x_3, 1); lean_inc(x_12); lean_dec(x_3); -x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_14 = lean_local_ctx_get_unused_name(x_12, x_13); x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); @@ -25201,24 +25201,24 @@ x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); x_42 = lean_array_push(x_34, x_41); -x_43 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_43 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_44 = lean_array_push(x_42, x_43); x_45 = lean_array_push(x_44, x_24); -x_46 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_46 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); x_48 = lean_array_push(x_31, x_47); -x_49 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_49 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); -x_51 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_51 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_52 = lean_array_push(x_51, x_50); -x_53 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_53 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_54 = lean_array_push(x_52, x_53); x_55 = lean_array_push(x_54, x_29); -x_56 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_56 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_57 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_57, 0, x_56); lean_ctor_set(x_57, 1, x_55); @@ -25250,24 +25250,24 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); x_72 = lean_array_push(x_64, x_71); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_73 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_24); -x_76 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_76 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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_61, x_77); -x_79 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); -x_81 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_81 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_83 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_58); -x_86 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_86 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); @@ -25802,7 +25802,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Delaborator_getExprKind___closed__5; -x_2 = l_Lean_Meta_evalNat___closed__1; +x_2 = l_Lean_Meta_evalNat_visit___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -26872,7 +26872,7 @@ static lean_object* _init_l_Lean_Delaborator_delabStructureInstance___lambda__2_ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; x_2 = l_Lean_mkAtom(x_1); return x_2; } @@ -32696,7 +32696,7 @@ _start: lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_10 = l_Array_empty___closed__1; x_11 = lean_array_push(x_10, x_2); -x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__11; +x_12 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__7; x_13 = lean_array_push(x_11, x_12); x_14 = lean_array_push(x_13, x_3); x_15 = l___kind_term____x40_Init_Notation___hyg_4497____closed__1; @@ -34708,7 +34708,7 @@ static lean_object* _init_l_Lean_Delaborator_delabDoElems___lambda__1___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -34735,15 +34735,15 @@ x_22 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); x_23 = lean_array_push(x_15, x_22); -x_24 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_24 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_25 = lean_array_push(x_23, x_24); x_26 = lean_array_push(x_25, x_3); -x_27 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_27 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); x_29 = lean_array_push(x_12, x_28); -x_30 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 55a0cbe129..cf4ce01f96 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -24,6 +24,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddN lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___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* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___boxed(lean_object*); extern lean_object* l_Lean_fieldIdxKind; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__3___closed__2; lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -33,7 +34,6 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__9; lean_object* l_List_tail_x21___rarg(lean_object*); extern lean_object* l_Lean_Syntax_strLitToAtom___closed__3; lean_object* l_Lean_registerTraceClass(lean_object*, lean_object*); -lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_Elab_Term_instInhabitedNamedArg___closed__1; lean_object* l_Lean_Syntax_isNatLitAux(lean_object*, lean_object*); @@ -103,19 +103,18 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab extern lean_object* l_Array_empty___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Elab_Term_ElabAppArgs_State_typeMVars___default; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__12; lean_object* l_Lean_Meta_mkArrow___at___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___spec__1(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_tryCoeFun_x3f___closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasArgsToProcess___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandApp_match__2(lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__5___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabApp___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_match__1(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; -lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4___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__10; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,7 +122,7 @@ lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux(lean_objec lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2(lean_object*); lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__13___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_List_append___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(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_propagateExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg_match__1___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -165,6 +164,7 @@ lean_object* l_ReaderT_bind___at_Lean_Meta_instMonadLCtxMetaM___spec__2___rarg(l 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_ElabAppArgs_processExplictArg___closed__1; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_CheckAssignment_addAssignmentInfo___rarg___closed__3; +lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__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_consumeImplicits_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandApp___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* l_Lean_Elab_Term_synthesizeAppInstMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -202,7 +202,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExpl lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs___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_nat_add(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(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_ensureHasType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isExprDefEqImp(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___lambda__1(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*); @@ -227,14 +226,12 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams(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__7; -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType___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_elabAppLValsAux_loop___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___rarg___closed__1; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__2___closed__3; lean_object* l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___lambda__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__4; lean_object* l_Lean_Elab_Term_addNamedArg___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___private_Lean_Elab_App_0__Lean_Elab_Term_isSuccess_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -244,7 +241,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addInstMVar lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___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_Lean_Meta_getLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkProj(lean_object*, lean_object*, lean_object*); @@ -281,7 +277,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData___boxed(l lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLVals___closed__2; lean_object* l_List_filterAux___at_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_FindMVar_visit(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__9; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_toMessageData_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_normalizeFunType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -299,6 +294,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop_match__ lean_object* l_Lean_Elab_Term_addNamedArg___closed__3; lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__6(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___rarg___boxed__const__1; +lean_object* l_Lean_Meta_isExprDefEq___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_processExplictArg_match__3(lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); @@ -312,14 +308,11 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddN lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___boxed(lean_object**); lean_object* l___private_Lean_Meta_WHNF_0__Lean_Meta_unfoldDefinitionImp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___lambda__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandApp_match__3___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___lambda__1___closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs___closed__4; lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg(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_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f___closed__2; lean_object* l_Lean_Elab_Term_ElabAppArgs_main_match__3___rarg(lean_object*, lean_object*, lean_object*); @@ -353,7 +346,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppArgs___closed__2 lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ElabAppArgs_State_instMVars___default; -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(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_toMessageData_match__1(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNamedPattern(lean_object*); @@ -366,7 +358,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice(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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasArgsToProcess(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(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__5(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(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_propagateExpectedType_match__2(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -385,6 +376,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__2___rarg(lean_object*, lean_object*); lean_object* l_List_foldlM___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFnId___spec__2(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*, lean_object*); +uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1; 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*); @@ -416,6 +408,7 @@ lean_object* l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop(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_elabAppLVals___closed__3; uint8_t l_Lean_Expr_Data_binderInfo(uint64_t); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor_match__1(lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1___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_Elab_Term_getFVarLocalDecl_x21___closed__1; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -460,8 +453,10 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___lambda__2( lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___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___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg_match__4(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__13; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3___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_ElabAppArgs_hasOptAutoParams___lambda__1___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_Expr_instInhabitedExpr; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__21; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__8; @@ -521,7 +516,6 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_findMethod_x3f_match__2 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* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__4___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_throwInvalidNamedArg___rarg___closed__5; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabExplicit___closed__1; @@ -540,7 +534,9 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_Elab 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; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValLoop___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_addTrace___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*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___spec__1___closed__2; lean_object* l_Lean_Elab_Term_elabExplicitUniv(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_processExplictArg___closed__6; @@ -548,9 +544,7 @@ lean_object* l_Lean_Elab_Term_instToStringArg_match__1___rarg(lean_object*, lean lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabExplicitUnivs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___spec__1___rarg___lambda__1(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_processExplictArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -563,7 +557,7 @@ lean_object* l_Lean_Elab_getRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Ter lean_object* l___regBuiltin_Lean_Elab_Term_elabChoice___closed__1; 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_7561_(lean_object*); +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7562_(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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__12; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); @@ -623,6 +617,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_getSuccess___boxed(lean lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___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*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__3; +lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentD(lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_App_0__Lean_Elab_Term_mergeFailures___spec__1___closed__1; lean_object* l_Lean_Elab_Term_ElabAppArgs_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -660,8 +655,6 @@ extern lean_object* l_Lean_Expr_ctorName___closed__11; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___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_unsafeCast(lean_object*, lean_object*, lean_object*); -lean_object* l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2___boxed(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__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandApp___spec__1___closed__4; lean_object* l_List_lengthAux___rarg(lean_object*, lean_object*); @@ -686,6 +679,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateEx lean_object* l_Lean_Elab_Term_expandPipeProj(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__14; lean_object* l___regBuiltin_Lean_Elab_Term_elabIdent___closed__1; +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(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_elabAppAux___closed__1; @@ -701,6 +695,7 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Te lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppAux___closed__2; lean_object* l_Lean_Elab_Term_ensureHasTypeAux(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___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop_match__5(lean_object*); +extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; lean_object* l_Array_insertAt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4___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_throwLValError(lean_object*); @@ -714,6 +709,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLValAux___closed lean_object* l___regBuiltin_Lean_Elab_Term_expandPipeProj___closed__1; extern lean_object* l_Lean_Meta_throwLetTypeMismatchMessage___rarg___closed__8; lean_object* l_Lean_Name_components(lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_findSomeM_x3f___rarg___closed__1; lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_addLValArg___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); @@ -721,7 +717,7 @@ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppLValsAux_loop___ lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_match__1___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_importModules___closed__2; lean_object* l_Lean_Elab_Term_addNamedArg___closed__4; -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__5; lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__1; lean_object* l_Lean_Elab_Term_elabExplicitUnivs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -847,7 +843,7 @@ x_4 = l_Lean_Name_toStringWithSep(x_3, x_2); x_5 = l_myMacro____x40_Init_Notation___hyg_5739____closed__9; x_6 = lean_string_append(x_5, x_4); lean_dec(x_4); -x_7 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_7 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_8 = lean_string_append(x_6, x_7); x_9 = lean_ctor_get(x_1, 2); lean_inc(x_9); @@ -1948,14 +1944,6 @@ x_1 = l_Array_empty___closed__1; return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_ElabAppArgs_State_typeMVars___default() { -_start: -{ -lean_object* x_1; -x_1 = l_Array_empty___closed__1; -return x_1; -} -} static uint8_t _init_l_Lean_Elab_Term_ElabAppArgs_State_alreadyPropagated___default() { _start: { @@ -2011,20 +1999,18 @@ return x_24; } else { -uint8_t 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; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_25 = lean_ctor_get_uint8(x_13, sizeof(void*)*9); +uint8_t 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; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_25 = lean_ctor_get_uint8(x_13, sizeof(void*)*8); x_26 = lean_ctor_get(x_13, 0); x_27 = lean_ctor_get(x_13, 1); x_28 = lean_ctor_get(x_13, 2); x_29 = lean_ctor_get(x_13, 3); -x_30 = lean_ctor_get_uint8(x_13, sizeof(void*)*9 + 1); +x_30 = lean_ctor_get_uint8(x_13, sizeof(void*)*8 + 1); x_31 = lean_ctor_get(x_13, 4); x_32 = lean_ctor_get(x_13, 5); x_33 = lean_ctor_get(x_13, 6); x_34 = lean_ctor_get(x_13, 7); -x_35 = lean_ctor_get(x_13, 8); -x_36 = lean_ctor_get_uint8(x_13, sizeof(void*)*9 + 2); -lean_inc(x_35); +x_35 = lean_ctor_get_uint8(x_13, sizeof(void*)*8 + 2); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); @@ -2034,40 +2020,39 @@ lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_dec(x_13); -x_37 = lean_array_push(x_34, x_1); -x_38 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_38, 0, x_26); -lean_ctor_set(x_38, 1, x_27); -lean_ctor_set(x_38, 2, x_28); -lean_ctor_set(x_38, 3, x_29); -lean_ctor_set(x_38, 4, x_31); -lean_ctor_set(x_38, 5, x_32); -lean_ctor_set(x_38, 6, x_33); -lean_ctor_set(x_38, 7, x_37); -lean_ctor_set(x_38, 8, x_35); -lean_ctor_set_uint8(x_38, sizeof(void*)*9, x_25); -lean_ctor_set_uint8(x_38, sizeof(void*)*9 + 1, x_30); -lean_ctor_set_uint8(x_38, sizeof(void*)*9 + 2, x_36); -x_39 = lean_st_ref_set(x_2, x_38, x_14); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_41 = x_39; +x_36 = lean_array_push(x_34, x_1); +x_37 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_37, 0, x_26); +lean_ctor_set(x_37, 1, x_27); +lean_ctor_set(x_37, 2, x_28); +lean_ctor_set(x_37, 3, x_29); +lean_ctor_set(x_37, 4, x_31); +lean_ctor_set(x_37, 5, x_32); +lean_ctor_set(x_37, 6, x_33); +lean_ctor_set(x_37, 7, x_36); +lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_25); +lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 1, x_30); +lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 2, x_35); +x_38 = lean_st_ref_set(x_2, x_37, x_14); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; } else { - lean_dec_ref(x_39); - x_41 = lean_box(0); + lean_dec_ref(x_38); + x_40 = lean_box(0); } -x_42 = lean_box(0); -if (lean_is_scalar(x_41)) { - x_43 = lean_alloc_ctor(0, 2, 0); +x_41 = lean_box(0); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); } else { - x_43 = x_41; + x_42 = x_40; } -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -return x_43; +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; } } } @@ -2131,19 +2116,17 @@ return x_25; } else { -uint8_t 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; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_26 = lean_ctor_get_uint8(x_18, sizeof(void*)*9); +uint8_t 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; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_26 = lean_ctor_get_uint8(x_18, sizeof(void*)*8); x_27 = lean_ctor_get(x_18, 0); x_28 = lean_ctor_get(x_18, 1); x_29 = lean_ctor_get(x_18, 2); x_30 = lean_ctor_get(x_18, 3); -x_31 = lean_ctor_get_uint8(x_18, sizeof(void*)*9 + 1); +x_31 = lean_ctor_get_uint8(x_18, sizeof(void*)*8 + 1); x_32 = lean_ctor_get(x_18, 4); x_33 = lean_ctor_get(x_18, 5); x_34 = lean_ctor_get(x_18, 6); -x_35 = lean_ctor_get(x_18, 8); -x_36 = lean_ctor_get_uint8(x_18, sizeof(void*)*9 + 2); -lean_inc(x_35); +x_35 = lean_ctor_get_uint8(x_18, sizeof(void*)*8 + 2); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); @@ -2152,27 +2135,26 @@ lean_inc(x_29); lean_inc(x_28); lean_inc(x_27); lean_dec(x_18); -x_37 = l_Array_empty___closed__1; -x_38 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_38, 0, x_27); -lean_ctor_set(x_38, 1, x_28); -lean_ctor_set(x_38, 2, x_29); -lean_ctor_set(x_38, 3, x_30); -lean_ctor_set(x_38, 4, x_32); -lean_ctor_set(x_38, 5, x_33); -lean_ctor_set(x_38, 6, x_34); -lean_ctor_set(x_38, 7, x_37); -lean_ctor_set(x_38, 8, x_35); -lean_ctor_set_uint8(x_38, sizeof(void*)*9, x_26); -lean_ctor_set_uint8(x_38, sizeof(void*)*9 + 1, x_31); -lean_ctor_set_uint8(x_38, sizeof(void*)*9 + 2, x_36); -x_39 = lean_st_ref_set(x_1, x_38, x_19); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = l_Lean_Elab_Term_synthesizeAppInstMVars(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_40); +x_36 = l_Array_empty___closed__1; +x_37 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_37, 0, x_27); +lean_ctor_set(x_37, 1, x_28); +lean_ctor_set(x_37, 2, x_29); +lean_ctor_set(x_37, 3, x_30); +lean_ctor_set(x_37, 4, x_32); +lean_ctor_set(x_37, 5, x_33); +lean_ctor_set(x_37, 6, x_34); +lean_ctor_set(x_37, 7, x_36); +lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_26); +lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 1, x_31); +lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 2, x_35); +x_38 = lean_st_ref_set(x_1, x_37, x_19); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = l_Lean_Elab_Term_synthesizeAppInstMVars(x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_39); lean_dec(x_14); -return x_41; +return x_40; } } } @@ -3598,18 +3580,16 @@ return x_62; } else { -uint8_t x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_63 = lean_ctor_get_uint8(x_53, sizeof(void*)*9); +uint8_t x_63; lean_object* x_64; lean_object* x_65; uint8_t 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_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_63 = lean_ctor_get_uint8(x_53, sizeof(void*)*8); x_64 = lean_ctor_get(x_53, 2); x_65 = lean_ctor_get(x_53, 3); -x_66 = lean_ctor_get_uint8(x_53, sizeof(void*)*9 + 1); +x_66 = lean_ctor_get_uint8(x_53, sizeof(void*)*8 + 1); x_67 = lean_ctor_get(x_53, 4); x_68 = lean_ctor_get(x_53, 5); x_69 = lean_ctor_get(x_53, 6); x_70 = lean_ctor_get(x_53, 7); -x_71 = lean_ctor_get(x_53, 8); -x_72 = lean_ctor_get_uint8(x_53, sizeof(void*)*9 + 2); -lean_inc(x_71); +x_71 = lean_ctor_get_uint8(x_53, sizeof(void*)*8 + 2); lean_inc(x_70); lean_inc(x_69); lean_inc(x_68); @@ -3617,69 +3597,68 @@ lean_inc(x_67); lean_inc(x_65); lean_inc(x_64); lean_dec(x_53); -x_73 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_73, 0, x_46); -lean_ctor_set(x_73, 1, x_48); -lean_ctor_set(x_73, 2, x_64); -lean_ctor_set(x_73, 3, x_65); -lean_ctor_set(x_73, 4, x_67); -lean_ctor_set(x_73, 5, x_68); -lean_ctor_set(x_73, 6, x_69); -lean_ctor_set(x_73, 7, x_70); -lean_ctor_set(x_73, 8, x_71); -lean_ctor_set_uint8(x_73, sizeof(void*)*9, x_63); -lean_ctor_set_uint8(x_73, sizeof(void*)*9 + 1, x_66); -lean_ctor_set_uint8(x_73, sizeof(void*)*9 + 2, x_72); -x_74 = lean_st_ref_set(x_1, x_73, x_54); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_76 = x_74; +x_72 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_72, 0, x_46); +lean_ctor_set(x_72, 1, x_48); +lean_ctor_set(x_72, 2, x_64); +lean_ctor_set(x_72, 3, x_65); +lean_ctor_set(x_72, 4, x_67); +lean_ctor_set(x_72, 5, x_68); +lean_ctor_set(x_72, 6, x_69); +lean_ctor_set(x_72, 7, x_70); +lean_ctor_set_uint8(x_72, sizeof(void*)*8, x_63); +lean_ctor_set_uint8(x_72, sizeof(void*)*8 + 1, x_66); +lean_ctor_set_uint8(x_72, sizeof(void*)*8 + 2, x_71); +x_73 = lean_st_ref_set(x_1, x_72, x_54); +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_73)) { + lean_ctor_release(x_73, 0); + lean_ctor_release(x_73, 1); + x_75 = x_73; } else { - lean_dec_ref(x_74); - x_76 = lean_box(0); + lean_dec_ref(x_73); + x_75 = lean_box(0); } -if (lean_is_scalar(x_76)) { - x_77 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(0, 2, 0); } else { - x_77 = x_76; + x_76 = x_75; } -lean_ctor_set(x_77, 0, x_12); -lean_ctor_set(x_77, 1, x_75); -return x_77; +lean_ctor_set(x_76, 0, x_12); +lean_ctor_set(x_76, 1, x_74); +return x_76; } } else { -uint8_t x_78; +uint8_t x_77; lean_dec(x_46); lean_dec(x_7); -x_78 = !lean_is_exclusive(x_47); -if (x_78 == 0) +x_77 = !lean_is_exclusive(x_47); +if (x_77 == 0) { return x_47; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_47, 0); -x_80 = lean_ctor_get(x_47, 1); -lean_inc(x_80); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_47, 0); +x_79 = lean_ctor_get(x_47, 1); lean_inc(x_79); +lean_inc(x_78); lean_dec(x_47); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } } else { -uint8_t x_82; +uint8_t x_81; lean_dec(x_24); lean_dec(x_22); lean_dec(x_18); @@ -3689,97 +3668,97 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_82 = !lean_is_exclusive(x_25); -if (x_82 == 0) +x_81 = !lean_is_exclusive(x_25); +if (x_81 == 0) { return x_25; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_25, 0); -x_84 = lean_ctor_get(x_25, 1); -lean_inc(x_84); +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_25, 0); +x_83 = lean_ctor_get(x_25, 1); lean_inc(x_83); +lean_inc(x_82); lean_dec(x_25); -x_85 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_85, 0, x_83); -lean_ctor_set(x_85, 1, x_84); -return x_85; +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; } } } case 1: { -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_21, 1); -lean_inc(x_86); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_21, 1); +lean_inc(x_85); lean_dec(x_21); -x_87 = lean_ctor_get(x_18, 0); -lean_inc(x_87); +x_86 = lean_ctor_get(x_18, 0); +lean_inc(x_86); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_87); +lean_inc(x_86); lean_inc(x_22); -x_88 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_87, x_2, x_3, x_4, x_5, x_6, x_7, x_86); +x_87 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_86, x_2, x_3, x_4, x_5, x_6, x_7, x_85); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); if (lean_obj_tag(x_88) == 0) { -lean_object* x_89; -x_89 = lean_ctor_get(x_88, 0); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_87, 1); lean_inc(x_89); -if (lean_obj_tag(x_89) == 0) -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_90 = lean_ctor_get(x_88, 1); +lean_dec(x_87); +x_90 = lean_ctor_get(x_18, 3); lean_inc(x_90); -lean_dec(x_88); -x_91 = lean_ctor_get(x_18, 3); -lean_inc(x_91); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_92 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__6(x_87, x_91, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_90); -lean_dec(x_91); -if (lean_obj_tag(x_92) == 0) +x_91 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__6(x_86, x_90, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_89); +lean_dec(x_90); +if (lean_obj_tag(x_91) == 0) { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -lean_dec(x_92); -x_94 = l_Lean_indentExpr(x_87); -x_95 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; -x_96 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_96, 0, x_95); -lean_ctor_set(x_96, 1, x_94); -x_97 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_98 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -x_99 = l_Lean_indentExpr(x_22); -x_100 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -x_101 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_102 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_102, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_93); +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; +x_92 = lean_ctor_get(x_91, 1); +lean_inc(x_92); +lean_dec(x_91); +x_93 = l_Lean_indentExpr(x_86); +x_94 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_95 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_93); +x_96 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +x_98 = l_Lean_indentExpr(x_22); +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +x_100 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_101 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_101, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_92); 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_103; +return x_102; } else { -uint8_t x_104; -lean_dec(x_87); +uint8_t x_103; +lean_dec(x_86); lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); @@ -3787,179 +3766,176 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_104 = !lean_is_exclusive(x_92); -if (x_104 == 0) +x_103 = !lean_is_exclusive(x_91); +if (x_103 == 0) { -return x_92; +return x_91; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_92, 0); -x_106 = lean_ctor_get(x_92, 1); -lean_inc(x_106); +lean_object* x_104; lean_object* x_105; lean_object* x_106; +x_104 = lean_ctor_get(x_91, 0); +x_105 = lean_ctor_get(x_91, 1); lean_inc(x_105); -lean_dec(x_92); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +lean_inc(x_104); +lean_dec(x_91); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_104); +lean_ctor_set(x_106, 1, x_105); +return x_106; } } } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -lean_dec(x_87); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +lean_dec(x_86); lean_dec(x_22); lean_dec(x_18); -x_108 = lean_ctor_get(x_88, 1); +x_107 = lean_ctor_get(x_87, 1); +lean_inc(x_107); +lean_dec(x_87); +x_108 = lean_ctor_get(x_88, 0); lean_inc(x_108); lean_dec(x_88); -x_109 = lean_ctor_get(x_89, 0); -lean_inc(x_109); -lean_dec(x_89); lean_inc(x_7); -lean_inc(x_109); -x_110 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_109, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_108); +lean_inc(x_108); +x_109 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_108, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_107); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_110) == 0) +if (lean_obj_tag(x_109) == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; uint8_t x_118; -x_111 = lean_ctor_get(x_110, 0); +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = lean_st_ref_get(x_7, x_112); +lean_dec(x_109); +x_112 = lean_st_ref_get(x_7, x_111); lean_dec(x_7); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_115 = lean_st_ref_take(x_1, x_114); -x_116 = lean_ctor_get(x_115, 0); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_1, x_113); +x_115 = lean_ctor_get(x_114, 0); +lean_inc(x_115); +x_116 = lean_ctor_get(x_114, 1); lean_inc(x_116); -x_117 = lean_ctor_get(x_115, 1); -lean_inc(x_117); -lean_dec(x_115); -x_118 = !lean_is_exclusive(x_116); -if (x_118 == 0) +lean_dec(x_114); +x_117 = !lean_is_exclusive(x_115); +if (x_117 == 0) { -lean_object* x_119; lean_object* x_120; lean_object* x_121; uint8_t x_122; -x_119 = lean_ctor_get(x_116, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; uint8_t x_121; +x_118 = lean_ctor_get(x_115, 1); +lean_dec(x_118); +x_119 = lean_ctor_get(x_115, 0); lean_dec(x_119); -x_120 = lean_ctor_get(x_116, 0); +lean_ctor_set(x_115, 1, x_110); +lean_ctor_set(x_115, 0, x_108); +x_120 = lean_st_ref_set(x_1, x_115, x_116); +x_121 = !lean_is_exclusive(x_120); +if (x_121 == 0) +{ +lean_object* x_122; +x_122 = lean_ctor_get(x_120, 0); +lean_dec(x_122); +lean_ctor_set(x_120, 0, x_12); +return x_120; +} +else +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_120, 1); +lean_inc(x_123); lean_dec(x_120); -lean_ctor_set(x_116, 1, x_111); -lean_ctor_set(x_116, 0, x_109); -x_121 = lean_st_ref_set(x_1, x_116, x_117); -x_122 = !lean_is_exclusive(x_121); -if (x_122 == 0) -{ -lean_object* x_123; -x_123 = lean_ctor_get(x_121, 0); -lean_dec(x_123); -lean_ctor_set(x_121, 0, x_12); -return x_121; -} -else -{ -lean_object* x_124; lean_object* x_125; -x_124 = lean_ctor_get(x_121, 1); -lean_inc(x_124); -lean_dec(x_121); -x_125 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_125, 0, x_12); -lean_ctor_set(x_125, 1, x_124); -return x_125; +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_12); +lean_ctor_set(x_124, 1, x_123); +return x_124; } } else { -uint8_t x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; lean_object* x_130; lean_object* 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; lean_object* x_140; -x_126 = lean_ctor_get_uint8(x_116, sizeof(void*)*9); -x_127 = lean_ctor_get(x_116, 2); -x_128 = lean_ctor_get(x_116, 3); -x_129 = lean_ctor_get_uint8(x_116, sizeof(void*)*9 + 1); -x_130 = lean_ctor_get(x_116, 4); -x_131 = lean_ctor_get(x_116, 5); -x_132 = lean_ctor_get(x_116, 6); -x_133 = lean_ctor_get(x_116, 7); -x_134 = lean_ctor_get(x_116, 8); -x_135 = lean_ctor_get_uint8(x_116, sizeof(void*)*9 + 2); -lean_inc(x_134); -lean_inc(x_133); +uint8_t x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_125 = lean_ctor_get_uint8(x_115, sizeof(void*)*8); +x_126 = lean_ctor_get(x_115, 2); +x_127 = lean_ctor_get(x_115, 3); +x_128 = lean_ctor_get_uint8(x_115, sizeof(void*)*8 + 1); +x_129 = lean_ctor_get(x_115, 4); +x_130 = lean_ctor_get(x_115, 5); +x_131 = lean_ctor_get(x_115, 6); +x_132 = lean_ctor_get(x_115, 7); +x_133 = lean_ctor_get_uint8(x_115, sizeof(void*)*8 + 2); lean_inc(x_132); lean_inc(x_131); lean_inc(x_130); -lean_inc(x_128); +lean_inc(x_129); lean_inc(x_127); -lean_dec(x_116); -x_136 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_136, 0, x_109); -lean_ctor_set(x_136, 1, x_111); -lean_ctor_set(x_136, 2, x_127); -lean_ctor_set(x_136, 3, x_128); -lean_ctor_set(x_136, 4, x_130); -lean_ctor_set(x_136, 5, x_131); -lean_ctor_set(x_136, 6, x_132); -lean_ctor_set(x_136, 7, x_133); -lean_ctor_set(x_136, 8, x_134); -lean_ctor_set_uint8(x_136, sizeof(void*)*9, x_126); -lean_ctor_set_uint8(x_136, sizeof(void*)*9 + 1, x_129); -lean_ctor_set_uint8(x_136, sizeof(void*)*9 + 2, x_135); -x_137 = lean_st_ref_set(x_1, x_136, x_117); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_137)) { - lean_ctor_release(x_137, 0); - lean_ctor_release(x_137, 1); - x_139 = x_137; +lean_inc(x_126); +lean_dec(x_115); +x_134 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_134, 0, x_108); +lean_ctor_set(x_134, 1, x_110); +lean_ctor_set(x_134, 2, x_126); +lean_ctor_set(x_134, 3, x_127); +lean_ctor_set(x_134, 4, x_129); +lean_ctor_set(x_134, 5, x_130); +lean_ctor_set(x_134, 6, x_131); +lean_ctor_set(x_134, 7, x_132); +lean_ctor_set_uint8(x_134, sizeof(void*)*8, x_125); +lean_ctor_set_uint8(x_134, sizeof(void*)*8 + 1, x_128); +lean_ctor_set_uint8(x_134, sizeof(void*)*8 + 2, x_133); +x_135 = lean_st_ref_set(x_1, x_134, x_116); +x_136 = lean_ctor_get(x_135, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + x_137 = x_135; } else { - lean_dec_ref(x_137); - x_139 = lean_box(0); + lean_dec_ref(x_135); + x_137 = lean_box(0); } -if (lean_is_scalar(x_139)) { - x_140 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(0, 2, 0); } else { - x_140 = x_139; + x_138 = x_137; } -lean_ctor_set(x_140, 0, x_12); -lean_ctor_set(x_140, 1, x_138); -return x_140; +lean_ctor_set(x_138, 0, x_12); +lean_ctor_set(x_138, 1, x_136); +return x_138; } } else { -uint8_t x_141; -lean_dec(x_109); +uint8_t x_139; +lean_dec(x_108); lean_dec(x_7); -x_141 = !lean_is_exclusive(x_110); -if (x_141 == 0) +x_139 = !lean_is_exclusive(x_109); +if (x_139 == 0) { -return x_110; +return x_109; } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_142 = lean_ctor_get(x_110, 0); -x_143 = lean_ctor_get(x_110, 1); -lean_inc(x_143); -lean_inc(x_142); -lean_dec(x_110); -x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_142); -lean_ctor_set(x_144, 1, x_143); -return x_144; +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_109, 0); +x_141 = lean_ctor_get(x_109, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_109); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_140); +lean_ctor_set(x_142, 1, x_141); +return x_142; } } } } else { -uint8_t x_145; -lean_dec(x_87); +uint8_t x_143; +lean_dec(x_86); lean_dec(x_22); lean_dec(x_18); lean_dec(x_7); @@ -3968,97 +3944,97 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_145 = !lean_is_exclusive(x_88); -if (x_145 == 0) +x_143 = !lean_is_exclusive(x_87); +if (x_143 == 0) { -return x_88; +return x_87; } else { -lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_146 = lean_ctor_get(x_88, 0); -x_147 = lean_ctor_get(x_88, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_88); -x_148 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_148, 0, x_146); -lean_ctor_set(x_148, 1, x_147); -return x_148; +lean_object* x_144; lean_object* x_145; lean_object* x_146; +x_144 = lean_ctor_get(x_87, 0); +x_145 = lean_ctor_get(x_87, 1); +lean_inc(x_145); +lean_inc(x_144); +lean_dec(x_87); +x_146 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_146, 0, x_144); +lean_ctor_set(x_146, 1, x_145); +return x_146; } } } case 2: { -lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_149 = lean_ctor_get(x_21, 1); -lean_inc(x_149); +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_21, 1); +lean_inc(x_147); lean_dec(x_21); -x_150 = lean_ctor_get(x_18, 0); -lean_inc(x_150); +x_148 = lean_ctor_get(x_18, 0); +lean_inc(x_148); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_150); +lean_inc(x_148); lean_inc(x_22); -x_151 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_150, x_2, x_3, x_4, x_5, x_6, x_7, x_149); -if (lean_obj_tag(x_151) == 0) +x_149 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_148, x_2, x_3, x_4, x_5, x_6, x_7, x_147); +if (lean_obj_tag(x_149) == 0) { -lean_object* x_152; -x_152 = lean_ctor_get(x_151, 0); +lean_object* x_150; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +if (lean_obj_tag(x_150) == 0) +{ +lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = lean_ctor_get(x_18, 3); lean_inc(x_152); -if (lean_obj_tag(x_152) == 0) -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_ctor_get(x_18, 3); -lean_inc(x_154); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_155 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__7(x_150, x_154, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_153); -lean_dec(x_154); -if (lean_obj_tag(x_155) == 0) +x_153 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__7(x_148, x_152, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_151); +lean_dec(x_152); +if (lean_obj_tag(x_153) == 0) { -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; -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -lean_dec(x_155); -x_157 = l_Lean_indentExpr(x_150); -x_158 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +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; +x_154 = lean_ctor_get(x_153, 1); +lean_inc(x_154); +lean_dec(x_153); +x_155 = l_Lean_indentExpr(x_148); +x_156 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_157 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_157, 0, x_156); +lean_ctor_set(x_157, 1, x_155); +x_158 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; x_159 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_157); -x_160 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +x_160 = l_Lean_indentExpr(x_22); x_161 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_161, 0, x_159); lean_ctor_set(x_161, 1, x_160); -x_162 = l_Lean_indentExpr(x_22); +x_162 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; x_163 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_163, 0, x_161); lean_ctor_set(x_163, 1, x_162); -x_164 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_165 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_165, 0, x_163); -lean_ctor_set(x_165, 1, x_164); -x_166 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_165, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_156); +x_164 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_163, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_154); 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_166; +return x_164; } else { -uint8_t x_167; -lean_dec(x_150); +uint8_t x_165; +lean_dec(x_148); lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); @@ -4066,179 +4042,176 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_167 = !lean_is_exclusive(x_155); -if (x_167 == 0) +x_165 = !lean_is_exclusive(x_153); +if (x_165 == 0) { -return x_155; +return x_153; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_168 = lean_ctor_get(x_155, 0); -x_169 = lean_ctor_get(x_155, 1); -lean_inc(x_169); -lean_inc(x_168); -lean_dec(x_155); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_168); -lean_ctor_set(x_170, 1, x_169); -return x_170; +lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_166 = lean_ctor_get(x_153, 0); +x_167 = lean_ctor_get(x_153, 1); +lean_inc(x_167); +lean_inc(x_166); +lean_dec(x_153); +x_168 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +return x_168; } } } else { -lean_object* x_171; lean_object* x_172; lean_object* x_173; -lean_dec(x_150); +lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_dec(x_148); lean_dec(x_22); lean_dec(x_18); -x_171 = lean_ctor_get(x_151, 1); -lean_inc(x_171); -lean_dec(x_151); -x_172 = lean_ctor_get(x_152, 0); -lean_inc(x_172); -lean_dec(x_152); +x_169 = lean_ctor_get(x_149, 1); +lean_inc(x_169); +lean_dec(x_149); +x_170 = lean_ctor_get(x_150, 0); +lean_inc(x_170); +lean_dec(x_150); lean_inc(x_7); -lean_inc(x_172); -x_173 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_172, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_171); +lean_inc(x_170); +x_171 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_170, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_169); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_173) == 0) +if (lean_obj_tag(x_171) == 0) { -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; uint8_t x_181; -x_174 = lean_ctor_get(x_173, 0); -lean_inc(x_174); -x_175 = lean_ctor_get(x_173, 1); -lean_inc(x_175); -lean_dec(x_173); -x_176 = lean_st_ref_get(x_7, x_175); +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; uint8_t x_179; +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +x_173 = lean_ctor_get(x_171, 1); +lean_inc(x_173); +lean_dec(x_171); +x_174 = lean_st_ref_get(x_7, x_173); lean_dec(x_7); -x_177 = lean_ctor_get(x_176, 1); +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +lean_dec(x_174); +x_176 = lean_st_ref_take(x_1, x_175); +x_177 = lean_ctor_get(x_176, 0); lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); lean_dec(x_176); -x_178 = lean_st_ref_take(x_1, x_177); -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_181 = !lean_is_exclusive(x_179); -if (x_181 == 0) +x_179 = !lean_is_exclusive(x_177); +if (x_179 == 0) { -lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; -x_182 = lean_ctor_get(x_179, 1); -lean_dec(x_182); -x_183 = lean_ctor_get(x_179, 0); -lean_dec(x_183); -lean_ctor_set(x_179, 1, x_174); -lean_ctor_set(x_179, 0, x_172); -x_184 = lean_st_ref_set(x_1, x_179, x_180); -x_185 = !lean_is_exclusive(x_184); -if (x_185 == 0) +lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; +x_180 = lean_ctor_get(x_177, 1); +lean_dec(x_180); +x_181 = lean_ctor_get(x_177, 0); +lean_dec(x_181); +lean_ctor_set(x_177, 1, x_172); +lean_ctor_set(x_177, 0, x_170); +x_182 = lean_st_ref_set(x_1, x_177, x_178); +x_183 = !lean_is_exclusive(x_182); +if (x_183 == 0) { -lean_object* x_186; -x_186 = lean_ctor_get(x_184, 0); -lean_dec(x_186); -lean_ctor_set(x_184, 0, x_12); -return x_184; -} -else -{ -lean_object* x_187; lean_object* x_188; -x_187 = lean_ctor_get(x_184, 1); -lean_inc(x_187); +lean_object* x_184; +x_184 = lean_ctor_get(x_182, 0); lean_dec(x_184); -x_188 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_188, 0, x_12); -lean_ctor_set(x_188, 1, x_187); -return x_188; +lean_ctor_set(x_182, 0, x_12); +return x_182; +} +else +{ +lean_object* x_185; lean_object* x_186; +x_185 = lean_ctor_get(x_182, 1); +lean_inc(x_185); +lean_dec(x_182); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_12); +lean_ctor_set(x_186, 1, x_185); +return x_186; } } else { -uint8_t x_189; lean_object* x_190; lean_object* x_191; uint8_t x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; uint8_t x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; -x_189 = lean_ctor_get_uint8(x_179, sizeof(void*)*9); -x_190 = lean_ctor_get(x_179, 2); -x_191 = lean_ctor_get(x_179, 3); -x_192 = lean_ctor_get_uint8(x_179, sizeof(void*)*9 + 1); -x_193 = lean_ctor_get(x_179, 4); -x_194 = lean_ctor_get(x_179, 5); -x_195 = lean_ctor_get(x_179, 6); -x_196 = lean_ctor_get(x_179, 7); -x_197 = lean_ctor_get(x_179, 8); -x_198 = lean_ctor_get_uint8(x_179, sizeof(void*)*9 + 2); -lean_inc(x_197); -lean_inc(x_196); -lean_inc(x_195); +uint8_t x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; uint8_t x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +x_187 = lean_ctor_get_uint8(x_177, sizeof(void*)*8); +x_188 = lean_ctor_get(x_177, 2); +x_189 = lean_ctor_get(x_177, 3); +x_190 = lean_ctor_get_uint8(x_177, sizeof(void*)*8 + 1); +x_191 = lean_ctor_get(x_177, 4); +x_192 = lean_ctor_get(x_177, 5); +x_193 = lean_ctor_get(x_177, 6); +x_194 = lean_ctor_get(x_177, 7); +x_195 = lean_ctor_get_uint8(x_177, sizeof(void*)*8 + 2); lean_inc(x_194); lean_inc(x_193); +lean_inc(x_192); lean_inc(x_191); -lean_inc(x_190); -lean_dec(x_179); -x_199 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_199, 0, x_172); -lean_ctor_set(x_199, 1, x_174); -lean_ctor_set(x_199, 2, x_190); -lean_ctor_set(x_199, 3, x_191); -lean_ctor_set(x_199, 4, x_193); -lean_ctor_set(x_199, 5, x_194); -lean_ctor_set(x_199, 6, x_195); -lean_ctor_set(x_199, 7, x_196); -lean_ctor_set(x_199, 8, x_197); -lean_ctor_set_uint8(x_199, sizeof(void*)*9, x_189); -lean_ctor_set_uint8(x_199, sizeof(void*)*9 + 1, x_192); -lean_ctor_set_uint8(x_199, sizeof(void*)*9 + 2, x_198); -x_200 = lean_st_ref_set(x_1, x_199, x_180); -x_201 = lean_ctor_get(x_200, 1); -lean_inc(x_201); -if (lean_is_exclusive(x_200)) { - lean_ctor_release(x_200, 0); - lean_ctor_release(x_200, 1); - x_202 = x_200; +lean_inc(x_189); +lean_inc(x_188); +lean_dec(x_177); +x_196 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_196, 0, x_170); +lean_ctor_set(x_196, 1, x_172); +lean_ctor_set(x_196, 2, x_188); +lean_ctor_set(x_196, 3, x_189); +lean_ctor_set(x_196, 4, x_191); +lean_ctor_set(x_196, 5, x_192); +lean_ctor_set(x_196, 6, x_193); +lean_ctor_set(x_196, 7, x_194); +lean_ctor_set_uint8(x_196, sizeof(void*)*8, x_187); +lean_ctor_set_uint8(x_196, sizeof(void*)*8 + 1, x_190); +lean_ctor_set_uint8(x_196, sizeof(void*)*8 + 2, x_195); +x_197 = lean_st_ref_set(x_1, x_196, x_178); +x_198 = lean_ctor_get(x_197, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + lean_ctor_release(x_197, 1); + x_199 = x_197; } else { - lean_dec_ref(x_200); - x_202 = lean_box(0); + lean_dec_ref(x_197); + x_199 = lean_box(0); } -if (lean_is_scalar(x_202)) { - x_203 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_199)) { + x_200 = lean_alloc_ctor(0, 2, 0); } else { - x_203 = x_202; + x_200 = x_199; } -lean_ctor_set(x_203, 0, x_12); -lean_ctor_set(x_203, 1, x_201); -return x_203; +lean_ctor_set(x_200, 0, x_12); +lean_ctor_set(x_200, 1, x_198); +return x_200; } } else { -uint8_t x_204; -lean_dec(x_172); +uint8_t x_201; +lean_dec(x_170); lean_dec(x_7); -x_204 = !lean_is_exclusive(x_173); -if (x_204 == 0) +x_201 = !lean_is_exclusive(x_171); +if (x_201 == 0) { -return x_173; +return x_171; } else { -lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_205 = lean_ctor_get(x_173, 0); -x_206 = lean_ctor_get(x_173, 1); -lean_inc(x_206); -lean_inc(x_205); -lean_dec(x_173); -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; +lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_202 = lean_ctor_get(x_171, 0); +x_203 = lean_ctor_get(x_171, 1); +lean_inc(x_203); +lean_inc(x_202); +lean_dec(x_171); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +return x_204; } } } } else { -uint8_t x_208; -lean_dec(x_150); +uint8_t x_205; +lean_dec(x_148); lean_dec(x_22); lean_dec(x_18); lean_dec(x_7); @@ -4247,97 +4220,97 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_208 = !lean_is_exclusive(x_151); -if (x_208 == 0) +x_205 = !lean_is_exclusive(x_149); +if (x_205 == 0) { -return x_151; +return x_149; } else { -lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_209 = lean_ctor_get(x_151, 0); -x_210 = lean_ctor_get(x_151, 1); -lean_inc(x_210); -lean_inc(x_209); -lean_dec(x_151); -x_211 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_211, 0, x_209); -lean_ctor_set(x_211, 1, x_210); -return x_211; +lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_206 = lean_ctor_get(x_149, 0); +x_207 = lean_ctor_get(x_149, 1); +lean_inc(x_207); +lean_inc(x_206); +lean_dec(x_149); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_206); +lean_ctor_set(x_208, 1, x_207); +return x_208; } } } case 3: { -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_21, 1); -lean_inc(x_212); +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_21, 1); +lean_inc(x_209); lean_dec(x_21); -x_213 = lean_ctor_get(x_18, 0); -lean_inc(x_213); +x_210 = lean_ctor_get(x_18, 0); +lean_inc(x_210); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_213); +lean_inc(x_210); lean_inc(x_22); -x_214 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_213, x_2, x_3, x_4, x_5, x_6, x_7, x_212); -if (lean_obj_tag(x_214) == 0) +x_211 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_210, x_2, x_3, x_4, x_5, x_6, x_7, x_209); +if (lean_obj_tag(x_211) == 0) { -lean_object* x_215; -x_215 = lean_ctor_get(x_214, 0); -lean_inc(x_215); -if (lean_obj_tag(x_215) == 0) +lean_object* x_212; +x_212 = lean_ctor_get(x_211, 0); +lean_inc(x_212); +if (lean_obj_tag(x_212) == 0) { -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_ctor_get(x_214, 1); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_ctor_get(x_18, 3); -lean_inc(x_217); +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_211, 1); +lean_inc(x_213); +lean_dec(x_211); +x_214 = lean_ctor_get(x_18, 3); +lean_inc(x_214); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_218 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__8(x_213, x_217, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_216); -lean_dec(x_217); -if (lean_obj_tag(x_218) == 0) +x_215 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__8(x_210, x_214, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_213); +lean_dec(x_214); +if (lean_obj_tag(x_215) == 0) { -lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_220 = l_Lean_indentExpr(x_213); -x_221 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; -x_222 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_222, 0, x_221); -lean_ctor_set(x_222, 1, x_220); -x_223 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_224 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -x_225 = l_Lean_indentExpr(x_22); -x_226 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_226, 0, x_224); -lean_ctor_set(x_226, 1, x_225); -x_227 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_228 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_228, 0, x_226); -lean_ctor_set(x_228, 1, x_227); -x_229 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_228, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_219); +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; +x_216 = lean_ctor_get(x_215, 1); +lean_inc(x_216); +lean_dec(x_215); +x_217 = l_Lean_indentExpr(x_210); +x_218 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_219 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_217); +x_220 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_221 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +x_222 = l_Lean_indentExpr(x_22); +x_223 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_223, 0, x_221); +lean_ctor_set(x_223, 1, x_222); +x_224 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_225 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_225, 0, x_223); +lean_ctor_set(x_225, 1, x_224); +x_226 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_225, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_216); 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_229; +return x_226; } else { -uint8_t x_230; -lean_dec(x_213); +uint8_t x_227; +lean_dec(x_210); lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); @@ -4345,167 +4318,197 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_230 = !lean_is_exclusive(x_218); -if (x_230 == 0) +x_227 = !lean_is_exclusive(x_215); +if (x_227 == 0) { -return x_218; +return x_215; +} +else +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_228 = lean_ctor_get(x_215, 0); +x_229 = lean_ctor_get(x_215, 1); +lean_inc(x_229); +lean_inc(x_228); +lean_dec(x_215); +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_228); +lean_ctor_set(x_230, 1, x_229); +return x_230; +} +} } else { lean_object* x_231; lean_object* x_232; lean_object* x_233; -x_231 = lean_ctor_get(x_218, 0); -x_232 = lean_ctor_get(x_218, 1); -lean_inc(x_232); -lean_inc(x_231); -lean_dec(x_218); -x_233 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_233, 0, x_231); -lean_ctor_set(x_233, 1, x_232); -return x_233; -} -} -} -else -{ -lean_object* x_234; lean_object* x_235; lean_object* x_236; -lean_dec(x_213); +lean_dec(x_210); lean_dec(x_22); lean_dec(x_18); -x_234 = lean_ctor_get(x_214, 1); -lean_inc(x_234); -lean_dec(x_214); -x_235 = lean_ctor_get(x_215, 0); -lean_inc(x_235); -lean_dec(x_215); +x_231 = lean_ctor_get(x_211, 1); +lean_inc(x_231); +lean_dec(x_211); +x_232 = lean_ctor_get(x_212, 0); +lean_inc(x_232); +lean_dec(x_212); lean_inc(x_7); -lean_inc(x_235); -x_236 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_235, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_234); +lean_inc(x_232); +x_233 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_232, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_231); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_236) == 0) +if (lean_obj_tag(x_233) == 0) { -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; uint8_t x_244; -x_237 = lean_ctor_get(x_236, 0); -lean_inc(x_237); -x_238 = lean_ctor_get(x_236, 1); -lean_inc(x_238); -lean_dec(x_236); -x_239 = lean_st_ref_get(x_7, x_238); +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; uint8_t x_241; +x_234 = lean_ctor_get(x_233, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_233, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = lean_st_ref_get(x_7, x_235); lean_dec(x_7); -x_240 = lean_ctor_get(x_239, 1); +x_237 = lean_ctor_get(x_236, 1); +lean_inc(x_237); +lean_dec(x_236); +x_238 = lean_st_ref_take(x_1, x_237); +x_239 = lean_ctor_get(x_238, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_238, 1); lean_inc(x_240); -lean_dec(x_239); -x_241 = lean_st_ref_take(x_1, x_240); -x_242 = lean_ctor_get(x_241, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_241, 1); -lean_inc(x_243); -lean_dec(x_241); -x_244 = !lean_is_exclusive(x_242); -if (x_244 == 0) +lean_dec(x_238); +x_241 = !lean_is_exclusive(x_239); +if (x_241 == 0) { -lean_object* x_245; lean_object* x_246; lean_object* x_247; uint8_t x_248; -x_245 = lean_ctor_get(x_242, 1); -lean_dec(x_245); -x_246 = lean_ctor_get(x_242, 0); +lean_object* x_242; lean_object* x_243; lean_object* x_244; uint8_t x_245; +x_242 = lean_ctor_get(x_239, 1); +lean_dec(x_242); +x_243 = lean_ctor_get(x_239, 0); +lean_dec(x_243); +lean_ctor_set(x_239, 1, x_234); +lean_ctor_set(x_239, 0, x_232); +x_244 = lean_st_ref_set(x_1, x_239, x_240); +x_245 = !lean_is_exclusive(x_244); +if (x_245 == 0) +{ +lean_object* x_246; +x_246 = lean_ctor_get(x_244, 0); lean_dec(x_246); -lean_ctor_set(x_242, 1, x_237); -lean_ctor_set(x_242, 0, x_235); -x_247 = lean_st_ref_set(x_1, x_242, x_243); -x_248 = !lean_is_exclusive(x_247); -if (x_248 == 0) -{ -lean_object* x_249; -x_249 = lean_ctor_get(x_247, 0); -lean_dec(x_249); -lean_ctor_set(x_247, 0, x_12); -return x_247; +lean_ctor_set(x_244, 0, x_12); +return x_244; } else { -lean_object* x_250; lean_object* x_251; -x_250 = lean_ctor_get(x_247, 1); -lean_inc(x_250); -lean_dec(x_247); -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_12); -lean_ctor_set(x_251, 1, x_250); -return x_251; +lean_object* x_247; lean_object* x_248; +x_247 = lean_ctor_get(x_244, 1); +lean_inc(x_247); +lean_dec(x_244); +x_248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_248, 0, x_12); +lean_ctor_set(x_248, 1, x_247); +return x_248; } } else { -uint8_t x_252; lean_object* x_253; lean_object* x_254; uint8_t x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -x_252 = lean_ctor_get_uint8(x_242, sizeof(void*)*9); -x_253 = lean_ctor_get(x_242, 2); -x_254 = lean_ctor_get(x_242, 3); -x_255 = lean_ctor_get_uint8(x_242, sizeof(void*)*9 + 1); -x_256 = lean_ctor_get(x_242, 4); -x_257 = lean_ctor_get(x_242, 5); -x_258 = lean_ctor_get(x_242, 6); -x_259 = lean_ctor_get(x_242, 7); -x_260 = lean_ctor_get(x_242, 8); -x_261 = lean_ctor_get_uint8(x_242, sizeof(void*)*9 + 2); -lean_inc(x_260); -lean_inc(x_259); -lean_inc(x_258); -lean_inc(x_257); +uint8_t x_249; lean_object* x_250; lean_object* x_251; uint8_t x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +x_249 = lean_ctor_get_uint8(x_239, sizeof(void*)*8); +x_250 = lean_ctor_get(x_239, 2); +x_251 = lean_ctor_get(x_239, 3); +x_252 = lean_ctor_get_uint8(x_239, sizeof(void*)*8 + 1); +x_253 = lean_ctor_get(x_239, 4); +x_254 = lean_ctor_get(x_239, 5); +x_255 = lean_ctor_get(x_239, 6); +x_256 = lean_ctor_get(x_239, 7); +x_257 = lean_ctor_get_uint8(x_239, sizeof(void*)*8 + 2); lean_inc(x_256); +lean_inc(x_255); lean_inc(x_254); lean_inc(x_253); -lean_dec(x_242); -x_262 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_262, 0, x_235); -lean_ctor_set(x_262, 1, x_237); -lean_ctor_set(x_262, 2, x_253); -lean_ctor_set(x_262, 3, x_254); -lean_ctor_set(x_262, 4, x_256); -lean_ctor_set(x_262, 5, x_257); -lean_ctor_set(x_262, 6, x_258); -lean_ctor_set(x_262, 7, x_259); -lean_ctor_set(x_262, 8, x_260); -lean_ctor_set_uint8(x_262, sizeof(void*)*9, x_252); -lean_ctor_set_uint8(x_262, sizeof(void*)*9 + 1, x_255); -lean_ctor_set_uint8(x_262, sizeof(void*)*9 + 2, x_261); -x_263 = lean_st_ref_set(x_1, x_262, x_243); -x_264 = lean_ctor_get(x_263, 1); +lean_inc(x_251); +lean_inc(x_250); +lean_dec(x_239); +x_258 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_258, 0, x_232); +lean_ctor_set(x_258, 1, x_234); +lean_ctor_set(x_258, 2, x_250); +lean_ctor_set(x_258, 3, x_251); +lean_ctor_set(x_258, 4, x_253); +lean_ctor_set(x_258, 5, x_254); +lean_ctor_set(x_258, 6, x_255); +lean_ctor_set(x_258, 7, x_256); +lean_ctor_set_uint8(x_258, sizeof(void*)*8, x_249); +lean_ctor_set_uint8(x_258, sizeof(void*)*8 + 1, x_252); +lean_ctor_set_uint8(x_258, sizeof(void*)*8 + 2, x_257); +x_259 = lean_st_ref_set(x_1, x_258, x_240); +x_260 = lean_ctor_get(x_259, 1); +lean_inc(x_260); +if (lean_is_exclusive(x_259)) { + lean_ctor_release(x_259, 0); + lean_ctor_release(x_259, 1); + x_261 = x_259; +} else { + lean_dec_ref(x_259); + x_261 = lean_box(0); +} +if (lean_is_scalar(x_261)) { + x_262 = lean_alloc_ctor(0, 2, 0); +} else { + x_262 = x_261; +} +lean_ctor_set(x_262, 0, x_12); +lean_ctor_set(x_262, 1, x_260); +return x_262; +} +} +else +{ +uint8_t x_263; +lean_dec(x_232); +lean_dec(x_7); +x_263 = !lean_is_exclusive(x_233); +if (x_263 == 0) +{ +return x_233; +} +else +{ +lean_object* x_264; lean_object* x_265; lean_object* x_266; +x_264 = lean_ctor_get(x_233, 0); +x_265 = lean_ctor_get(x_233, 1); +lean_inc(x_265); lean_inc(x_264); -if (lean_is_exclusive(x_263)) { - lean_ctor_release(x_263, 0); - lean_ctor_release(x_263, 1); - x_265 = x_263; -} else { - lean_dec_ref(x_263); - x_265 = lean_box(0); -} -if (lean_is_scalar(x_265)) { - x_266 = lean_alloc_ctor(0, 2, 0); -} else { - x_266 = x_265; -} -lean_ctor_set(x_266, 0, x_12); -lean_ctor_set(x_266, 1, x_264); +lean_dec(x_233); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_264); +lean_ctor_set(x_266, 1, x_265); return x_266; } } +} +} else { uint8_t x_267; -lean_dec(x_235); +lean_dec(x_210); +lean_dec(x_22); +lean_dec(x_18); lean_dec(x_7); -x_267 = !lean_is_exclusive(x_236); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_267 = !lean_is_exclusive(x_211); if (x_267 == 0) { -return x_236; +return x_211; } else { lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_268 = lean_ctor_get(x_236, 0); -x_269 = lean_ctor_get(x_236, 1); +x_268 = lean_ctor_get(x_211, 0); +x_269 = lean_ctor_get(x_211, 1); lean_inc(x_269); lean_inc(x_268); -lean_dec(x_236); +lean_dec(x_211); x_270 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_270, 0, x_268); lean_ctor_set(x_270, 1, x_269); @@ -4513,110 +4516,77 @@ return x_270; } } } -} -else -{ -uint8_t x_271; -lean_dec(x_213); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_271 = !lean_is_exclusive(x_214); -if (x_271 == 0) -{ -return x_214; -} -else -{ -lean_object* x_272; lean_object* x_273; lean_object* x_274; -x_272 = lean_ctor_get(x_214, 0); -x_273 = lean_ctor_get(x_214, 1); -lean_inc(x_273); -lean_inc(x_272); -lean_dec(x_214); -x_274 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_274, 0, x_272); -lean_ctor_set(x_274, 1, x_273); -return x_274; -} -} -} case 4: { -lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_275 = lean_ctor_get(x_21, 1); -lean_inc(x_275); +lean_object* x_271; lean_object* x_272; lean_object* x_273; +x_271 = lean_ctor_get(x_21, 1); +lean_inc(x_271); lean_dec(x_21); -x_276 = lean_ctor_get(x_18, 0); -lean_inc(x_276); +x_272 = lean_ctor_get(x_18, 0); +lean_inc(x_272); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_276); +lean_inc(x_272); lean_inc(x_22); -x_277 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_276, x_2, x_3, x_4, x_5, x_6, x_7, x_275); -if (lean_obj_tag(x_277) == 0) +x_273 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_272, x_2, x_3, x_4, x_5, x_6, x_7, x_271); +if (lean_obj_tag(x_273) == 0) { -lean_object* x_278; -x_278 = lean_ctor_get(x_277, 0); -lean_inc(x_278); -if (lean_obj_tag(x_278) == 0) +lean_object* x_274; +x_274 = lean_ctor_get(x_273, 0); +lean_inc(x_274); +if (lean_obj_tag(x_274) == 0) { -lean_object* x_279; lean_object* x_280; lean_object* x_281; -x_279 = lean_ctor_get(x_277, 1); -lean_inc(x_279); -lean_dec(x_277); -x_280 = lean_ctor_get(x_18, 3); -lean_inc(x_280); +lean_object* x_275; lean_object* x_276; lean_object* x_277; +x_275 = lean_ctor_get(x_273, 1); +lean_inc(x_275); +lean_dec(x_273); +x_276 = lean_ctor_get(x_18, 3); +lean_inc(x_276); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_281 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__9(x_276, x_280, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_279); -lean_dec(x_280); -if (lean_obj_tag(x_281) == 0) +x_277 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__9(x_272, x_276, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_275); +lean_dec(x_276); +if (lean_obj_tag(x_277) == 0) { -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; -x_282 = lean_ctor_get(x_281, 1); -lean_inc(x_282); -lean_dec(x_281); -x_283 = l_Lean_indentExpr(x_276); -x_284 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +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_278 = lean_ctor_get(x_277, 1); +lean_inc(x_278); +lean_dec(x_277); +x_279 = l_Lean_indentExpr(x_272); +x_280 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_281 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_279); +x_282 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_283 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_283, 0, x_281); +lean_ctor_set(x_283, 1, x_282); +x_284 = l_Lean_indentExpr(x_22); x_285 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_285, 0, x_284); -lean_ctor_set(x_285, 1, x_283); -x_286 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +lean_ctor_set(x_285, 0, x_283); +lean_ctor_set(x_285, 1, x_284); +x_286 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; x_287 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_287, 0, x_285); lean_ctor_set(x_287, 1, x_286); -x_288 = l_Lean_indentExpr(x_22); -x_289 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_289, 0, x_287); -lean_ctor_set(x_289, 1, x_288); -x_290 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_291 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_291, 0, x_289); -lean_ctor_set(x_291, 1, x_290); -x_292 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_291, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_282); +x_288 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_287, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_278); 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_292; +return x_288; } else { -uint8_t x_293; -lean_dec(x_276); +uint8_t x_289; +lean_dec(x_272); lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); @@ -4624,458 +4594,452 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_293 = !lean_is_exclusive(x_281); -if (x_293 == 0) -{ -return x_281; -} -else -{ -lean_object* x_294; lean_object* x_295; lean_object* x_296; -x_294 = lean_ctor_get(x_281, 0); -x_295 = lean_ctor_get(x_281, 1); -lean_inc(x_295); -lean_inc(x_294); -lean_dec(x_281); -x_296 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_296, 0, x_294); -lean_ctor_set(x_296, 1, x_295); -return x_296; -} -} -} -else -{ -lean_object* x_297; lean_object* x_298; lean_object* x_299; -lean_dec(x_276); -lean_dec(x_22); -lean_dec(x_18); -x_297 = lean_ctor_get(x_277, 1); -lean_inc(x_297); -lean_dec(x_277); -x_298 = lean_ctor_get(x_278, 0); -lean_inc(x_298); -lean_dec(x_278); -lean_inc(x_7); -lean_inc(x_298); -x_299 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_298, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_297); -lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_299) == 0) -{ -lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; -x_300 = lean_ctor_get(x_299, 0); -lean_inc(x_300); -x_301 = lean_ctor_get(x_299, 1); -lean_inc(x_301); -lean_dec(x_299); -x_302 = lean_st_ref_get(x_7, x_301); -lean_dec(x_7); -x_303 = lean_ctor_get(x_302, 1); -lean_inc(x_303); -lean_dec(x_302); -x_304 = lean_st_ref_take(x_1, x_303); -x_305 = lean_ctor_get(x_304, 0); -lean_inc(x_305); -x_306 = lean_ctor_get(x_304, 1); -lean_inc(x_306); -lean_dec(x_304); -x_307 = !lean_is_exclusive(x_305); -if (x_307 == 0) -{ -lean_object* x_308; lean_object* x_309; lean_object* x_310; uint8_t x_311; -x_308 = lean_ctor_get(x_305, 1); -lean_dec(x_308); -x_309 = lean_ctor_get(x_305, 0); -lean_dec(x_309); -lean_ctor_set(x_305, 1, x_300); -lean_ctor_set(x_305, 0, x_298); -x_310 = lean_st_ref_set(x_1, x_305, x_306); -x_311 = !lean_is_exclusive(x_310); -if (x_311 == 0) -{ -lean_object* x_312; -x_312 = lean_ctor_get(x_310, 0); -lean_dec(x_312); -lean_ctor_set(x_310, 0, x_12); -return x_310; -} -else -{ -lean_object* x_313; lean_object* x_314; -x_313 = lean_ctor_get(x_310, 1); -lean_inc(x_313); -lean_dec(x_310); -x_314 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_314, 0, x_12); -lean_ctor_set(x_314, 1, x_313); -return x_314; -} -} -else -{ -uint8_t x_315; lean_object* x_316; lean_object* x_317; uint8_t x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; uint8_t x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; -x_315 = lean_ctor_get_uint8(x_305, sizeof(void*)*9); -x_316 = lean_ctor_get(x_305, 2); -x_317 = lean_ctor_get(x_305, 3); -x_318 = lean_ctor_get_uint8(x_305, sizeof(void*)*9 + 1); -x_319 = lean_ctor_get(x_305, 4); -x_320 = lean_ctor_get(x_305, 5); -x_321 = lean_ctor_get(x_305, 6); -x_322 = lean_ctor_get(x_305, 7); -x_323 = lean_ctor_get(x_305, 8); -x_324 = lean_ctor_get_uint8(x_305, sizeof(void*)*9 + 2); -lean_inc(x_323); -lean_inc(x_322); -lean_inc(x_321); -lean_inc(x_320); -lean_inc(x_319); -lean_inc(x_317); -lean_inc(x_316); -lean_dec(x_305); -x_325 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_325, 0, x_298); -lean_ctor_set(x_325, 1, x_300); -lean_ctor_set(x_325, 2, x_316); -lean_ctor_set(x_325, 3, x_317); -lean_ctor_set(x_325, 4, x_319); -lean_ctor_set(x_325, 5, x_320); -lean_ctor_set(x_325, 6, x_321); -lean_ctor_set(x_325, 7, x_322); -lean_ctor_set(x_325, 8, x_323); -lean_ctor_set_uint8(x_325, sizeof(void*)*9, x_315); -lean_ctor_set_uint8(x_325, sizeof(void*)*9 + 1, x_318); -lean_ctor_set_uint8(x_325, sizeof(void*)*9 + 2, x_324); -x_326 = lean_st_ref_set(x_1, x_325, x_306); -x_327 = lean_ctor_get(x_326, 1); -lean_inc(x_327); -if (lean_is_exclusive(x_326)) { - lean_ctor_release(x_326, 0); - lean_ctor_release(x_326, 1); - x_328 = x_326; -} else { - lean_dec_ref(x_326); - x_328 = lean_box(0); -} -if (lean_is_scalar(x_328)) { - x_329 = lean_alloc_ctor(0, 2, 0); -} else { - x_329 = x_328; -} -lean_ctor_set(x_329, 0, x_12); -lean_ctor_set(x_329, 1, x_327); -return x_329; -} -} -else -{ -uint8_t x_330; -lean_dec(x_298); -lean_dec(x_7); -x_330 = !lean_is_exclusive(x_299); -if (x_330 == 0) -{ -return x_299; -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; -x_331 = lean_ctor_get(x_299, 0); -x_332 = lean_ctor_get(x_299, 1); -lean_inc(x_332); -lean_inc(x_331); -lean_dec(x_299); -x_333 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_333, 0, x_331); -lean_ctor_set(x_333, 1, x_332); -return x_333; -} -} -} -} -else -{ -uint8_t x_334; -lean_dec(x_276); -lean_dec(x_22); -lean_dec(x_18); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_334 = !lean_is_exclusive(x_277); -if (x_334 == 0) +x_289 = !lean_is_exclusive(x_277); +if (x_289 == 0) { return x_277; } else { -lean_object* x_335; lean_object* x_336; lean_object* x_337; -x_335 = lean_ctor_get(x_277, 0); -x_336 = lean_ctor_get(x_277, 1); -lean_inc(x_336); -lean_inc(x_335); +lean_object* x_290; lean_object* x_291; lean_object* x_292; +x_290 = lean_ctor_get(x_277, 0); +x_291 = lean_ctor_get(x_277, 1); +lean_inc(x_291); +lean_inc(x_290); lean_dec(x_277); -x_337 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_337, 0, x_335); -lean_ctor_set(x_337, 1, x_336); -return x_337; +x_292 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_292, 0, x_290); +lean_ctor_set(x_292, 1, x_291); +return x_292; +} +} +} +else +{ +lean_object* x_293; lean_object* x_294; lean_object* x_295; +lean_dec(x_272); +lean_dec(x_22); +lean_dec(x_18); +x_293 = lean_ctor_get(x_273, 1); +lean_inc(x_293); +lean_dec(x_273); +x_294 = lean_ctor_get(x_274, 0); +lean_inc(x_294); +lean_dec(x_274); +lean_inc(x_7); +lean_inc(x_294); +x_295 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_294, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_293); +lean_dec(x_3); +lean_dec(x_2); +if (lean_obj_tag(x_295) == 0) +{ +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; uint8_t x_303; +x_296 = lean_ctor_get(x_295, 0); +lean_inc(x_296); +x_297 = lean_ctor_get(x_295, 1); +lean_inc(x_297); +lean_dec(x_295); +x_298 = lean_st_ref_get(x_7, x_297); +lean_dec(x_7); +x_299 = lean_ctor_get(x_298, 1); +lean_inc(x_299); +lean_dec(x_298); +x_300 = lean_st_ref_take(x_1, x_299); +x_301 = lean_ctor_get(x_300, 0); +lean_inc(x_301); +x_302 = lean_ctor_get(x_300, 1); +lean_inc(x_302); +lean_dec(x_300); +x_303 = !lean_is_exclusive(x_301); +if (x_303 == 0) +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; uint8_t x_307; +x_304 = lean_ctor_get(x_301, 1); +lean_dec(x_304); +x_305 = lean_ctor_get(x_301, 0); +lean_dec(x_305); +lean_ctor_set(x_301, 1, x_296); +lean_ctor_set(x_301, 0, x_294); +x_306 = lean_st_ref_set(x_1, x_301, x_302); +x_307 = !lean_is_exclusive(x_306); +if (x_307 == 0) +{ +lean_object* x_308; +x_308 = lean_ctor_get(x_306, 0); +lean_dec(x_308); +lean_ctor_set(x_306, 0, x_12); +return x_306; +} +else +{ +lean_object* x_309; lean_object* x_310; +x_309 = lean_ctor_get(x_306, 1); +lean_inc(x_309); +lean_dec(x_306); +x_310 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_310, 0, x_12); +lean_ctor_set(x_310, 1, x_309); +return x_310; +} +} +else +{ +uint8_t x_311; lean_object* x_312; lean_object* x_313; uint8_t x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; uint8_t x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_311 = lean_ctor_get_uint8(x_301, sizeof(void*)*8); +x_312 = lean_ctor_get(x_301, 2); +x_313 = lean_ctor_get(x_301, 3); +x_314 = lean_ctor_get_uint8(x_301, sizeof(void*)*8 + 1); +x_315 = lean_ctor_get(x_301, 4); +x_316 = lean_ctor_get(x_301, 5); +x_317 = lean_ctor_get(x_301, 6); +x_318 = lean_ctor_get(x_301, 7); +x_319 = lean_ctor_get_uint8(x_301, sizeof(void*)*8 + 2); +lean_inc(x_318); +lean_inc(x_317); +lean_inc(x_316); +lean_inc(x_315); +lean_inc(x_313); +lean_inc(x_312); +lean_dec(x_301); +x_320 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_320, 0, x_294); +lean_ctor_set(x_320, 1, x_296); +lean_ctor_set(x_320, 2, x_312); +lean_ctor_set(x_320, 3, x_313); +lean_ctor_set(x_320, 4, x_315); +lean_ctor_set(x_320, 5, x_316); +lean_ctor_set(x_320, 6, x_317); +lean_ctor_set(x_320, 7, x_318); +lean_ctor_set_uint8(x_320, sizeof(void*)*8, x_311); +lean_ctor_set_uint8(x_320, sizeof(void*)*8 + 1, x_314); +lean_ctor_set_uint8(x_320, sizeof(void*)*8 + 2, x_319); +x_321 = lean_st_ref_set(x_1, x_320, x_302); +x_322 = lean_ctor_get(x_321, 1); +lean_inc(x_322); +if (lean_is_exclusive(x_321)) { + lean_ctor_release(x_321, 0); + lean_ctor_release(x_321, 1); + x_323 = x_321; +} else { + lean_dec_ref(x_321); + x_323 = lean_box(0); +} +if (lean_is_scalar(x_323)) { + x_324 = lean_alloc_ctor(0, 2, 0); +} else { + x_324 = x_323; +} +lean_ctor_set(x_324, 0, x_12); +lean_ctor_set(x_324, 1, x_322); +return x_324; +} +} +else +{ +uint8_t x_325; +lean_dec(x_294); +lean_dec(x_7); +x_325 = !lean_is_exclusive(x_295); +if (x_325 == 0) +{ +return x_295; +} +else +{ +lean_object* x_326; lean_object* x_327; lean_object* x_328; +x_326 = lean_ctor_get(x_295, 0); +x_327 = lean_ctor_get(x_295, 1); +lean_inc(x_327); +lean_inc(x_326); +lean_dec(x_295); +x_328 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_328, 0, x_326); +lean_ctor_set(x_328, 1, x_327); +return x_328; +} +} +} +} +else +{ +uint8_t x_329; +lean_dec(x_272); +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_329 = !lean_is_exclusive(x_273); +if (x_329 == 0) +{ +return x_273; +} +else +{ +lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_330 = lean_ctor_get(x_273, 0); +x_331 = lean_ctor_get(x_273, 1); +lean_inc(x_331); +lean_inc(x_330); +lean_dec(x_273); +x_332 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_332, 0, x_330); +lean_ctor_set(x_332, 1, x_331); +return x_332; } } } case 5: { -lean_object* x_338; lean_object* x_339; lean_object* x_340; -x_338 = lean_ctor_get(x_21, 1); -lean_inc(x_338); +lean_object* x_333; lean_object* x_334; lean_object* x_335; +x_333 = lean_ctor_get(x_21, 1); +lean_inc(x_333); lean_dec(x_21); -x_339 = lean_ctor_get(x_18, 0); -lean_inc(x_339); +x_334 = lean_ctor_get(x_18, 0); +lean_inc(x_334); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_339); +lean_inc(x_334); lean_inc(x_22); -x_340 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_339, x_2, x_3, x_4, x_5, x_6, x_7, x_338); -if (lean_obj_tag(x_340) == 0) +x_335 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_334, x_2, x_3, x_4, x_5, x_6, x_7, x_333); +if (lean_obj_tag(x_335) == 0) { -lean_object* x_341; -x_341 = lean_ctor_get(x_340, 0); -lean_inc(x_341); -if (lean_obj_tag(x_341) == 0) +lean_object* x_336; +x_336 = lean_ctor_get(x_335, 0); +lean_inc(x_336); +if (lean_obj_tag(x_336) == 0) { -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_340, 1); -lean_inc(x_342); -lean_dec(x_340); -x_343 = lean_ctor_get(x_18, 3); -lean_inc(x_343); +lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_337 = lean_ctor_get(x_335, 1); +lean_inc(x_337); +lean_dec(x_335); +x_338 = lean_ctor_get(x_18, 3); +lean_inc(x_338); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_344 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__10(x_339, x_343, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_342); -lean_dec(x_343); -if (lean_obj_tag(x_344) == 0) +x_339 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__10(x_334, x_338, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_337); +lean_dec(x_338); +if (lean_obj_tag(x_339) == 0) { -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; -x_345 = lean_ctor_get(x_344, 1); -lean_inc(x_345); -lean_dec(x_344); -x_346 = l_Lean_indentExpr(x_339); -x_347 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; -x_348 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_348, 0, x_347); -lean_ctor_set(x_348, 1, x_346); -x_349 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_350 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_350, 0, x_348); -lean_ctor_set(x_350, 1, x_349); -x_351 = l_Lean_indentExpr(x_22); -x_352 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_352, 0, x_350); -lean_ctor_set(x_352, 1, x_351); -x_353 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_354 = lean_alloc_ctor(10, 2, 0); +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; +x_340 = lean_ctor_get(x_339, 1); +lean_inc(x_340); +lean_dec(x_339); +x_341 = l_Lean_indentExpr(x_334); +x_342 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_343 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_343, 0, x_342); +lean_ctor_set(x_343, 1, x_341); +x_344 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_345 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_345, 0, x_343); +lean_ctor_set(x_345, 1, x_344); +x_346 = l_Lean_indentExpr(x_22); +x_347 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_347, 0, x_345); +lean_ctor_set(x_347, 1, x_346); +x_348 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_349 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_349, 0, x_347); +lean_ctor_set(x_349, 1, x_348); +x_350 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_349, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_340); +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_350; +} +else +{ +uint8_t x_351; +lean_dec(x_334); +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); +x_351 = !lean_is_exclusive(x_339); +if (x_351 == 0) +{ +return x_339; +} +else +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; +x_352 = lean_ctor_get(x_339, 0); +x_353 = lean_ctor_get(x_339, 1); +lean_inc(x_353); +lean_inc(x_352); +lean_dec(x_339); +x_354 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_354, 0, x_352); lean_ctor_set(x_354, 1, x_353); -x_355 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_354, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_345); -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_355; -} -else -{ -uint8_t x_356; -lean_dec(x_339); -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); -x_356 = !lean_is_exclusive(x_344); -if (x_356 == 0) -{ -return x_344; -} -else -{ -lean_object* x_357; lean_object* x_358; lean_object* x_359; -x_357 = lean_ctor_get(x_344, 0); -x_358 = lean_ctor_get(x_344, 1); -lean_inc(x_358); -lean_inc(x_357); -lean_dec(x_344); -x_359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_359, 0, x_357); -lean_ctor_set(x_359, 1, x_358); -return x_359; +return x_354; } } } else { -lean_object* x_360; lean_object* x_361; lean_object* x_362; -lean_dec(x_339); +lean_object* x_355; lean_object* x_356; lean_object* x_357; +lean_dec(x_334); lean_dec(x_22); lean_dec(x_18); -x_360 = lean_ctor_get(x_340, 1); -lean_inc(x_360); -lean_dec(x_340); -x_361 = lean_ctor_get(x_341, 0); -lean_inc(x_361); -lean_dec(x_341); +x_355 = lean_ctor_get(x_335, 1); +lean_inc(x_355); +lean_dec(x_335); +x_356 = lean_ctor_get(x_336, 0); +lean_inc(x_356); +lean_dec(x_336); lean_inc(x_7); -lean_inc(x_361); -x_362 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_361, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_360); +lean_inc(x_356); +x_357 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_356, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_355); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_362) == 0) +if (lean_obj_tag(x_357) == 0) { -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; uint8_t x_370; +lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; uint8_t x_365; +x_358 = lean_ctor_get(x_357, 0); +lean_inc(x_358); +x_359 = lean_ctor_get(x_357, 1); +lean_inc(x_359); +lean_dec(x_357); +x_360 = lean_st_ref_get(x_7, x_359); +lean_dec(x_7); +x_361 = lean_ctor_get(x_360, 1); +lean_inc(x_361); +lean_dec(x_360); +x_362 = lean_st_ref_take(x_1, x_361); x_363 = lean_ctor_get(x_362, 0); lean_inc(x_363); x_364 = lean_ctor_get(x_362, 1); lean_inc(x_364); lean_dec(x_362); -x_365 = lean_st_ref_get(x_7, x_364); -lean_dec(x_7); -x_366 = lean_ctor_get(x_365, 1); -lean_inc(x_366); -lean_dec(x_365); -x_367 = lean_st_ref_take(x_1, x_366); -x_368 = lean_ctor_get(x_367, 0); -lean_inc(x_368); -x_369 = lean_ctor_get(x_367, 1); -lean_inc(x_369); +x_365 = !lean_is_exclusive(x_363); +if (x_365 == 0) +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; uint8_t x_369; +x_366 = lean_ctor_get(x_363, 1); +lean_dec(x_366); +x_367 = lean_ctor_get(x_363, 0); lean_dec(x_367); -x_370 = !lean_is_exclusive(x_368); -if (x_370 == 0) +lean_ctor_set(x_363, 1, x_358); +lean_ctor_set(x_363, 0, x_356); +x_368 = lean_st_ref_set(x_1, x_363, x_364); +x_369 = !lean_is_exclusive(x_368); +if (x_369 == 0) { -lean_object* x_371; lean_object* x_372; lean_object* x_373; uint8_t x_374; +lean_object* x_370; +x_370 = lean_ctor_get(x_368, 0); +lean_dec(x_370); +lean_ctor_set(x_368, 0, x_12); +return x_368; +} +else +{ +lean_object* x_371; lean_object* x_372; x_371 = lean_ctor_get(x_368, 1); -lean_dec(x_371); -x_372 = lean_ctor_get(x_368, 0); -lean_dec(x_372); -lean_ctor_set(x_368, 1, x_363); -lean_ctor_set(x_368, 0, x_361); -x_373 = lean_st_ref_set(x_1, x_368, x_369); -x_374 = !lean_is_exclusive(x_373); -if (x_374 == 0) -{ -lean_object* x_375; -x_375 = lean_ctor_get(x_373, 0); -lean_dec(x_375); -lean_ctor_set(x_373, 0, x_12); -return x_373; -} -else -{ -lean_object* x_376; lean_object* x_377; -x_376 = lean_ctor_get(x_373, 1); -lean_inc(x_376); -lean_dec(x_373); -x_377 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_377, 0, x_12); -lean_ctor_set(x_377, 1, x_376); -return x_377; +lean_inc(x_371); +lean_dec(x_368); +x_372 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_372, 0, x_12); +lean_ctor_set(x_372, 1, x_371); +return x_372; } } else { -uint8_t x_378; lean_object* x_379; lean_object* x_380; uint8_t x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; uint8_t x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; -x_378 = lean_ctor_get_uint8(x_368, sizeof(void*)*9); -x_379 = lean_ctor_get(x_368, 2); -x_380 = lean_ctor_get(x_368, 3); -x_381 = lean_ctor_get_uint8(x_368, sizeof(void*)*9 + 1); -x_382 = lean_ctor_get(x_368, 4); -x_383 = lean_ctor_get(x_368, 5); -x_384 = lean_ctor_get(x_368, 6); -x_385 = lean_ctor_get(x_368, 7); -x_386 = lean_ctor_get(x_368, 8); -x_387 = lean_ctor_get_uint8(x_368, sizeof(void*)*9 + 2); -lean_inc(x_386); -lean_inc(x_385); -lean_inc(x_384); -lean_inc(x_383); -lean_inc(x_382); +uint8_t x_373; lean_object* x_374; lean_object* x_375; uint8_t x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; uint8_t x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; +x_373 = lean_ctor_get_uint8(x_363, sizeof(void*)*8); +x_374 = lean_ctor_get(x_363, 2); +x_375 = lean_ctor_get(x_363, 3); +x_376 = lean_ctor_get_uint8(x_363, sizeof(void*)*8 + 1); +x_377 = lean_ctor_get(x_363, 4); +x_378 = lean_ctor_get(x_363, 5); +x_379 = lean_ctor_get(x_363, 6); +x_380 = lean_ctor_get(x_363, 7); +x_381 = lean_ctor_get_uint8(x_363, sizeof(void*)*8 + 2); lean_inc(x_380); lean_inc(x_379); -lean_dec(x_368); -x_388 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_388, 0, x_361); -lean_ctor_set(x_388, 1, x_363); -lean_ctor_set(x_388, 2, x_379); -lean_ctor_set(x_388, 3, x_380); -lean_ctor_set(x_388, 4, x_382); -lean_ctor_set(x_388, 5, x_383); -lean_ctor_set(x_388, 6, x_384); -lean_ctor_set(x_388, 7, x_385); -lean_ctor_set(x_388, 8, x_386); -lean_ctor_set_uint8(x_388, sizeof(void*)*9, x_378); -lean_ctor_set_uint8(x_388, sizeof(void*)*9 + 1, x_381); -lean_ctor_set_uint8(x_388, sizeof(void*)*9 + 2, x_387); -x_389 = lean_st_ref_set(x_1, x_388, x_369); -x_390 = lean_ctor_get(x_389, 1); -lean_inc(x_390); -if (lean_is_exclusive(x_389)) { - lean_ctor_release(x_389, 0); - lean_ctor_release(x_389, 1); - x_391 = x_389; +lean_inc(x_378); +lean_inc(x_377); +lean_inc(x_375); +lean_inc(x_374); +lean_dec(x_363); +x_382 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_382, 0, x_356); +lean_ctor_set(x_382, 1, x_358); +lean_ctor_set(x_382, 2, x_374); +lean_ctor_set(x_382, 3, x_375); +lean_ctor_set(x_382, 4, x_377); +lean_ctor_set(x_382, 5, x_378); +lean_ctor_set(x_382, 6, x_379); +lean_ctor_set(x_382, 7, x_380); +lean_ctor_set_uint8(x_382, sizeof(void*)*8, x_373); +lean_ctor_set_uint8(x_382, sizeof(void*)*8 + 1, x_376); +lean_ctor_set_uint8(x_382, sizeof(void*)*8 + 2, x_381); +x_383 = lean_st_ref_set(x_1, x_382, x_364); +x_384 = lean_ctor_get(x_383, 1); +lean_inc(x_384); +if (lean_is_exclusive(x_383)) { + lean_ctor_release(x_383, 0); + lean_ctor_release(x_383, 1); + x_385 = x_383; } else { - lean_dec_ref(x_389); - x_391 = lean_box(0); + lean_dec_ref(x_383); + x_385 = lean_box(0); } -if (lean_is_scalar(x_391)) { - x_392 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_385)) { + x_386 = lean_alloc_ctor(0, 2, 0); } else { - x_392 = x_391; + x_386 = x_385; } -lean_ctor_set(x_392, 0, x_12); -lean_ctor_set(x_392, 1, x_390); -return x_392; +lean_ctor_set(x_386, 0, x_12); +lean_ctor_set(x_386, 1, x_384); +return x_386; } } else { -uint8_t x_393; -lean_dec(x_361); +uint8_t x_387; +lean_dec(x_356); lean_dec(x_7); -x_393 = !lean_is_exclusive(x_362); -if (x_393 == 0) +x_387 = !lean_is_exclusive(x_357); +if (x_387 == 0) { -return x_362; +return x_357; } else { -lean_object* x_394; lean_object* x_395; lean_object* x_396; -x_394 = lean_ctor_get(x_362, 0); -x_395 = lean_ctor_get(x_362, 1); -lean_inc(x_395); -lean_inc(x_394); -lean_dec(x_362); -x_396 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_396, 0, x_394); -lean_ctor_set(x_396, 1, x_395); -return x_396; +lean_object* x_388; lean_object* x_389; lean_object* x_390; +x_388 = lean_ctor_get(x_357, 0); +x_389 = lean_ctor_get(x_357, 1); +lean_inc(x_389); +lean_inc(x_388); +lean_dec(x_357); +x_390 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_390, 0, x_388); +lean_ctor_set(x_390, 1, x_389); +return x_390; } } } } else { -uint8_t x_397; -lean_dec(x_339); +uint8_t x_391; +lean_dec(x_334); lean_dec(x_22); lean_dec(x_18); lean_dec(x_7); @@ -5084,97 +5048,97 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_397 = !lean_is_exclusive(x_340); -if (x_397 == 0) +x_391 = !lean_is_exclusive(x_335); +if (x_391 == 0) { -return x_340; +return x_335; } else { -lean_object* x_398; lean_object* x_399; lean_object* x_400; -x_398 = lean_ctor_get(x_340, 0); -x_399 = lean_ctor_get(x_340, 1); -lean_inc(x_399); -lean_inc(x_398); -lean_dec(x_340); -x_400 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_400, 0, x_398); -lean_ctor_set(x_400, 1, x_399); -return x_400; +lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_392 = lean_ctor_get(x_335, 0); +x_393 = lean_ctor_get(x_335, 1); +lean_inc(x_393); +lean_inc(x_392); +lean_dec(x_335); +x_394 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_394, 0, x_392); +lean_ctor_set(x_394, 1, x_393); +return x_394; } } } case 6: { -lean_object* x_401; lean_object* x_402; lean_object* x_403; -x_401 = lean_ctor_get(x_21, 1); -lean_inc(x_401); +lean_object* x_395; lean_object* x_396; lean_object* x_397; +x_395 = lean_ctor_get(x_21, 1); +lean_inc(x_395); lean_dec(x_21); -x_402 = lean_ctor_get(x_18, 0); -lean_inc(x_402); +x_396 = lean_ctor_get(x_18, 0); +lean_inc(x_396); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_402); +lean_inc(x_396); lean_inc(x_22); -x_403 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_402, x_2, x_3, x_4, x_5, x_6, x_7, x_401); -if (lean_obj_tag(x_403) == 0) +x_397 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_396, x_2, x_3, x_4, x_5, x_6, x_7, x_395); +if (lean_obj_tag(x_397) == 0) { -lean_object* x_404; -x_404 = lean_ctor_get(x_403, 0); -lean_inc(x_404); -if (lean_obj_tag(x_404) == 0) +lean_object* x_398; +x_398 = lean_ctor_get(x_397, 0); +lean_inc(x_398); +if (lean_obj_tag(x_398) == 0) { -lean_object* x_405; lean_object* x_406; lean_object* x_407; -x_405 = lean_ctor_get(x_403, 1); -lean_inc(x_405); -lean_dec(x_403); -x_406 = lean_ctor_get(x_18, 3); -lean_inc(x_406); +lean_object* x_399; lean_object* x_400; lean_object* x_401; +x_399 = lean_ctor_get(x_397, 1); +lean_inc(x_399); +lean_dec(x_397); +x_400 = lean_ctor_get(x_18, 3); +lean_inc(x_400); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_407 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__11(x_402, x_406, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_405); -lean_dec(x_406); -if (lean_obj_tag(x_407) == 0) +x_401 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__11(x_396, x_400, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_399); +lean_dec(x_400); +if (lean_obj_tag(x_401) == 0) { -lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_408 = lean_ctor_get(x_407, 1); -lean_inc(x_408); -lean_dec(x_407); -x_409 = l_Lean_indentExpr(x_402); -x_410 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +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; +x_402 = lean_ctor_get(x_401, 1); +lean_inc(x_402); +lean_dec(x_401); +x_403 = l_Lean_indentExpr(x_396); +x_404 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_405 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_405, 0, x_404); +lean_ctor_set(x_405, 1, x_403); +x_406 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_407 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_407, 0, x_405); +lean_ctor_set(x_407, 1, x_406); +x_408 = l_Lean_indentExpr(x_22); +x_409 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_409, 0, x_407); +lean_ctor_set(x_409, 1, x_408); +x_410 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; x_411 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_411, 0, x_410); -lean_ctor_set(x_411, 1, x_409); -x_412 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_413 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_413, 0, x_411); -lean_ctor_set(x_413, 1, x_412); -x_414 = l_Lean_indentExpr(x_22); -x_415 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_415, 0, x_413); -lean_ctor_set(x_415, 1, x_414); -x_416 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_417 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_417, 0, x_415); -lean_ctor_set(x_417, 1, x_416); -x_418 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_417, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_408); +lean_ctor_set(x_411, 0, x_409); +lean_ctor_set(x_411, 1, x_410); +x_412 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_411, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_402); 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_418; +return x_412; } else { -uint8_t x_419; -lean_dec(x_402); +uint8_t x_413; +lean_dec(x_396); lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); @@ -5182,179 +5146,176 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_419 = !lean_is_exclusive(x_407); -if (x_419 == 0) +x_413 = !lean_is_exclusive(x_401); +if (x_413 == 0) { -return x_407; +return x_401; } else { -lean_object* x_420; lean_object* x_421; lean_object* x_422; -x_420 = lean_ctor_get(x_407, 0); -x_421 = lean_ctor_get(x_407, 1); -lean_inc(x_421); -lean_inc(x_420); -lean_dec(x_407); -x_422 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_422, 0, x_420); -lean_ctor_set(x_422, 1, x_421); -return x_422; +lean_object* x_414; lean_object* x_415; lean_object* x_416; +x_414 = lean_ctor_get(x_401, 0); +x_415 = lean_ctor_get(x_401, 1); +lean_inc(x_415); +lean_inc(x_414); +lean_dec(x_401); +x_416 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_416, 0, x_414); +lean_ctor_set(x_416, 1, x_415); +return x_416; } } } else { -lean_object* x_423; lean_object* x_424; lean_object* x_425; -lean_dec(x_402); +lean_object* x_417; lean_object* x_418; lean_object* x_419; +lean_dec(x_396); lean_dec(x_22); lean_dec(x_18); -x_423 = lean_ctor_get(x_403, 1); -lean_inc(x_423); -lean_dec(x_403); -x_424 = lean_ctor_get(x_404, 0); -lean_inc(x_424); -lean_dec(x_404); +x_417 = lean_ctor_get(x_397, 1); +lean_inc(x_417); +lean_dec(x_397); +x_418 = lean_ctor_get(x_398, 0); +lean_inc(x_418); +lean_dec(x_398); lean_inc(x_7); -lean_inc(x_424); -x_425 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_424, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_423); +lean_inc(x_418); +x_419 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_418, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_417); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_425) == 0) +if (lean_obj_tag(x_419) == 0) { -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; uint8_t x_433; -x_426 = lean_ctor_get(x_425, 0); +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; uint8_t x_427; +x_420 = lean_ctor_get(x_419, 0); +lean_inc(x_420); +x_421 = lean_ctor_get(x_419, 1); +lean_inc(x_421); +lean_dec(x_419); +x_422 = lean_st_ref_get(x_7, x_421); +lean_dec(x_7); +x_423 = lean_ctor_get(x_422, 1); +lean_inc(x_423); +lean_dec(x_422); +x_424 = lean_st_ref_take(x_1, x_423); +x_425 = lean_ctor_get(x_424, 0); +lean_inc(x_425); +x_426 = lean_ctor_get(x_424, 1); lean_inc(x_426); -x_427 = lean_ctor_get(x_425, 1); -lean_inc(x_427); -lean_dec(x_425); -x_428 = lean_st_ref_get(x_7, x_427); -lean_dec(x_7); -x_429 = lean_ctor_get(x_428, 1); -lean_inc(x_429); -lean_dec(x_428); -x_430 = lean_st_ref_take(x_1, x_429); -x_431 = lean_ctor_get(x_430, 0); -lean_inc(x_431); -x_432 = lean_ctor_get(x_430, 1); -lean_inc(x_432); -lean_dec(x_430); -x_433 = !lean_is_exclusive(x_431); -if (x_433 == 0) -{ -lean_object* x_434; lean_object* x_435; lean_object* x_436; uint8_t x_437; -x_434 = lean_ctor_get(x_431, 1); -lean_dec(x_434); -x_435 = lean_ctor_get(x_431, 0); -lean_dec(x_435); -lean_ctor_set(x_431, 1, x_426); -lean_ctor_set(x_431, 0, x_424); -x_436 = lean_st_ref_set(x_1, x_431, x_432); -x_437 = !lean_is_exclusive(x_436); -if (x_437 == 0) -{ -lean_object* x_438; -x_438 = lean_ctor_get(x_436, 0); -lean_dec(x_438); -lean_ctor_set(x_436, 0, x_12); -return x_436; -} -else -{ -lean_object* x_439; lean_object* x_440; -x_439 = lean_ctor_get(x_436, 1); -lean_inc(x_439); -lean_dec(x_436); -x_440 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_440, 0, x_12); -lean_ctor_set(x_440, 1, x_439); -return x_440; -} -} -else -{ -uint8_t x_441; lean_object* x_442; lean_object* x_443; uint8_t x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; uint8_t x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -x_441 = lean_ctor_get_uint8(x_431, sizeof(void*)*9); -x_442 = lean_ctor_get(x_431, 2); -x_443 = lean_ctor_get(x_431, 3); -x_444 = lean_ctor_get_uint8(x_431, sizeof(void*)*9 + 1); -x_445 = lean_ctor_get(x_431, 4); -x_446 = lean_ctor_get(x_431, 5); -x_447 = lean_ctor_get(x_431, 6); -x_448 = lean_ctor_get(x_431, 7); -x_449 = lean_ctor_get(x_431, 8); -x_450 = lean_ctor_get_uint8(x_431, sizeof(void*)*9 + 2); -lean_inc(x_449); -lean_inc(x_448); -lean_inc(x_447); -lean_inc(x_446); -lean_inc(x_445); -lean_inc(x_443); -lean_inc(x_442); -lean_dec(x_431); -x_451 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_451, 0, x_424); -lean_ctor_set(x_451, 1, x_426); -lean_ctor_set(x_451, 2, x_442); -lean_ctor_set(x_451, 3, x_443); -lean_ctor_set(x_451, 4, x_445); -lean_ctor_set(x_451, 5, x_446); -lean_ctor_set(x_451, 6, x_447); -lean_ctor_set(x_451, 7, x_448); -lean_ctor_set(x_451, 8, x_449); -lean_ctor_set_uint8(x_451, sizeof(void*)*9, x_441); -lean_ctor_set_uint8(x_451, sizeof(void*)*9 + 1, x_444); -lean_ctor_set_uint8(x_451, sizeof(void*)*9 + 2, x_450); -x_452 = lean_st_ref_set(x_1, x_451, x_432); -x_453 = lean_ctor_get(x_452, 1); -lean_inc(x_453); -if (lean_is_exclusive(x_452)) { - lean_ctor_release(x_452, 0); - lean_ctor_release(x_452, 1); - x_454 = x_452; -} else { - lean_dec_ref(x_452); - x_454 = lean_box(0); -} -if (lean_is_scalar(x_454)) { - x_455 = lean_alloc_ctor(0, 2, 0); -} else { - x_455 = x_454; -} -lean_ctor_set(x_455, 0, x_12); -lean_ctor_set(x_455, 1, x_453); -return x_455; -} -} -else -{ -uint8_t x_456; lean_dec(x_424); -lean_dec(x_7); -x_456 = !lean_is_exclusive(x_425); -if (x_456 == 0) +x_427 = !lean_is_exclusive(x_425); +if (x_427 == 0) { -return x_425; +lean_object* x_428; lean_object* x_429; lean_object* x_430; uint8_t x_431; +x_428 = lean_ctor_get(x_425, 1); +lean_dec(x_428); +x_429 = lean_ctor_get(x_425, 0); +lean_dec(x_429); +lean_ctor_set(x_425, 1, x_420); +lean_ctor_set(x_425, 0, x_418); +x_430 = lean_st_ref_set(x_1, x_425, x_426); +x_431 = !lean_is_exclusive(x_430); +if (x_431 == 0) +{ +lean_object* x_432; +x_432 = lean_ctor_get(x_430, 0); +lean_dec(x_432); +lean_ctor_set(x_430, 0, x_12); +return x_430; } else { -lean_object* x_457; lean_object* x_458; lean_object* x_459; -x_457 = lean_ctor_get(x_425, 0); -x_458 = lean_ctor_get(x_425, 1); -lean_inc(x_458); -lean_inc(x_457); +lean_object* x_433; lean_object* x_434; +x_433 = lean_ctor_get(x_430, 1); +lean_inc(x_433); +lean_dec(x_430); +x_434 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_434, 0, x_12); +lean_ctor_set(x_434, 1, x_433); +return x_434; +} +} +else +{ +uint8_t x_435; lean_object* x_436; lean_object* x_437; uint8_t x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; uint8_t x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_435 = lean_ctor_get_uint8(x_425, sizeof(void*)*8); +x_436 = lean_ctor_get(x_425, 2); +x_437 = lean_ctor_get(x_425, 3); +x_438 = lean_ctor_get_uint8(x_425, sizeof(void*)*8 + 1); +x_439 = lean_ctor_get(x_425, 4); +x_440 = lean_ctor_get(x_425, 5); +x_441 = lean_ctor_get(x_425, 6); +x_442 = lean_ctor_get(x_425, 7); +x_443 = lean_ctor_get_uint8(x_425, sizeof(void*)*8 + 2); +lean_inc(x_442); +lean_inc(x_441); +lean_inc(x_440); +lean_inc(x_439); +lean_inc(x_437); +lean_inc(x_436); lean_dec(x_425); -x_459 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_459, 0, x_457); -lean_ctor_set(x_459, 1, x_458); -return x_459; +x_444 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_444, 0, x_418); +lean_ctor_set(x_444, 1, x_420); +lean_ctor_set(x_444, 2, x_436); +lean_ctor_set(x_444, 3, x_437); +lean_ctor_set(x_444, 4, x_439); +lean_ctor_set(x_444, 5, x_440); +lean_ctor_set(x_444, 6, x_441); +lean_ctor_set(x_444, 7, x_442); +lean_ctor_set_uint8(x_444, sizeof(void*)*8, x_435); +lean_ctor_set_uint8(x_444, sizeof(void*)*8 + 1, x_438); +lean_ctor_set_uint8(x_444, sizeof(void*)*8 + 2, x_443); +x_445 = lean_st_ref_set(x_1, x_444, x_426); +x_446 = lean_ctor_get(x_445, 1); +lean_inc(x_446); +if (lean_is_exclusive(x_445)) { + lean_ctor_release(x_445, 0); + lean_ctor_release(x_445, 1); + x_447 = x_445; +} else { + lean_dec_ref(x_445); + x_447 = lean_box(0); +} +if (lean_is_scalar(x_447)) { + x_448 = lean_alloc_ctor(0, 2, 0); +} else { + x_448 = x_447; +} +lean_ctor_set(x_448, 0, x_12); +lean_ctor_set(x_448, 1, x_446); +return x_448; +} +} +else +{ +uint8_t x_449; +lean_dec(x_418); +lean_dec(x_7); +x_449 = !lean_is_exclusive(x_419); +if (x_449 == 0) +{ +return x_419; +} +else +{ +lean_object* x_450; lean_object* x_451; lean_object* x_452; +x_450 = lean_ctor_get(x_419, 0); +x_451 = lean_ctor_get(x_419, 1); +lean_inc(x_451); +lean_inc(x_450); +lean_dec(x_419); +x_452 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_452, 0, x_450); +lean_ctor_set(x_452, 1, x_451); +return x_452; } } } } else { -uint8_t x_460; -lean_dec(x_402); +uint8_t x_453; +lean_dec(x_396); lean_dec(x_22); lean_dec(x_18); lean_dec(x_7); @@ -5363,206 +5324,203 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_460 = !lean_is_exclusive(x_403); -if (x_460 == 0) +x_453 = !lean_is_exclusive(x_397); +if (x_453 == 0) { -return x_403; +return x_397; } else { -lean_object* x_461; lean_object* x_462; lean_object* x_463; -x_461 = lean_ctor_get(x_403, 0); -x_462 = lean_ctor_get(x_403, 1); -lean_inc(x_462); -lean_inc(x_461); -lean_dec(x_403); -x_463 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_463, 0, x_461); -lean_ctor_set(x_463, 1, x_462); -return x_463; +lean_object* x_454; lean_object* x_455; lean_object* x_456; +x_454 = lean_ctor_get(x_397, 0); +x_455 = lean_ctor_get(x_397, 1); +lean_inc(x_455); +lean_inc(x_454); +lean_dec(x_397); +x_456 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_456, 0, x_454); +lean_ctor_set(x_456, 1, x_455); +return x_456; } } } case 7: { -lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; +lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; uint8_t x_463; lean_dec(x_18); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_464 = lean_ctor_get(x_21, 1); -lean_inc(x_464); +x_457 = lean_ctor_get(x_21, 1); +lean_inc(x_457); lean_dec(x_21); -x_465 = lean_st_ref_get(x_7, x_464); +x_458 = lean_st_ref_get(x_7, x_457); lean_dec(x_7); -x_466 = lean_ctor_get(x_465, 1); -lean_inc(x_466); -lean_dec(x_465); -x_467 = lean_st_ref_take(x_1, x_466); -x_468 = lean_ctor_get(x_467, 0); -lean_inc(x_468); -x_469 = lean_ctor_get(x_467, 1); -lean_inc(x_469); +x_459 = lean_ctor_get(x_458, 1); +lean_inc(x_459); +lean_dec(x_458); +x_460 = lean_st_ref_take(x_1, x_459); +x_461 = lean_ctor_get(x_460, 0); +lean_inc(x_461); +x_462 = lean_ctor_get(x_460, 1); +lean_inc(x_462); +lean_dec(x_460); +x_463 = !lean_is_exclusive(x_461); +if (x_463 == 0) +{ +lean_object* x_464; lean_object* x_465; uint8_t x_466; +x_464 = lean_ctor_get(x_461, 1); +lean_dec(x_464); +lean_ctor_set(x_461, 1, x_22); +x_465 = lean_st_ref_set(x_1, x_461, x_462); +x_466 = !lean_is_exclusive(x_465); +if (x_466 == 0) +{ +lean_object* x_467; +x_467 = lean_ctor_get(x_465, 0); lean_dec(x_467); -x_470 = !lean_is_exclusive(x_468); -if (x_470 == 0) -{ -lean_object* x_471; lean_object* x_472; uint8_t x_473; -x_471 = lean_ctor_get(x_468, 1); -lean_dec(x_471); -lean_ctor_set(x_468, 1, x_22); -x_472 = lean_st_ref_set(x_1, x_468, x_469); -x_473 = !lean_is_exclusive(x_472); -if (x_473 == 0) -{ -lean_object* x_474; -x_474 = lean_ctor_get(x_472, 0); -lean_dec(x_474); -lean_ctor_set(x_472, 0, x_12); -return x_472; +lean_ctor_set(x_465, 0, x_12); +return x_465; } else { -lean_object* x_475; lean_object* x_476; -x_475 = lean_ctor_get(x_472, 1); -lean_inc(x_475); -lean_dec(x_472); -x_476 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_476, 0, x_12); -lean_ctor_set(x_476, 1, x_475); -return x_476; +lean_object* x_468; lean_object* x_469; +x_468 = lean_ctor_get(x_465, 1); +lean_inc(x_468); +lean_dec(x_465); +x_469 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_469, 0, x_12); +lean_ctor_set(x_469, 1, x_468); +return x_469; } } else { -uint8_t x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; uint8_t x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; uint8_t x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; -x_477 = lean_ctor_get_uint8(x_468, sizeof(void*)*9); -x_478 = lean_ctor_get(x_468, 0); -x_479 = lean_ctor_get(x_468, 2); -x_480 = lean_ctor_get(x_468, 3); -x_481 = lean_ctor_get_uint8(x_468, sizeof(void*)*9 + 1); -x_482 = lean_ctor_get(x_468, 4); -x_483 = lean_ctor_get(x_468, 5); -x_484 = lean_ctor_get(x_468, 6); -x_485 = lean_ctor_get(x_468, 7); -x_486 = lean_ctor_get(x_468, 8); -x_487 = lean_ctor_get_uint8(x_468, sizeof(void*)*9 + 2); -lean_inc(x_486); -lean_inc(x_485); -lean_inc(x_484); -lean_inc(x_483); -lean_inc(x_482); -lean_inc(x_480); -lean_inc(x_479); +uint8_t x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; uint8_t x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; uint8_t x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; +x_470 = lean_ctor_get_uint8(x_461, sizeof(void*)*8); +x_471 = lean_ctor_get(x_461, 0); +x_472 = lean_ctor_get(x_461, 2); +x_473 = lean_ctor_get(x_461, 3); +x_474 = lean_ctor_get_uint8(x_461, sizeof(void*)*8 + 1); +x_475 = lean_ctor_get(x_461, 4); +x_476 = lean_ctor_get(x_461, 5); +x_477 = lean_ctor_get(x_461, 6); +x_478 = lean_ctor_get(x_461, 7); +x_479 = lean_ctor_get_uint8(x_461, sizeof(void*)*8 + 2); lean_inc(x_478); -lean_dec(x_468); -x_488 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_488, 0, x_478); -lean_ctor_set(x_488, 1, x_22); -lean_ctor_set(x_488, 2, x_479); -lean_ctor_set(x_488, 3, x_480); -lean_ctor_set(x_488, 4, x_482); -lean_ctor_set(x_488, 5, x_483); -lean_ctor_set(x_488, 6, x_484); -lean_ctor_set(x_488, 7, x_485); -lean_ctor_set(x_488, 8, x_486); -lean_ctor_set_uint8(x_488, sizeof(void*)*9, x_477); -lean_ctor_set_uint8(x_488, sizeof(void*)*9 + 1, x_481); -lean_ctor_set_uint8(x_488, sizeof(void*)*9 + 2, x_487); -x_489 = lean_st_ref_set(x_1, x_488, x_469); -x_490 = lean_ctor_get(x_489, 1); -lean_inc(x_490); -if (lean_is_exclusive(x_489)) { - lean_ctor_release(x_489, 0); - lean_ctor_release(x_489, 1); - x_491 = x_489; +lean_inc(x_477); +lean_inc(x_476); +lean_inc(x_475); +lean_inc(x_473); +lean_inc(x_472); +lean_inc(x_471); +lean_dec(x_461); +x_480 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_480, 0, x_471); +lean_ctor_set(x_480, 1, x_22); +lean_ctor_set(x_480, 2, x_472); +lean_ctor_set(x_480, 3, x_473); +lean_ctor_set(x_480, 4, x_475); +lean_ctor_set(x_480, 5, x_476); +lean_ctor_set(x_480, 6, x_477); +lean_ctor_set(x_480, 7, x_478); +lean_ctor_set_uint8(x_480, sizeof(void*)*8, x_470); +lean_ctor_set_uint8(x_480, sizeof(void*)*8 + 1, x_474); +lean_ctor_set_uint8(x_480, sizeof(void*)*8 + 2, x_479); +x_481 = lean_st_ref_set(x_1, x_480, x_462); +x_482 = lean_ctor_get(x_481, 1); +lean_inc(x_482); +if (lean_is_exclusive(x_481)) { + lean_ctor_release(x_481, 0); + lean_ctor_release(x_481, 1); + x_483 = x_481; } else { - lean_dec_ref(x_489); - x_491 = lean_box(0); + lean_dec_ref(x_481); + x_483 = lean_box(0); } -if (lean_is_scalar(x_491)) { - x_492 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_483)) { + x_484 = lean_alloc_ctor(0, 2, 0); } else { - x_492 = x_491; + x_484 = x_483; } -lean_ctor_set(x_492, 0, x_12); -lean_ctor_set(x_492, 1, x_490); -return x_492; +lean_ctor_set(x_484, 0, x_12); +lean_ctor_set(x_484, 1, x_482); +return x_484; } } case 8: { -lean_object* x_493; lean_object* x_494; lean_object* x_495; -x_493 = lean_ctor_get(x_21, 1); -lean_inc(x_493); +lean_object* x_485; lean_object* x_486; lean_object* x_487; +x_485 = lean_ctor_get(x_21, 1); +lean_inc(x_485); lean_dec(x_21); -x_494 = lean_ctor_get(x_18, 0); -lean_inc(x_494); +x_486 = lean_ctor_get(x_18, 0); +lean_inc(x_486); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_494); +lean_inc(x_486); lean_inc(x_22); -x_495 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_494, x_2, x_3, x_4, x_5, x_6, x_7, x_493); -if (lean_obj_tag(x_495) == 0) +x_487 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_486, x_2, x_3, x_4, x_5, x_6, x_7, x_485); +if (lean_obj_tag(x_487) == 0) { -lean_object* x_496; -x_496 = lean_ctor_get(x_495, 0); -lean_inc(x_496); -if (lean_obj_tag(x_496) == 0) +lean_object* x_488; +x_488 = lean_ctor_get(x_487, 0); +lean_inc(x_488); +if (lean_obj_tag(x_488) == 0) { -lean_object* x_497; lean_object* x_498; lean_object* x_499; -x_497 = lean_ctor_get(x_495, 1); -lean_inc(x_497); -lean_dec(x_495); -x_498 = lean_ctor_get(x_18, 3); -lean_inc(x_498); +lean_object* x_489; lean_object* x_490; lean_object* x_491; +x_489 = lean_ctor_get(x_487, 1); +lean_inc(x_489); +lean_dec(x_487); +x_490 = lean_ctor_get(x_18, 3); +lean_inc(x_490); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_499 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__12(x_494, x_498, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_497); -lean_dec(x_498); -if (lean_obj_tag(x_499) == 0) +x_491 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__12(x_486, x_490, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_489); +lean_dec(x_490); +if (lean_obj_tag(x_491) == 0) { -lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; -x_500 = lean_ctor_get(x_499, 1); -lean_inc(x_500); -lean_dec(x_499); -x_501 = l_Lean_indentExpr(x_494); -x_502 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; -x_503 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_501); -x_504 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_505 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_505, 0, x_503); -lean_ctor_set(x_505, 1, x_504); -x_506 = l_Lean_indentExpr(x_22); -x_507 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_507, 0, x_505); -lean_ctor_set(x_507, 1, x_506); -x_508 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_509 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_509, 0, x_507); -lean_ctor_set(x_509, 1, x_508); -x_510 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_509, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_500); +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; +x_492 = lean_ctor_get(x_491, 1); +lean_inc(x_492); +lean_dec(x_491); +x_493 = l_Lean_indentExpr(x_486); +x_494 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_495 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_495, 0, x_494); +lean_ctor_set(x_495, 1, x_493); +x_496 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_497 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_497, 0, x_495); +lean_ctor_set(x_497, 1, x_496); +x_498 = l_Lean_indentExpr(x_22); +x_499 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_499, 0, x_497); +lean_ctor_set(x_499, 1, x_498); +x_500 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_501 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_501, 0, x_499); +lean_ctor_set(x_501, 1, x_500); +x_502 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_501, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_492); 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_510; +return x_502; } else { -uint8_t x_511; -lean_dec(x_494); +uint8_t x_503; +lean_dec(x_486); lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); @@ -5570,179 +5528,176 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_511 = !lean_is_exclusive(x_499); -if (x_511 == 0) +x_503 = !lean_is_exclusive(x_491); +if (x_503 == 0) { -return x_499; +return x_491; } else { -lean_object* x_512; lean_object* x_513; lean_object* x_514; -x_512 = lean_ctor_get(x_499, 0); -x_513 = lean_ctor_get(x_499, 1); -lean_inc(x_513); -lean_inc(x_512); -lean_dec(x_499); -x_514 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_514, 0, x_512); -lean_ctor_set(x_514, 1, x_513); -return x_514; +lean_object* x_504; lean_object* x_505; lean_object* x_506; +x_504 = lean_ctor_get(x_491, 0); +x_505 = lean_ctor_get(x_491, 1); +lean_inc(x_505); +lean_inc(x_504); +lean_dec(x_491); +x_506 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_506, 0, x_504); +lean_ctor_set(x_506, 1, x_505); +return x_506; } } } else { -lean_object* x_515; lean_object* x_516; lean_object* x_517; -lean_dec(x_494); +lean_object* x_507; lean_object* x_508; lean_object* x_509; +lean_dec(x_486); lean_dec(x_22); lean_dec(x_18); -x_515 = lean_ctor_get(x_495, 1); -lean_inc(x_515); -lean_dec(x_495); -x_516 = lean_ctor_get(x_496, 0); -lean_inc(x_516); -lean_dec(x_496); +x_507 = lean_ctor_get(x_487, 1); +lean_inc(x_507); +lean_dec(x_487); +x_508 = lean_ctor_get(x_488, 0); +lean_inc(x_508); +lean_dec(x_488); lean_inc(x_7); -lean_inc(x_516); -x_517 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_516, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_515); +lean_inc(x_508); +x_509 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_508, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_507); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_517) == 0) +if (lean_obj_tag(x_509) == 0) { -lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; uint8_t x_525; -x_518 = lean_ctor_get(x_517, 0); -lean_inc(x_518); -x_519 = lean_ctor_get(x_517, 1); -lean_inc(x_519); -lean_dec(x_517); -x_520 = lean_st_ref_get(x_7, x_519); +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; uint8_t x_517; +x_510 = lean_ctor_get(x_509, 0); +lean_inc(x_510); +x_511 = lean_ctor_get(x_509, 1); +lean_inc(x_511); +lean_dec(x_509); +x_512 = lean_st_ref_get(x_7, x_511); lean_dec(x_7); -x_521 = lean_ctor_get(x_520, 1); -lean_inc(x_521); -lean_dec(x_520); -x_522 = lean_st_ref_take(x_1, x_521); -x_523 = lean_ctor_get(x_522, 0); -lean_inc(x_523); -x_524 = lean_ctor_get(x_522, 1); -lean_inc(x_524); +x_513 = lean_ctor_get(x_512, 1); +lean_inc(x_513); +lean_dec(x_512); +x_514 = lean_st_ref_take(x_1, x_513); +x_515 = lean_ctor_get(x_514, 0); +lean_inc(x_515); +x_516 = lean_ctor_get(x_514, 1); +lean_inc(x_516); +lean_dec(x_514); +x_517 = !lean_is_exclusive(x_515); +if (x_517 == 0) +{ +lean_object* x_518; lean_object* x_519; lean_object* x_520; uint8_t x_521; +x_518 = lean_ctor_get(x_515, 1); +lean_dec(x_518); +x_519 = lean_ctor_get(x_515, 0); +lean_dec(x_519); +lean_ctor_set(x_515, 1, x_510); +lean_ctor_set(x_515, 0, x_508); +x_520 = lean_st_ref_set(x_1, x_515, x_516); +x_521 = !lean_is_exclusive(x_520); +if (x_521 == 0) +{ +lean_object* x_522; +x_522 = lean_ctor_get(x_520, 0); lean_dec(x_522); -x_525 = !lean_is_exclusive(x_523); -if (x_525 == 0) -{ -lean_object* x_526; lean_object* x_527; lean_object* x_528; uint8_t x_529; -x_526 = lean_ctor_get(x_523, 1); -lean_dec(x_526); -x_527 = lean_ctor_get(x_523, 0); -lean_dec(x_527); -lean_ctor_set(x_523, 1, x_518); -lean_ctor_set(x_523, 0, x_516); -x_528 = lean_st_ref_set(x_1, x_523, x_524); -x_529 = !lean_is_exclusive(x_528); -if (x_529 == 0) -{ -lean_object* x_530; -x_530 = lean_ctor_get(x_528, 0); -lean_dec(x_530); -lean_ctor_set(x_528, 0, x_12); -return x_528; +lean_ctor_set(x_520, 0, x_12); +return x_520; } else { -lean_object* x_531; lean_object* x_532; -x_531 = lean_ctor_get(x_528, 1); +lean_object* x_523; lean_object* x_524; +x_523 = lean_ctor_get(x_520, 1); +lean_inc(x_523); +lean_dec(x_520); +x_524 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_524, 0, x_12); +lean_ctor_set(x_524, 1, x_523); +return x_524; +} +} +else +{ +uint8_t x_525; lean_object* x_526; lean_object* x_527; uint8_t x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; uint8_t x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; +x_525 = lean_ctor_get_uint8(x_515, sizeof(void*)*8); +x_526 = lean_ctor_get(x_515, 2); +x_527 = lean_ctor_get(x_515, 3); +x_528 = lean_ctor_get_uint8(x_515, sizeof(void*)*8 + 1); +x_529 = lean_ctor_get(x_515, 4); +x_530 = lean_ctor_get(x_515, 5); +x_531 = lean_ctor_get(x_515, 6); +x_532 = lean_ctor_get(x_515, 7); +x_533 = lean_ctor_get_uint8(x_515, sizeof(void*)*8 + 2); +lean_inc(x_532); lean_inc(x_531); -lean_dec(x_528); -x_532 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_532, 0, x_12); -lean_ctor_set(x_532, 1, x_531); -return x_532; +lean_inc(x_530); +lean_inc(x_529); +lean_inc(x_527); +lean_inc(x_526); +lean_dec(x_515); +x_534 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_534, 0, x_508); +lean_ctor_set(x_534, 1, x_510); +lean_ctor_set(x_534, 2, x_526); +lean_ctor_set(x_534, 3, x_527); +lean_ctor_set(x_534, 4, x_529); +lean_ctor_set(x_534, 5, x_530); +lean_ctor_set(x_534, 6, x_531); +lean_ctor_set(x_534, 7, x_532); +lean_ctor_set_uint8(x_534, sizeof(void*)*8, x_525); +lean_ctor_set_uint8(x_534, sizeof(void*)*8 + 1, x_528); +lean_ctor_set_uint8(x_534, sizeof(void*)*8 + 2, x_533); +x_535 = lean_st_ref_set(x_1, x_534, x_516); +x_536 = lean_ctor_get(x_535, 1); +lean_inc(x_536); +if (lean_is_exclusive(x_535)) { + lean_ctor_release(x_535, 0); + lean_ctor_release(x_535, 1); + x_537 = x_535; +} else { + lean_dec_ref(x_535); + x_537 = lean_box(0); +} +if (lean_is_scalar(x_537)) { + x_538 = lean_alloc_ctor(0, 2, 0); +} else { + x_538 = x_537; +} +lean_ctor_set(x_538, 0, x_12); +lean_ctor_set(x_538, 1, x_536); +return x_538; } } else { -uint8_t x_533; lean_object* x_534; lean_object* x_535; uint8_t x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; uint8_t x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; -x_533 = lean_ctor_get_uint8(x_523, sizeof(void*)*9); -x_534 = lean_ctor_get(x_523, 2); -x_535 = lean_ctor_get(x_523, 3); -x_536 = lean_ctor_get_uint8(x_523, sizeof(void*)*9 + 1); -x_537 = lean_ctor_get(x_523, 4); -x_538 = lean_ctor_get(x_523, 5); -x_539 = lean_ctor_get(x_523, 6); -x_540 = lean_ctor_get(x_523, 7); -x_541 = lean_ctor_get(x_523, 8); -x_542 = lean_ctor_get_uint8(x_523, sizeof(void*)*9 + 2); +uint8_t x_539; +lean_dec(x_508); +lean_dec(x_7); +x_539 = !lean_is_exclusive(x_509); +if (x_539 == 0) +{ +return x_509; +} +else +{ +lean_object* x_540; lean_object* x_541; lean_object* x_542; +x_540 = lean_ctor_get(x_509, 0); +x_541 = lean_ctor_get(x_509, 1); lean_inc(x_541); lean_inc(x_540); -lean_inc(x_539); -lean_inc(x_538); -lean_inc(x_537); -lean_inc(x_535); -lean_inc(x_534); -lean_dec(x_523); -x_543 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_543, 0, x_516); -lean_ctor_set(x_543, 1, x_518); -lean_ctor_set(x_543, 2, x_534); -lean_ctor_set(x_543, 3, x_535); -lean_ctor_set(x_543, 4, x_537); -lean_ctor_set(x_543, 5, x_538); -lean_ctor_set(x_543, 6, x_539); -lean_ctor_set(x_543, 7, x_540); -lean_ctor_set(x_543, 8, x_541); -lean_ctor_set_uint8(x_543, sizeof(void*)*9, x_533); -lean_ctor_set_uint8(x_543, sizeof(void*)*9 + 1, x_536); -lean_ctor_set_uint8(x_543, sizeof(void*)*9 + 2, x_542); -x_544 = lean_st_ref_set(x_1, x_543, x_524); -x_545 = lean_ctor_get(x_544, 1); -lean_inc(x_545); -if (lean_is_exclusive(x_544)) { - lean_ctor_release(x_544, 0); - lean_ctor_release(x_544, 1); - x_546 = x_544; -} else { - lean_dec_ref(x_544); - x_546 = lean_box(0); -} -if (lean_is_scalar(x_546)) { - x_547 = lean_alloc_ctor(0, 2, 0); -} else { - x_547 = x_546; -} -lean_ctor_set(x_547, 0, x_12); -lean_ctor_set(x_547, 1, x_545); -return x_547; -} -} -else -{ -uint8_t x_548; -lean_dec(x_516); -lean_dec(x_7); -x_548 = !lean_is_exclusive(x_517); -if (x_548 == 0) -{ -return x_517; -} -else -{ -lean_object* x_549; lean_object* x_550; lean_object* x_551; -x_549 = lean_ctor_get(x_517, 0); -x_550 = lean_ctor_get(x_517, 1); -lean_inc(x_550); -lean_inc(x_549); -lean_dec(x_517); -x_551 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_551, 0, x_549); -lean_ctor_set(x_551, 1, x_550); -return x_551; +lean_dec(x_509); +x_542 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_542, 0, x_540); +lean_ctor_set(x_542, 1, x_541); +return x_542; } } } } else { -uint8_t x_552; -lean_dec(x_494); +uint8_t x_543; +lean_dec(x_486); lean_dec(x_22); lean_dec(x_18); lean_dec(x_7); @@ -5751,277 +5706,274 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_552 = !lean_is_exclusive(x_495); -if (x_552 == 0) +x_543 = !lean_is_exclusive(x_487); +if (x_543 == 0) { -return x_495; +return x_487; } else { -lean_object* x_553; lean_object* x_554; lean_object* x_555; -x_553 = lean_ctor_get(x_495, 0); -x_554 = lean_ctor_get(x_495, 1); -lean_inc(x_554); -lean_inc(x_553); -lean_dec(x_495); -x_555 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_555, 0, x_553); -lean_ctor_set(x_555, 1, x_554); -return x_555; +lean_object* x_544; lean_object* x_545; lean_object* x_546; +x_544 = lean_ctor_get(x_487, 0); +x_545 = lean_ctor_get(x_487, 1); +lean_inc(x_545); +lean_inc(x_544); +lean_dec(x_487); +x_546 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_546, 0, x_544); +lean_ctor_set(x_546, 1, x_545); +return x_546; } } } case 9: { -lean_object* x_556; lean_object* x_557; lean_object* x_558; -x_556 = lean_ctor_get(x_21, 1); -lean_inc(x_556); +lean_object* x_547; lean_object* x_548; lean_object* x_549; +x_547 = lean_ctor_get(x_21, 1); +lean_inc(x_547); lean_dec(x_21); -x_557 = lean_ctor_get(x_18, 0); -lean_inc(x_557); +x_548 = lean_ctor_get(x_18, 0); +lean_inc(x_548); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_557); +lean_inc(x_548); lean_inc(x_22); -x_558 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_557, x_2, x_3, x_4, x_5, x_6, x_7, x_556); -if (lean_obj_tag(x_558) == 0) +x_549 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_548, x_2, x_3, x_4, x_5, x_6, x_7, x_547); +if (lean_obj_tag(x_549) == 0) { -lean_object* x_559; -x_559 = lean_ctor_get(x_558, 0); -lean_inc(x_559); -if (lean_obj_tag(x_559) == 0) +lean_object* x_550; +x_550 = lean_ctor_get(x_549, 0); +lean_inc(x_550); +if (lean_obj_tag(x_550) == 0) { -lean_object* x_560; lean_object* x_561; lean_object* x_562; -x_560 = lean_ctor_get(x_558, 1); -lean_inc(x_560); -lean_dec(x_558); -x_561 = lean_ctor_get(x_18, 3); -lean_inc(x_561); +lean_object* x_551; lean_object* x_552; lean_object* x_553; +x_551 = lean_ctor_get(x_549, 1); +lean_inc(x_551); +lean_dec(x_549); +x_552 = lean_ctor_get(x_18, 3); +lean_inc(x_552); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_562 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__13(x_557, x_561, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_560); -lean_dec(x_561); -if (lean_obj_tag(x_562) == 0) +x_553 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__13(x_548, x_552, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_551); +lean_dec(x_552); +if (lean_obj_tag(x_553) == 0) { -lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; -x_563 = lean_ctor_get(x_562, 1); -lean_inc(x_563); -lean_dec(x_562); -x_564 = l_Lean_indentExpr(x_557); -x_565 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; -x_566 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_566, 0, x_565); -lean_ctor_set(x_566, 1, x_564); -x_567 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_568 = lean_alloc_ctor(10, 2, 0); +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; +x_554 = lean_ctor_get(x_553, 1); +lean_inc(x_554); +lean_dec(x_553); +x_555 = l_Lean_indentExpr(x_548); +x_556 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_557 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_557, 0, x_556); +lean_ctor_set(x_557, 1, x_555); +x_558 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_559 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_559, 0, x_557); +lean_ctor_set(x_559, 1, x_558); +x_560 = l_Lean_indentExpr(x_22); +x_561 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_561, 0, x_559); +lean_ctor_set(x_561, 1, x_560); +x_562 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_563 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_563, 0, x_561); +lean_ctor_set(x_563, 1, x_562); +x_564 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_563, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_554); +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_564; +} +else +{ +uint8_t x_565; +lean_dec(x_548); +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); +x_565 = !lean_is_exclusive(x_553); +if (x_565 == 0) +{ +return x_553; +} +else +{ +lean_object* x_566; lean_object* x_567; lean_object* x_568; +x_566 = lean_ctor_get(x_553, 0); +x_567 = lean_ctor_get(x_553, 1); +lean_inc(x_567); +lean_inc(x_566); +lean_dec(x_553); +x_568 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_568, 0, x_566); lean_ctor_set(x_568, 1, x_567); -x_569 = l_Lean_indentExpr(x_22); -x_570 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_570, 0, x_568); -lean_ctor_set(x_570, 1, x_569); -x_571 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_572 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_572, 0, x_570); -lean_ctor_set(x_572, 1, x_571); -x_573 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_572, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_563); -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_573; -} -else -{ -uint8_t x_574; -lean_dec(x_557); -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); -x_574 = !lean_is_exclusive(x_562); -if (x_574 == 0) -{ -return x_562; -} -else -{ -lean_object* x_575; lean_object* x_576; lean_object* x_577; -x_575 = lean_ctor_get(x_562, 0); -x_576 = lean_ctor_get(x_562, 1); -lean_inc(x_576); -lean_inc(x_575); -lean_dec(x_562); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_575); -lean_ctor_set(x_577, 1, x_576); -return x_577; +return x_568; } } } else { -lean_object* x_578; lean_object* x_579; lean_object* x_580; -lean_dec(x_557); +lean_object* x_569; lean_object* x_570; lean_object* x_571; +lean_dec(x_548); lean_dec(x_22); lean_dec(x_18); -x_578 = lean_ctor_get(x_558, 1); -lean_inc(x_578); -lean_dec(x_558); -x_579 = lean_ctor_get(x_559, 0); -lean_inc(x_579); -lean_dec(x_559); +x_569 = lean_ctor_get(x_549, 1); +lean_inc(x_569); +lean_dec(x_549); +x_570 = lean_ctor_get(x_550, 0); +lean_inc(x_570); +lean_dec(x_550); lean_inc(x_7); -lean_inc(x_579); -x_580 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_579, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_578); +lean_inc(x_570); +x_571 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_570, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_569); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_580) == 0) +if (lean_obj_tag(x_571) == 0) { -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; uint8_t x_588; -x_581 = lean_ctor_get(x_580, 0); -lean_inc(x_581); -x_582 = lean_ctor_get(x_580, 1); -lean_inc(x_582); -lean_dec(x_580); -x_583 = lean_st_ref_get(x_7, x_582); +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; uint8_t x_579; +x_572 = lean_ctor_get(x_571, 0); +lean_inc(x_572); +x_573 = lean_ctor_get(x_571, 1); +lean_inc(x_573); +lean_dec(x_571); +x_574 = lean_st_ref_get(x_7, x_573); lean_dec(x_7); -x_584 = lean_ctor_get(x_583, 1); -lean_inc(x_584); -lean_dec(x_583); -x_585 = lean_st_ref_take(x_1, x_584); -x_586 = lean_ctor_get(x_585, 0); -lean_inc(x_586); -x_587 = lean_ctor_get(x_585, 1); -lean_inc(x_587); -lean_dec(x_585); -x_588 = !lean_is_exclusive(x_586); -if (x_588 == 0) +x_575 = lean_ctor_get(x_574, 1); +lean_inc(x_575); +lean_dec(x_574); +x_576 = lean_st_ref_take(x_1, x_575); +x_577 = lean_ctor_get(x_576, 0); +lean_inc(x_577); +x_578 = lean_ctor_get(x_576, 1); +lean_inc(x_578); +lean_dec(x_576); +x_579 = !lean_is_exclusive(x_577); +if (x_579 == 0) { -lean_object* x_589; lean_object* x_590; lean_object* x_591; uint8_t x_592; -x_589 = lean_ctor_get(x_586, 1); -lean_dec(x_589); -x_590 = lean_ctor_get(x_586, 0); -lean_dec(x_590); -lean_ctor_set(x_586, 1, x_581); -lean_ctor_set(x_586, 0, x_579); -x_591 = lean_st_ref_set(x_1, x_586, x_587); -x_592 = !lean_is_exclusive(x_591); -if (x_592 == 0) +lean_object* x_580; lean_object* x_581; lean_object* x_582; uint8_t x_583; +x_580 = lean_ctor_get(x_577, 1); +lean_dec(x_580); +x_581 = lean_ctor_get(x_577, 0); +lean_dec(x_581); +lean_ctor_set(x_577, 1, x_572); +lean_ctor_set(x_577, 0, x_570); +x_582 = lean_st_ref_set(x_1, x_577, x_578); +x_583 = !lean_is_exclusive(x_582); +if (x_583 == 0) { -lean_object* x_593; -x_593 = lean_ctor_get(x_591, 0); -lean_dec(x_593); -lean_ctor_set(x_591, 0, x_12); -return x_591; +lean_object* x_584; +x_584 = lean_ctor_get(x_582, 0); +lean_dec(x_584); +lean_ctor_set(x_582, 0, x_12); +return x_582; } else { -lean_object* x_594; lean_object* x_595; -x_594 = lean_ctor_get(x_591, 1); +lean_object* x_585; lean_object* x_586; +x_585 = lean_ctor_get(x_582, 1); +lean_inc(x_585); +lean_dec(x_582); +x_586 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_586, 0, x_12); +lean_ctor_set(x_586, 1, x_585); +return x_586; +} +} +else +{ +uint8_t x_587; lean_object* x_588; lean_object* x_589; uint8_t x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; uint8_t x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; +x_587 = lean_ctor_get_uint8(x_577, sizeof(void*)*8); +x_588 = lean_ctor_get(x_577, 2); +x_589 = lean_ctor_get(x_577, 3); +x_590 = lean_ctor_get_uint8(x_577, sizeof(void*)*8 + 1); +x_591 = lean_ctor_get(x_577, 4); +x_592 = lean_ctor_get(x_577, 5); +x_593 = lean_ctor_get(x_577, 6); +x_594 = lean_ctor_get(x_577, 7); +x_595 = lean_ctor_get_uint8(x_577, sizeof(void*)*8 + 2); lean_inc(x_594); -lean_dec(x_591); -x_595 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_595, 0, x_12); -lean_ctor_set(x_595, 1, x_594); -return x_595; +lean_inc(x_593); +lean_inc(x_592); +lean_inc(x_591); +lean_inc(x_589); +lean_inc(x_588); +lean_dec(x_577); +x_596 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_596, 0, x_570); +lean_ctor_set(x_596, 1, x_572); +lean_ctor_set(x_596, 2, x_588); +lean_ctor_set(x_596, 3, x_589); +lean_ctor_set(x_596, 4, x_591); +lean_ctor_set(x_596, 5, x_592); +lean_ctor_set(x_596, 6, x_593); +lean_ctor_set(x_596, 7, x_594); +lean_ctor_set_uint8(x_596, sizeof(void*)*8, x_587); +lean_ctor_set_uint8(x_596, sizeof(void*)*8 + 1, x_590); +lean_ctor_set_uint8(x_596, sizeof(void*)*8 + 2, x_595); +x_597 = lean_st_ref_set(x_1, x_596, x_578); +x_598 = lean_ctor_get(x_597, 1); +lean_inc(x_598); +if (lean_is_exclusive(x_597)) { + lean_ctor_release(x_597, 0); + lean_ctor_release(x_597, 1); + x_599 = x_597; +} else { + lean_dec_ref(x_597); + x_599 = lean_box(0); +} +if (lean_is_scalar(x_599)) { + x_600 = lean_alloc_ctor(0, 2, 0); +} else { + x_600 = x_599; +} +lean_ctor_set(x_600, 0, x_12); +lean_ctor_set(x_600, 1, x_598); +return x_600; } } else { -uint8_t x_596; lean_object* x_597; lean_object* x_598; uint8_t x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; uint8_t x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; -x_596 = lean_ctor_get_uint8(x_586, sizeof(void*)*9); -x_597 = lean_ctor_get(x_586, 2); -x_598 = lean_ctor_get(x_586, 3); -x_599 = lean_ctor_get_uint8(x_586, sizeof(void*)*9 + 1); -x_600 = lean_ctor_get(x_586, 4); -x_601 = lean_ctor_get(x_586, 5); -x_602 = lean_ctor_get(x_586, 6); -x_603 = lean_ctor_get(x_586, 7); -x_604 = lean_ctor_get(x_586, 8); -x_605 = lean_ctor_get_uint8(x_586, sizeof(void*)*9 + 2); -lean_inc(x_604); +uint8_t x_601; +lean_dec(x_570); +lean_dec(x_7); +x_601 = !lean_is_exclusive(x_571); +if (x_601 == 0) +{ +return x_571; +} +else +{ +lean_object* x_602; lean_object* x_603; lean_object* x_604; +x_602 = lean_ctor_get(x_571, 0); +x_603 = lean_ctor_get(x_571, 1); lean_inc(x_603); lean_inc(x_602); -lean_inc(x_601); -lean_inc(x_600); -lean_inc(x_598); -lean_inc(x_597); -lean_dec(x_586); -x_606 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_606, 0, x_579); -lean_ctor_set(x_606, 1, x_581); -lean_ctor_set(x_606, 2, x_597); -lean_ctor_set(x_606, 3, x_598); -lean_ctor_set(x_606, 4, x_600); -lean_ctor_set(x_606, 5, x_601); -lean_ctor_set(x_606, 6, x_602); -lean_ctor_set(x_606, 7, x_603); -lean_ctor_set(x_606, 8, x_604); -lean_ctor_set_uint8(x_606, sizeof(void*)*9, x_596); -lean_ctor_set_uint8(x_606, sizeof(void*)*9 + 1, x_599); -lean_ctor_set_uint8(x_606, sizeof(void*)*9 + 2, x_605); -x_607 = lean_st_ref_set(x_1, x_606, x_587); -x_608 = lean_ctor_get(x_607, 1); -lean_inc(x_608); -if (lean_is_exclusive(x_607)) { - lean_ctor_release(x_607, 0); - lean_ctor_release(x_607, 1); - x_609 = x_607; -} else { - lean_dec_ref(x_607); - x_609 = lean_box(0); -} -if (lean_is_scalar(x_609)) { - x_610 = lean_alloc_ctor(0, 2, 0); -} else { - x_610 = x_609; -} -lean_ctor_set(x_610, 0, x_12); -lean_ctor_set(x_610, 1, x_608); -return x_610; -} -} -else -{ -uint8_t x_611; -lean_dec(x_579); -lean_dec(x_7); -x_611 = !lean_is_exclusive(x_580); -if (x_611 == 0) -{ -return x_580; -} -else -{ -lean_object* x_612; lean_object* x_613; lean_object* x_614; -x_612 = lean_ctor_get(x_580, 0); -x_613 = lean_ctor_get(x_580, 1); -lean_inc(x_613); -lean_inc(x_612); -lean_dec(x_580); -x_614 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_614, 0, x_612); -lean_ctor_set(x_614, 1, x_613); -return x_614; +lean_dec(x_571); +x_604 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_604, 0, x_602); +lean_ctor_set(x_604, 1, x_603); +return x_604; } } } } else { -uint8_t x_615; -lean_dec(x_557); +uint8_t x_605; +lean_dec(x_548); lean_dec(x_22); lean_dec(x_18); lean_dec(x_7); @@ -6030,97 +5982,97 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_615 = !lean_is_exclusive(x_558); -if (x_615 == 0) +x_605 = !lean_is_exclusive(x_549); +if (x_605 == 0) { -return x_558; +return x_549; } else { -lean_object* x_616; lean_object* x_617; lean_object* x_618; -x_616 = lean_ctor_get(x_558, 0); -x_617 = lean_ctor_get(x_558, 1); -lean_inc(x_617); -lean_inc(x_616); -lean_dec(x_558); -x_618 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_618, 0, x_616); -lean_ctor_set(x_618, 1, x_617); -return x_618; +lean_object* x_606; lean_object* x_607; lean_object* x_608; +x_606 = lean_ctor_get(x_549, 0); +x_607 = lean_ctor_get(x_549, 1); +lean_inc(x_607); +lean_inc(x_606); +lean_dec(x_549); +x_608 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_608, 0, x_606); +lean_ctor_set(x_608, 1, x_607); +return x_608; } } } case 10: { -lean_object* x_619; lean_object* x_620; lean_object* x_621; -x_619 = lean_ctor_get(x_21, 1); -lean_inc(x_619); +lean_object* x_609; lean_object* x_610; lean_object* x_611; +x_609 = lean_ctor_get(x_21, 1); +lean_inc(x_609); lean_dec(x_21); -x_620 = lean_ctor_get(x_18, 0); -lean_inc(x_620); +x_610 = lean_ctor_get(x_18, 0); +lean_inc(x_610); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_620); +lean_inc(x_610); lean_inc(x_22); -x_621 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_620, x_2, x_3, x_4, x_5, x_6, x_7, x_619); -if (lean_obj_tag(x_621) == 0) +x_611 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_610, x_2, x_3, x_4, x_5, x_6, x_7, x_609); +if (lean_obj_tag(x_611) == 0) { -lean_object* x_622; -x_622 = lean_ctor_get(x_621, 0); -lean_inc(x_622); -if (lean_obj_tag(x_622) == 0) +lean_object* x_612; +x_612 = lean_ctor_get(x_611, 0); +lean_inc(x_612); +if (lean_obj_tag(x_612) == 0) { -lean_object* x_623; lean_object* x_624; lean_object* x_625; -x_623 = lean_ctor_get(x_621, 1); -lean_inc(x_623); -lean_dec(x_621); -x_624 = lean_ctor_get(x_18, 3); -lean_inc(x_624); +lean_object* x_613; lean_object* x_614; lean_object* x_615; +x_613 = lean_ctor_get(x_611, 1); +lean_inc(x_613); +lean_dec(x_611); +x_614 = lean_ctor_get(x_18, 3); +lean_inc(x_614); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_625 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__14(x_620, x_624, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_623); -lean_dec(x_624); -if (lean_obj_tag(x_625) == 0) +x_615 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__14(x_610, x_614, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_613); +lean_dec(x_614); +if (lean_obj_tag(x_615) == 0) { -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; -x_626 = lean_ctor_get(x_625, 1); -lean_inc(x_626); -lean_dec(x_625); -x_627 = l_Lean_indentExpr(x_620); -x_628 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; -x_629 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_629, 0, x_628); -lean_ctor_set(x_629, 1, x_627); -x_630 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_631 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_631, 0, x_629); -lean_ctor_set(x_631, 1, x_630); -x_632 = l_Lean_indentExpr(x_22); -x_633 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_633, 0, x_631); -lean_ctor_set(x_633, 1, x_632); -x_634 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_635 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_635, 0, x_633); -lean_ctor_set(x_635, 1, x_634); -x_636 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_635, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_626); +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; +x_616 = lean_ctor_get(x_615, 1); +lean_inc(x_616); +lean_dec(x_615); +x_617 = l_Lean_indentExpr(x_610); +x_618 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_619 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_619, 0, x_618); +lean_ctor_set(x_619, 1, x_617); +x_620 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_621 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_621, 0, x_619); +lean_ctor_set(x_621, 1, x_620); +x_622 = l_Lean_indentExpr(x_22); +x_623 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_623, 0, x_621); +lean_ctor_set(x_623, 1, x_622); +x_624 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_625 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_625, 0, x_623); +lean_ctor_set(x_625, 1, x_624); +x_626 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_625, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_616); 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_636; +return x_626; } else { -uint8_t x_637; -lean_dec(x_620); +uint8_t x_627; +lean_dec(x_610); lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); @@ -6128,179 +6080,176 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_637 = !lean_is_exclusive(x_625); -if (x_637 == 0) +x_627 = !lean_is_exclusive(x_615); +if (x_627 == 0) { -return x_625; +return x_615; } else { -lean_object* x_638; lean_object* x_639; lean_object* x_640; -x_638 = lean_ctor_get(x_625, 0); -x_639 = lean_ctor_get(x_625, 1); -lean_inc(x_639); -lean_inc(x_638); -lean_dec(x_625); -x_640 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_640, 0, x_638); -lean_ctor_set(x_640, 1, x_639); -return x_640; +lean_object* x_628; lean_object* x_629; lean_object* x_630; +x_628 = lean_ctor_get(x_615, 0); +x_629 = lean_ctor_get(x_615, 1); +lean_inc(x_629); +lean_inc(x_628); +lean_dec(x_615); +x_630 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_630, 0, x_628); +lean_ctor_set(x_630, 1, x_629); +return x_630; } } } else { -lean_object* x_641; lean_object* x_642; lean_object* x_643; -lean_dec(x_620); +lean_object* x_631; lean_object* x_632; lean_object* x_633; +lean_dec(x_610); lean_dec(x_22); lean_dec(x_18); -x_641 = lean_ctor_get(x_621, 1); -lean_inc(x_641); -lean_dec(x_621); -x_642 = lean_ctor_get(x_622, 0); -lean_inc(x_642); -lean_dec(x_622); +x_631 = lean_ctor_get(x_611, 1); +lean_inc(x_631); +lean_dec(x_611); +x_632 = lean_ctor_get(x_612, 0); +lean_inc(x_632); +lean_dec(x_612); lean_inc(x_7); -lean_inc(x_642); -x_643 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_642, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_641); +lean_inc(x_632); +x_633 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_632, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_631); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_643) == 0) +if (lean_obj_tag(x_633) == 0) { -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; uint8_t x_651; -x_644 = lean_ctor_get(x_643, 0); -lean_inc(x_644); -x_645 = lean_ctor_get(x_643, 1); -lean_inc(x_645); -lean_dec(x_643); -x_646 = lean_st_ref_get(x_7, x_645); +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; uint8_t x_641; +x_634 = lean_ctor_get(x_633, 0); +lean_inc(x_634); +x_635 = lean_ctor_get(x_633, 1); +lean_inc(x_635); +lean_dec(x_633); +x_636 = lean_st_ref_get(x_7, x_635); lean_dec(x_7); -x_647 = lean_ctor_get(x_646, 1); -lean_inc(x_647); +x_637 = lean_ctor_get(x_636, 1); +lean_inc(x_637); +lean_dec(x_636); +x_638 = lean_st_ref_take(x_1, x_637); +x_639 = lean_ctor_get(x_638, 0); +lean_inc(x_639); +x_640 = lean_ctor_get(x_638, 1); +lean_inc(x_640); +lean_dec(x_638); +x_641 = !lean_is_exclusive(x_639); +if (x_641 == 0) +{ +lean_object* x_642; lean_object* x_643; lean_object* x_644; uint8_t x_645; +x_642 = lean_ctor_get(x_639, 1); +lean_dec(x_642); +x_643 = lean_ctor_get(x_639, 0); +lean_dec(x_643); +lean_ctor_set(x_639, 1, x_634); +lean_ctor_set(x_639, 0, x_632); +x_644 = lean_st_ref_set(x_1, x_639, x_640); +x_645 = !lean_is_exclusive(x_644); +if (x_645 == 0) +{ +lean_object* x_646; +x_646 = lean_ctor_get(x_644, 0); lean_dec(x_646); -x_648 = lean_st_ref_take(x_1, x_647); -x_649 = lean_ctor_get(x_648, 0); -lean_inc(x_649); -x_650 = lean_ctor_get(x_648, 1); +lean_ctor_set(x_644, 0, x_12); +return x_644; +} +else +{ +lean_object* x_647; lean_object* x_648; +x_647 = lean_ctor_get(x_644, 1); +lean_inc(x_647); +lean_dec(x_644); +x_648 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_648, 0, x_12); +lean_ctor_set(x_648, 1, x_647); +return x_648; +} +} +else +{ +uint8_t x_649; lean_object* x_650; lean_object* x_651; uint8_t x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; uint8_t x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; +x_649 = lean_ctor_get_uint8(x_639, sizeof(void*)*8); +x_650 = lean_ctor_get(x_639, 2); +x_651 = lean_ctor_get(x_639, 3); +x_652 = lean_ctor_get_uint8(x_639, sizeof(void*)*8 + 1); +x_653 = lean_ctor_get(x_639, 4); +x_654 = lean_ctor_get(x_639, 5); +x_655 = lean_ctor_get(x_639, 6); +x_656 = lean_ctor_get(x_639, 7); +x_657 = lean_ctor_get_uint8(x_639, sizeof(void*)*8 + 2); +lean_inc(x_656); +lean_inc(x_655); +lean_inc(x_654); +lean_inc(x_653); +lean_inc(x_651); lean_inc(x_650); -lean_dec(x_648); -x_651 = !lean_is_exclusive(x_649); -if (x_651 == 0) -{ -lean_object* x_652; lean_object* x_653; lean_object* x_654; uint8_t x_655; -x_652 = lean_ctor_get(x_649, 1); -lean_dec(x_652); -x_653 = lean_ctor_get(x_649, 0); -lean_dec(x_653); -lean_ctor_set(x_649, 1, x_644); -lean_ctor_set(x_649, 0, x_642); -x_654 = lean_st_ref_set(x_1, x_649, x_650); -x_655 = !lean_is_exclusive(x_654); -if (x_655 == 0) -{ -lean_object* x_656; -x_656 = lean_ctor_get(x_654, 0); -lean_dec(x_656); -lean_ctor_set(x_654, 0, x_12); -return x_654; +lean_dec(x_639); +x_658 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_658, 0, x_632); +lean_ctor_set(x_658, 1, x_634); +lean_ctor_set(x_658, 2, x_650); +lean_ctor_set(x_658, 3, x_651); +lean_ctor_set(x_658, 4, x_653); +lean_ctor_set(x_658, 5, x_654); +lean_ctor_set(x_658, 6, x_655); +lean_ctor_set(x_658, 7, x_656); +lean_ctor_set_uint8(x_658, sizeof(void*)*8, x_649); +lean_ctor_set_uint8(x_658, sizeof(void*)*8 + 1, x_652); +lean_ctor_set_uint8(x_658, sizeof(void*)*8 + 2, x_657); +x_659 = lean_st_ref_set(x_1, x_658, x_640); +x_660 = lean_ctor_get(x_659, 1); +lean_inc(x_660); +if (lean_is_exclusive(x_659)) { + lean_ctor_release(x_659, 0); + lean_ctor_release(x_659, 1); + x_661 = x_659; +} else { + lean_dec_ref(x_659); + x_661 = lean_box(0); } -else -{ -lean_object* x_657; lean_object* x_658; -x_657 = lean_ctor_get(x_654, 1); -lean_inc(x_657); -lean_dec(x_654); -x_658 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_658, 0, x_12); -lean_ctor_set(x_658, 1, x_657); -return x_658; +if (lean_is_scalar(x_661)) { + x_662 = lean_alloc_ctor(0, 2, 0); +} else { + x_662 = x_661; +} +lean_ctor_set(x_662, 0, x_12); +lean_ctor_set(x_662, 1, x_660); +return x_662; } } else { -uint8_t x_659; lean_object* x_660; lean_object* x_661; uint8_t x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; uint8_t x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; -x_659 = lean_ctor_get_uint8(x_649, sizeof(void*)*9); -x_660 = lean_ctor_get(x_649, 2); -x_661 = lean_ctor_get(x_649, 3); -x_662 = lean_ctor_get_uint8(x_649, sizeof(void*)*9 + 1); -x_663 = lean_ctor_get(x_649, 4); -x_664 = lean_ctor_get(x_649, 5); -x_665 = lean_ctor_get(x_649, 6); -x_666 = lean_ctor_get(x_649, 7); -x_667 = lean_ctor_get(x_649, 8); -x_668 = lean_ctor_get_uint8(x_649, sizeof(void*)*9 + 2); -lean_inc(x_667); -lean_inc(x_666); +uint8_t x_663; +lean_dec(x_632); +lean_dec(x_7); +x_663 = !lean_is_exclusive(x_633); +if (x_663 == 0) +{ +return x_633; +} +else +{ +lean_object* x_664; lean_object* x_665; lean_object* x_666; +x_664 = lean_ctor_get(x_633, 0); +x_665 = lean_ctor_get(x_633, 1); lean_inc(x_665); lean_inc(x_664); -lean_inc(x_663); -lean_inc(x_661); -lean_inc(x_660); -lean_dec(x_649); -x_669 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_669, 0, x_642); -lean_ctor_set(x_669, 1, x_644); -lean_ctor_set(x_669, 2, x_660); -lean_ctor_set(x_669, 3, x_661); -lean_ctor_set(x_669, 4, x_663); -lean_ctor_set(x_669, 5, x_664); -lean_ctor_set(x_669, 6, x_665); -lean_ctor_set(x_669, 7, x_666); -lean_ctor_set(x_669, 8, x_667); -lean_ctor_set_uint8(x_669, sizeof(void*)*9, x_659); -lean_ctor_set_uint8(x_669, sizeof(void*)*9 + 1, x_662); -lean_ctor_set_uint8(x_669, sizeof(void*)*9 + 2, x_668); -x_670 = lean_st_ref_set(x_1, x_669, x_650); -x_671 = lean_ctor_get(x_670, 1); -lean_inc(x_671); -if (lean_is_exclusive(x_670)) { - lean_ctor_release(x_670, 0); - lean_ctor_release(x_670, 1); - x_672 = x_670; -} else { - lean_dec_ref(x_670); - x_672 = lean_box(0); -} -if (lean_is_scalar(x_672)) { - x_673 = lean_alloc_ctor(0, 2, 0); -} else { - x_673 = x_672; -} -lean_ctor_set(x_673, 0, x_12); -lean_ctor_set(x_673, 1, x_671); -return x_673; -} -} -else -{ -uint8_t x_674; -lean_dec(x_642); -lean_dec(x_7); -x_674 = !lean_is_exclusive(x_643); -if (x_674 == 0) -{ -return x_643; -} -else -{ -lean_object* x_675; lean_object* x_676; lean_object* x_677; -x_675 = lean_ctor_get(x_643, 0); -x_676 = lean_ctor_get(x_643, 1); -lean_inc(x_676); -lean_inc(x_675); -lean_dec(x_643); -x_677 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_677, 0, x_675); -lean_ctor_set(x_677, 1, x_676); -return x_677; +lean_dec(x_633); +x_666 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_666, 0, x_664); +lean_ctor_set(x_666, 1, x_665); +return x_666; } } } } else { -uint8_t x_678; -lean_dec(x_620); +uint8_t x_667; +lean_dec(x_610); lean_dec(x_22); lean_dec(x_18); lean_dec(x_7); @@ -6309,265 +6258,356 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_678 = !lean_is_exclusive(x_621); -if (x_678 == 0) +x_667 = !lean_is_exclusive(x_611); +if (x_667 == 0) { -return x_621; +return x_611; } else { -lean_object* x_679; lean_object* x_680; lean_object* x_681; -x_679 = lean_ctor_get(x_621, 0); -x_680 = lean_ctor_get(x_621, 1); -lean_inc(x_680); -lean_inc(x_679); -lean_dec(x_621); -x_681 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_681, 0, x_679); -lean_ctor_set(x_681, 1, x_680); -return x_681; +lean_object* x_668; lean_object* x_669; lean_object* x_670; +x_668 = lean_ctor_get(x_611, 0); +x_669 = lean_ctor_get(x_611, 1); +lean_inc(x_669); +lean_inc(x_668); +lean_dec(x_611); +x_670 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_670, 0, x_668); +lean_ctor_set(x_670, 1, x_669); +return x_670; } } } default: { -lean_object* x_682; lean_object* x_683; lean_object* x_684; -x_682 = lean_ctor_get(x_21, 1); -lean_inc(x_682); +lean_object* x_671; lean_object* x_672; lean_object* x_673; +x_671 = lean_ctor_get(x_21, 1); +lean_inc(x_671); lean_dec(x_21); -x_683 = lean_ctor_get(x_18, 0); -lean_inc(x_683); +x_672 = lean_ctor_get(x_18, 0); +lean_inc(x_672); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -lean_inc(x_683); +lean_inc(x_672); lean_inc(x_22); -x_684 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_683, x_2, x_3, x_4, x_5, x_6, x_7, x_682); -if (lean_obj_tag(x_684) == 0) +x_673 = l___private_Lean_Elab_App_0__Lean_Elab_Term_tryCoeFun_x3f(x_22, x_672, x_2, x_3, x_4, x_5, x_6, x_7, x_671); +if (lean_obj_tag(x_673) == 0) { -lean_object* x_685; -x_685 = lean_ctor_get(x_684, 0); -lean_inc(x_685); -if (lean_obj_tag(x_685) == 0) +lean_object* x_674; +x_674 = lean_ctor_get(x_673, 0); +lean_inc(x_674); +if (lean_obj_tag(x_674) == 0) { -lean_object* x_686; lean_object* x_687; lean_object* x_688; -x_686 = lean_ctor_get(x_684, 1); -lean_inc(x_686); -lean_dec(x_684); -x_687 = lean_ctor_get(x_18, 3); -lean_inc(x_687); +lean_object* x_675; lean_object* x_676; lean_object* x_677; +x_675 = lean_ctor_get(x_673, 1); +lean_inc(x_675); +lean_dec(x_673); +x_676 = lean_ctor_get(x_18, 3); +lean_inc(x_676); lean_dec(x_18); lean_inc(x_6); lean_inc(x_2); -x_688 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__15(x_683, x_687, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_686); -lean_dec(x_687); -if (lean_obj_tag(x_688) == 0) +x_677 = l_List_forIn_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__15(x_672, x_676, x_12, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_675); +lean_dec(x_676); +if (lean_obj_tag(x_677) == 0) { -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; -x_689 = lean_ctor_get(x_688, 1); -lean_inc(x_689); -lean_dec(x_688); -x_690 = l_Lean_indentExpr(x_683); -x_691 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; -x_692 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_692, 0, x_691); -lean_ctor_set(x_692, 1, x_690); -x_693 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; -x_694 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_694, 0, x_692); -lean_ctor_set(x_694, 1, x_693); -x_695 = l_Lean_indentExpr(x_22); -x_696 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_696, 0, x_694); -lean_ctor_set(x_696, 1, x_695); -x_697 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_698 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_698, 0, x_696); -lean_ctor_set(x_698, 1, x_697); -x_699 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_698, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_689); +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; +x_678 = lean_ctor_get(x_677, 1); +lean_inc(x_678); +lean_dec(x_677); +x_679 = l_Lean_indentExpr(x_672); +x_680 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__2; +x_681 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_681, 0, x_680); +lean_ctor_set(x_681, 1, x_679); +x_682 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__4; +x_683 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_683, 0, x_681); +lean_ctor_set(x_683, 1, x_682); +x_684 = l_Lean_indentExpr(x_22); +x_685 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_685, 0, x_683); +lean_ctor_set(x_685, 1, x_684); +x_686 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_687 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_687, 0, x_685); +lean_ctor_set(x_687, 1, x_686); +x_688 = l_Lean_throwError___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__4(x_687, lean_box(0), x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_678); 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_699; -} -else -{ -uint8_t x_700; -lean_dec(x_683); -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); -x_700 = !lean_is_exclusive(x_688); -if (x_700 == 0) -{ return x_688; } else { -lean_object* x_701; lean_object* x_702; lean_object* x_703; -x_701 = lean_ctor_get(x_688, 0); -x_702 = lean_ctor_get(x_688, 1); -lean_inc(x_702); -lean_inc(x_701); -lean_dec(x_688); -x_703 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_703, 0, x_701); -lean_ctor_set(x_703, 1, x_702); -return x_703; -} -} -} -else -{ -lean_object* x_704; lean_object* x_705; lean_object* x_706; -lean_dec(x_683); +uint8_t x_689; +lean_dec(x_672); lean_dec(x_22); -lean_dec(x_18); -x_704 = lean_ctor_get(x_684, 1); -lean_inc(x_704); -lean_dec(x_684); -x_705 = lean_ctor_get(x_685, 0); -lean_inc(x_705); -lean_dec(x_685); -lean_inc(x_7); -lean_inc(x_705); -x_706 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_705, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_704); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -if (lean_obj_tag(x_706) == 0) +x_689 = !lean_is_exclusive(x_677); +if (x_689 == 0) { -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; uint8_t x_714; -x_707 = lean_ctor_get(x_706, 0); -lean_inc(x_707); -x_708 = lean_ctor_get(x_706, 1); -lean_inc(x_708); -lean_dec(x_706); -x_709 = lean_st_ref_get(x_7, x_708); +return x_677; +} +else +{ +lean_object* x_690; lean_object* x_691; lean_object* x_692; +x_690 = lean_ctor_get(x_677, 0); +x_691 = lean_ctor_get(x_677, 1); +lean_inc(x_691); +lean_inc(x_690); +lean_dec(x_677); +x_692 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_692, 0, x_690); +lean_ctor_set(x_692, 1, x_691); +return x_692; +} +} +} +else +{ +lean_object* x_693; lean_object* x_694; lean_object* x_695; +lean_dec(x_672); +lean_dec(x_22); +lean_dec(x_18); +x_693 = lean_ctor_get(x_673, 1); +lean_inc(x_693); +lean_dec(x_673); +x_694 = lean_ctor_get(x_674, 0); +lean_inc(x_694); +lean_dec(x_674); +lean_inc(x_7); +lean_inc(x_694); +x_695 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_694, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_693); +lean_dec(x_3); +lean_dec(x_2); +if (lean_obj_tag(x_695) == 0) +{ +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; uint8_t x_703; +x_696 = lean_ctor_get(x_695, 0); +lean_inc(x_696); +x_697 = lean_ctor_get(x_695, 1); +lean_inc(x_697); +lean_dec(x_695); +x_698 = lean_st_ref_get(x_7, x_697); lean_dec(x_7); -x_710 = lean_ctor_get(x_709, 1); -lean_inc(x_710); -lean_dec(x_709); -x_711 = lean_st_ref_take(x_1, x_710); -x_712 = lean_ctor_get(x_711, 0); -lean_inc(x_712); -x_713 = lean_ctor_get(x_711, 1); +x_699 = lean_ctor_get(x_698, 1); +lean_inc(x_699); +lean_dec(x_698); +x_700 = lean_st_ref_take(x_1, x_699); +x_701 = lean_ctor_get(x_700, 0); +lean_inc(x_701); +x_702 = lean_ctor_get(x_700, 1); +lean_inc(x_702); +lean_dec(x_700); +x_703 = !lean_is_exclusive(x_701); +if (x_703 == 0) +{ +lean_object* x_704; lean_object* x_705; lean_object* x_706; uint8_t x_707; +x_704 = lean_ctor_get(x_701, 1); +lean_dec(x_704); +x_705 = lean_ctor_get(x_701, 0); +lean_dec(x_705); +lean_ctor_set(x_701, 1, x_696); +lean_ctor_set(x_701, 0, x_694); +x_706 = lean_st_ref_set(x_1, x_701, x_702); +x_707 = !lean_is_exclusive(x_706); +if (x_707 == 0) +{ +lean_object* x_708; +x_708 = lean_ctor_get(x_706, 0); +lean_dec(x_708); +lean_ctor_set(x_706, 0, x_12); +return x_706; +} +else +{ +lean_object* x_709; lean_object* x_710; +x_709 = lean_ctor_get(x_706, 1); +lean_inc(x_709); +lean_dec(x_706); +x_710 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_710, 0, x_12); +lean_ctor_set(x_710, 1, x_709); +return x_710; +} +} +else +{ +uint8_t x_711; lean_object* x_712; lean_object* x_713; uint8_t x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; uint8_t x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; +x_711 = lean_ctor_get_uint8(x_701, sizeof(void*)*8); +x_712 = lean_ctor_get(x_701, 2); +x_713 = lean_ctor_get(x_701, 3); +x_714 = lean_ctor_get_uint8(x_701, sizeof(void*)*8 + 1); +x_715 = lean_ctor_get(x_701, 4); +x_716 = lean_ctor_get(x_701, 5); +x_717 = lean_ctor_get(x_701, 6); +x_718 = lean_ctor_get(x_701, 7); +x_719 = lean_ctor_get_uint8(x_701, sizeof(void*)*8 + 2); +lean_inc(x_718); +lean_inc(x_717); +lean_inc(x_716); +lean_inc(x_715); lean_inc(x_713); -lean_dec(x_711); -x_714 = !lean_is_exclusive(x_712); -if (x_714 == 0) -{ -lean_object* x_715; lean_object* x_716; lean_object* x_717; uint8_t x_718; -x_715 = lean_ctor_get(x_712, 1); -lean_dec(x_715); -x_716 = lean_ctor_get(x_712, 0); -lean_dec(x_716); -lean_ctor_set(x_712, 1, x_707); -lean_ctor_set(x_712, 0, x_705); -x_717 = lean_st_ref_set(x_1, x_712, x_713); -x_718 = !lean_is_exclusive(x_717); -if (x_718 == 0) -{ -lean_object* x_719; -x_719 = lean_ctor_get(x_717, 0); -lean_dec(x_719); -lean_ctor_set(x_717, 0, x_12); -return x_717; +lean_inc(x_712); +lean_dec(x_701); +x_720 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_720, 0, x_694); +lean_ctor_set(x_720, 1, x_696); +lean_ctor_set(x_720, 2, x_712); +lean_ctor_set(x_720, 3, x_713); +lean_ctor_set(x_720, 4, x_715); +lean_ctor_set(x_720, 5, x_716); +lean_ctor_set(x_720, 6, x_717); +lean_ctor_set(x_720, 7, x_718); +lean_ctor_set_uint8(x_720, sizeof(void*)*8, x_711); +lean_ctor_set_uint8(x_720, sizeof(void*)*8 + 1, x_714); +lean_ctor_set_uint8(x_720, sizeof(void*)*8 + 2, x_719); +x_721 = lean_st_ref_set(x_1, x_720, x_702); +x_722 = lean_ctor_get(x_721, 1); +lean_inc(x_722); +if (lean_is_exclusive(x_721)) { + lean_ctor_release(x_721, 0); + lean_ctor_release(x_721, 1); + x_723 = x_721; +} else { + lean_dec_ref(x_721); + x_723 = lean_box(0); } -else -{ -lean_object* x_720; lean_object* x_721; -x_720 = lean_ctor_get(x_717, 1); -lean_inc(x_720); -lean_dec(x_717); -x_721 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_721, 0, x_12); -lean_ctor_set(x_721, 1, x_720); -return x_721; +if (lean_is_scalar(x_723)) { + x_724 = lean_alloc_ctor(0, 2, 0); +} else { + x_724 = x_723; +} +lean_ctor_set(x_724, 0, x_12); +lean_ctor_set(x_724, 1, x_722); +return x_724; } } else { -uint8_t x_722; lean_object* x_723; lean_object* x_724; uint8_t x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; uint8_t x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; -x_722 = lean_ctor_get_uint8(x_712, sizeof(void*)*9); -x_723 = lean_ctor_get(x_712, 2); -x_724 = lean_ctor_get(x_712, 3); -x_725 = lean_ctor_get_uint8(x_712, sizeof(void*)*9 + 1); -x_726 = lean_ctor_get(x_712, 4); -x_727 = lean_ctor_get(x_712, 5); -x_728 = lean_ctor_get(x_712, 6); -x_729 = lean_ctor_get(x_712, 7); -x_730 = lean_ctor_get(x_712, 8); -x_731 = lean_ctor_get_uint8(x_712, sizeof(void*)*9 + 2); -lean_inc(x_730); -lean_inc(x_729); -lean_inc(x_728); +uint8_t x_725; +lean_dec(x_694); +lean_dec(x_7); +x_725 = !lean_is_exclusive(x_695); +if (x_725 == 0) +{ +return x_695; +} +else +{ +lean_object* x_726; lean_object* x_727; lean_object* x_728; +x_726 = lean_ctor_get(x_695, 0); +x_727 = lean_ctor_get(x_695, 1); lean_inc(x_727); lean_inc(x_726); -lean_inc(x_724); -lean_inc(x_723); -lean_dec(x_712); -x_732 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_732, 0, x_705); -lean_ctor_set(x_732, 1, x_707); -lean_ctor_set(x_732, 2, x_723); -lean_ctor_set(x_732, 3, x_724); -lean_ctor_set(x_732, 4, x_726); -lean_ctor_set(x_732, 5, x_727); -lean_ctor_set(x_732, 6, x_728); -lean_ctor_set(x_732, 7, x_729); -lean_ctor_set(x_732, 8, x_730); -lean_ctor_set_uint8(x_732, sizeof(void*)*9, x_722); -lean_ctor_set_uint8(x_732, sizeof(void*)*9 + 1, x_725); -lean_ctor_set_uint8(x_732, sizeof(void*)*9 + 2, x_731); -x_733 = lean_st_ref_set(x_1, x_732, x_713); -x_734 = lean_ctor_get(x_733, 1); +lean_dec(x_695); +x_728 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_728, 0, x_726); +lean_ctor_set(x_728, 1, x_727); +return x_728; +} +} +} +} +else +{ +uint8_t x_729; +lean_dec(x_672); +lean_dec(x_22); +lean_dec(x_18); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_729 = !lean_is_exclusive(x_673); +if (x_729 == 0) +{ +return x_673; +} +else +{ +lean_object* x_730; lean_object* x_731; lean_object* x_732; +x_730 = lean_ctor_get(x_673, 0); +x_731 = lean_ctor_get(x_673, 1); +lean_inc(x_731); +lean_inc(x_730); +lean_dec(x_673); +x_732 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_732, 0, x_730); +lean_ctor_set(x_732, 1, x_731); +return x_732; +} +} +} +} +} +else +{ +uint8_t x_733; +lean_dec(x_18); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_733 = !lean_is_exclusive(x_21); +if (x_733 == 0) +{ +return x_21; +} +else +{ +lean_object* x_734; lean_object* x_735; lean_object* x_736; +x_734 = lean_ctor_get(x_21, 0); +x_735 = lean_ctor_get(x_21, 1); +lean_inc(x_735); lean_inc(x_734); -if (lean_is_exclusive(x_733)) { - lean_ctor_release(x_733, 0); - lean_ctor_release(x_733, 1); - x_735 = x_733; -} else { - lean_dec_ref(x_733); - x_735 = lean_box(0); -} -if (lean_is_scalar(x_735)) { - x_736 = lean_alloc_ctor(0, 2, 0); -} else { - x_736 = x_735; -} -lean_ctor_set(x_736, 0, x_12); -lean_ctor_set(x_736, 1, x_734); +lean_dec(x_21); +x_736 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_736, 0, x_734); +lean_ctor_set(x_736, 1, x_735); return x_736; } } +} else { uint8_t x_737; -lean_dec(x_705); lean_dec(x_7); -x_737 = !lean_is_exclusive(x_706); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_737 = !lean_is_exclusive(x_13); if (x_737 == 0) { -return x_706; +return x_13; } else { lean_object* x_738; lean_object* x_739; lean_object* x_740; -x_738 = lean_ctor_get(x_706, 0); -x_739 = lean_ctor_get(x_706, 1); +x_738 = lean_ctor_get(x_13, 0); +x_739 = lean_ctor_get(x_13, 1); lean_inc(x_739); lean_inc(x_738); -lean_dec(x_706); +lean_dec(x_13); x_740 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_740, 0, x_738); lean_ctor_set(x_740, 1, x_739); @@ -6575,126 +6615,32 @@ return x_740; } } } -} else { uint8_t x_741; -lean_dec(x_683); -lean_dec(x_22); -lean_dec(x_18); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_741 = !lean_is_exclusive(x_684); +x_741 = !lean_is_exclusive(x_9); if (x_741 == 0) { -return x_684; -} -else -{ -lean_object* x_742; lean_object* x_743; lean_object* x_744; -x_742 = lean_ctor_get(x_684, 0); -x_743 = lean_ctor_get(x_684, 1); -lean_inc(x_743); -lean_inc(x_742); -lean_dec(x_684); -x_744 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_744, 0, x_742); -lean_ctor_set(x_744, 1, x_743); -return x_744; -} -} -} -} -} -else -{ -uint8_t x_745; -lean_dec(x_18); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_745 = !lean_is_exclusive(x_21); -if (x_745 == 0) -{ -return x_21; -} -else -{ -lean_object* x_746; lean_object* x_747; lean_object* x_748; -x_746 = lean_ctor_get(x_21, 0); -x_747 = lean_ctor_get(x_21, 1); -lean_inc(x_747); -lean_inc(x_746); -lean_dec(x_21); -x_748 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_748, 0, x_746); -lean_ctor_set(x_748, 1, x_747); -return x_748; -} -} -} -else -{ -uint8_t x_749; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_749 = !lean_is_exclusive(x_13); -if (x_749 == 0) -{ -return x_13; -} -else -{ -lean_object* x_750; lean_object* x_751; lean_object* x_752; -x_750 = lean_ctor_get(x_13, 0); -x_751 = lean_ctor_get(x_13, 1); -lean_inc(x_751); -lean_inc(x_750); -lean_dec(x_13); -x_752 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_752, 0, x_750); -lean_ctor_set(x_752, 1, x_751); -return x_752; -} -} -} -else -{ -uint8_t x_753; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_753 = !lean_is_exclusive(x_9); -if (x_753 == 0) -{ return x_9; } else { -lean_object* x_754; lean_object* x_755; lean_object* x_756; -x_754 = lean_ctor_get(x_9, 0); -x_755 = lean_ctor_get(x_9, 1); -lean_inc(x_755); -lean_inc(x_754); +lean_object* x_742; lean_object* x_743; lean_object* x_744; +x_742 = lean_ctor_get(x_9, 0); +x_743 = lean_ctor_get(x_9, 1); +lean_inc(x_743); +lean_inc(x_742); lean_dec(x_9); -x_756 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_756, 0, x_754); -lean_ctor_set(x_756, 1, x_755); -return x_756; +x_744 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_744, 0, x_742); +lean_ctor_set(x_744, 1, x_743); +return x_744; } } } @@ -6991,19 +6937,17 @@ return x_29; } else { -uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_30 = lean_ctor_get_uint8(x_21, sizeof(void*)*9); +uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_30 = lean_ctor_get_uint8(x_21, sizeof(void*)*8); x_31 = lean_ctor_get(x_21, 0); x_32 = lean_ctor_get(x_21, 2); x_33 = lean_ctor_get(x_21, 3); -x_34 = lean_ctor_get_uint8(x_21, sizeof(void*)*9 + 1); +x_34 = lean_ctor_get_uint8(x_21, sizeof(void*)*8 + 1); x_35 = lean_ctor_get(x_21, 4); x_36 = lean_ctor_get(x_21, 5); x_37 = lean_ctor_get(x_21, 6); x_38 = lean_ctor_get(x_21, 7); -x_39 = lean_ctor_get(x_21, 8); -x_40 = lean_ctor_get_uint8(x_21, sizeof(void*)*9 + 2); -lean_inc(x_39); +x_39 = lean_ctor_get_uint8(x_21, sizeof(void*)*8 + 2); lean_inc(x_38); lean_inc(x_37); lean_inc(x_36); @@ -7013,61 +6957,60 @@ lean_inc(x_32); lean_inc(x_31); lean_dec(x_21); lean_inc(x_16); -x_41 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_41, 0, x_31); -lean_ctor_set(x_41, 1, x_16); -lean_ctor_set(x_41, 2, x_32); -lean_ctor_set(x_41, 3, x_33); -lean_ctor_set(x_41, 4, x_35); -lean_ctor_set(x_41, 5, x_36); -lean_ctor_set(x_41, 6, x_37); -lean_ctor_set(x_41, 7, x_38); -lean_ctor_set(x_41, 8, x_39); -lean_ctor_set_uint8(x_41, sizeof(void*)*9, x_30); -lean_ctor_set_uint8(x_41, sizeof(void*)*9 + 1, x_34); -lean_ctor_set_uint8(x_41, sizeof(void*)*9 + 2, x_40); -x_42 = lean_st_ref_set(x_1, x_41, x_22); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -if (lean_is_exclusive(x_42)) { - lean_ctor_release(x_42, 0); - lean_ctor_release(x_42, 1); - x_44 = x_42; +x_40 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_40, 0, x_31); +lean_ctor_set(x_40, 1, x_16); +lean_ctor_set(x_40, 2, x_32); +lean_ctor_set(x_40, 3, x_33); +lean_ctor_set(x_40, 4, x_35); +lean_ctor_set(x_40, 5, x_36); +lean_ctor_set(x_40, 6, x_37); +lean_ctor_set(x_40, 7, x_38); +lean_ctor_set_uint8(x_40, sizeof(void*)*8, x_30); +lean_ctor_set_uint8(x_40, sizeof(void*)*8 + 1, x_34); +lean_ctor_set_uint8(x_40, sizeof(void*)*8 + 2, x_39); +x_41 = lean_st_ref_set(x_1, x_40, x_22); +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_43 = x_41; } else { - lean_dec_ref(x_42); - x_44 = lean_box(0); + lean_dec_ref(x_41); + x_43 = lean_box(0); } -if (lean_is_scalar(x_44)) { - x_45 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_43)) { + x_44 = lean_alloc_ctor(0, 2, 0); } else { - x_45 = x_44; + x_44 = x_43; } -lean_ctor_set(x_45, 0, x_16); -lean_ctor_set(x_45, 1, x_43); -return x_45; +lean_ctor_set(x_44, 0, x_16); +lean_ctor_set(x_44, 1, x_42); +return x_44; } } else { -uint8_t x_46; +uint8_t x_45; lean_dec(x_7); -x_46 = !lean_is_exclusive(x_15); -if (x_46 == 0) +x_45 = !lean_is_exclusive(x_15); +if (x_45 == 0) { return x_15; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_47 = lean_ctor_get(x_15, 0); -x_48 = lean_ctor_get(x_15, 1); -lean_inc(x_48); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_15, 0); +x_47 = lean_ctor_get(x_15, 1); lean_inc(x_47); +lean_inc(x_46); lean_dec(x_15); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_47); -lean_ctor_set(x_49, 1, x_48); -return x_49; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } @@ -7344,20 +7287,18 @@ return x_24; } else { -uint8_t 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; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_25 = lean_ctor_get_uint8(x_13, sizeof(void*)*9); +uint8_t 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; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_25 = lean_ctor_get_uint8(x_13, sizeof(void*)*8); x_26 = lean_ctor_get(x_13, 0); x_27 = lean_ctor_get(x_13, 1); x_28 = lean_ctor_get(x_13, 2); x_29 = lean_ctor_get(x_13, 3); -x_30 = lean_ctor_get_uint8(x_13, sizeof(void*)*9 + 1); +x_30 = lean_ctor_get_uint8(x_13, sizeof(void*)*8 + 1); x_31 = lean_ctor_get(x_13, 4); x_32 = lean_ctor_get(x_13, 5); x_33 = lean_ctor_get(x_13, 6); x_34 = lean_ctor_get(x_13, 7); -x_35 = lean_ctor_get(x_13, 8); -x_36 = lean_ctor_get_uint8(x_13, sizeof(void*)*9 + 2); -lean_inc(x_35); +x_35 = lean_ctor_get_uint8(x_13, sizeof(void*)*8 + 2); lean_inc(x_34); lean_inc(x_33); lean_inc(x_32); @@ -7367,21 +7308,1633 @@ lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_dec(x_13); -x_37 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_29, x_1); -x_38 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_38, 0, x_26); -lean_ctor_set(x_38, 1, x_27); -lean_ctor_set(x_38, 2, x_28); -lean_ctor_set(x_38, 3, x_37); -lean_ctor_set(x_38, 4, x_31); -lean_ctor_set(x_38, 5, x_32); -lean_ctor_set(x_38, 6, x_33); -lean_ctor_set(x_38, 7, x_34); -lean_ctor_set(x_38, 8, x_35); -lean_ctor_set_uint8(x_38, sizeof(void*)*9, x_25); -lean_ctor_set_uint8(x_38, sizeof(void*)*9 + 1, x_30); -lean_ctor_set_uint8(x_38, sizeof(void*)*9 + 2, x_36); -x_39 = lean_st_ref_set(x_2, x_38, x_14); +x_36 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_29, x_1); +x_37 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_37, 0, x_26); +lean_ctor_set(x_37, 1, x_27); +lean_ctor_set(x_37, 2, x_28); +lean_ctor_set(x_37, 3, x_36); +lean_ctor_set(x_37, 4, x_31); +lean_ctor_set(x_37, 5, x_32); +lean_ctor_set(x_37, 6, x_33); +lean_ctor_set(x_37, 7, x_34); +lean_ctor_set_uint8(x_37, sizeof(void*)*8, x_25); +lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 1, x_30); +lean_ctor_set_uint8(x_37, sizeof(void*)*8 + 2, x_35); +x_38 = lean_st_ref_set(x_2, x_37, x_14); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +if (lean_is_exclusive(x_38)) { + lean_ctor_release(x_38, 0); + lean_ctor_release(x_38, 1); + x_40 = x_38; +} else { + lean_dec_ref(x_38); + x_40 = lean_box(0); +} +x_41 = lean_box(0); +if (lean_is_scalar(x_40)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_40; +} +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +return x_42; +} +} +} +lean_object* l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg(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_addNewArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_take(x_2, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_16 = lean_ctor_get(x_13, 0); +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_1); +x_18 = l_Lean_mkApp(x_16, x_1); +x_19 = l_Lean_Expr_bindingBody_x21(x_17); +lean_dec(x_17); +x_20 = lean_expr_instantiate1(x_19, x_1); +lean_dec(x_1); +lean_dec(x_19); +lean_ctor_set(x_13, 1, x_20); +lean_ctor_set(x_13, 0, x_18); +x_21 = lean_st_ref_set(x_2, x_13, x_14); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +x_24 = lean_box(0); +lean_ctor_set(x_21, 0, x_24); +return x_21; +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 1); +lean_inc(x_25); +lean_dec(x_21); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_25); +return x_27; +} +} +else +{ +uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_28 = lean_ctor_get_uint8(x_13, sizeof(void*)*8); +x_29 = lean_ctor_get(x_13, 0); +x_30 = lean_ctor_get(x_13, 1); +x_31 = lean_ctor_get(x_13, 2); +x_32 = lean_ctor_get(x_13, 3); +x_33 = lean_ctor_get_uint8(x_13, sizeof(void*)*8 + 1); +x_34 = lean_ctor_get(x_13, 4); +x_35 = lean_ctor_get(x_13, 5); +x_36 = lean_ctor_get(x_13, 6); +x_37 = lean_ctor_get(x_13, 7); +x_38 = lean_ctor_get_uint8(x_13, sizeof(void*)*8 + 2); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_13); +lean_inc(x_1); +x_39 = l_Lean_mkApp(x_29, x_1); +x_40 = l_Lean_Expr_bindingBody_x21(x_30); +lean_dec(x_30); +x_41 = lean_expr_instantiate1(x_40, x_1); +lean_dec(x_1); +lean_dec(x_40); +x_42 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_42, 0, x_39); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_31); +lean_ctor_set(x_42, 3, x_32); +lean_ctor_set(x_42, 4, x_34); +lean_ctor_set(x_42, 5, x_35); +lean_ctor_set(x_42, 6, x_36); +lean_ctor_set(x_42, 7, x_37); +lean_ctor_set_uint8(x_42, sizeof(void*)*8, x_28); +lean_ctor_set_uint8(x_42, sizeof(void*)*8 + 1, x_33); +lean_ctor_set_uint8(x_42, sizeof(void*)*8 + 2, x_38); +x_43 = lean_st_ref_set(x_2, x_42, x_14); +x_44 = lean_ctor_get(x_43, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_45 = x_43; +} else { + lean_dec_ref(x_43); + x_45 = lean_box(0); +} +x_46 = lean_box(0); +if (lean_is_scalar(x_45)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_45; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_44); +return x_47; +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg___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_addNewArg(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); +return x_10; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg_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_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +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_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg_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_elabAndAddNewArg_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_2, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +lean_dec(x_1); +lean_inc(x_16); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_16); +x_20 = 1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_21 = l_Lean_Elab_Term_elabTerm(x_18, x_19, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +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_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_13, 0); +lean_inc(x_24); +lean_dec(x_13); +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_25 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ensureArgType(x_24, x_22, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_23); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_28; +} +else +{ +uint8_t x_29; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_29 = !lean_is_exclusive(x_25); +if (x_29 == 0) +{ +return x_25; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_25, 0); +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_25); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_16); +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = !lean_is_exclusive(x_21); +if (x_33 == 0) +{ +return x_21; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_21, 0); +x_35 = lean_ctor_get(x_21, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_21); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_15, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +lean_dec(x_15); +x_39 = lean_ctor_get(x_1, 0); +lean_inc(x_39); +lean_dec(x_1); +x_40 = lean_ctor_get(x_13, 0); +lean_inc(x_40); +lean_dec(x_13); +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_41 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ensureArgType(x_40, x_39, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_44; +} +else +{ +uint8_t x_45; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +return x_41; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_41, 0); +x_47 = lean_ctor_get(x_41, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_41); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg___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_elabAndAddNewArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1(lean_object* x_1, size_t x_2, size_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, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = x_2 == x_3; +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_array_uget(x_1, x_2); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_14 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +x_18 = l_Lean_Expr_getOptParamDefault_x3f(x_16); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; +x_19 = l_Lean_Expr_getAutoParamTactic_x3f(x_16); +lean_dec(x_16); +if (lean_obj_tag(x_19) == 0) +{ +size_t x_20; size_t x_21; +lean_free_object(x_14); +x_20 = 1; +x_21 = x_2 + x_20; +x_2 = x_21; +x_11 = x_17; +goto _start; +} +else +{ +uint8_t x_23; lean_object* x_24; +lean_dec(x_19); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_23 = 1; +x_24 = lean_box(x_23); +lean_ctor_set(x_14, 0, x_24); +return x_14; +} +} +else +{ +uint8_t x_25; lean_object* x_26; +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_25 = 1; +x_26 = lean_box(x_25); +lean_ctor_set(x_14, 0, x_26); +return x_14; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_14, 0); +x_28 = lean_ctor_get(x_14, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_14); +x_29 = l_Lean_Expr_getOptParamDefault_x3f(x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; +x_30 = l_Lean_Expr_getAutoParamTactic_x3f(x_27); +lean_dec(x_27); +if (lean_obj_tag(x_30) == 0) +{ +size_t x_31; size_t x_32; +x_31 = 1; +x_32 = x_2 + x_31; +x_2 = x_32; +x_11 = x_28; +goto _start; +} +else +{ +uint8_t x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_30); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_34 = 1; +x_35 = lean_box(x_34); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_28); +return x_36; +} +} +else +{ +uint8_t x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_37 = 1; +x_38 = lean_box(x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_28); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_40 = !lean_is_exclusive(x_14); +if (x_40 == 0) +{ +return x_14; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_14, 0); +x_42 = lean_ctor_get(x_14, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_14); +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 +{ +uint8_t x_44; lean_object* x_45; lean_object* x_46; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_44 = 0; +x_45 = lean_box(x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_11); +return x_46; +} +} +} +lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = lean_apply_10(x_1, x_5, x_6, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1), 11, 4); +lean_closure_set(x_11, 0, x_2); +lean_closure_set(x_11, 1, x_3); +lean_closure_set(x_11, 2, x_4); +lean_closure_set(x_11, 3, x_5); +x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(x_1, x_11, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +return x_12; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_inc(x_14); +lean_dec(x_12); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_12); +if (x_17 == 0) +{ +return x_12; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_12, 0); +x_19 = lean_ctor_get(x_12, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_12); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +return x_20; +} +} +} +} +lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg), 10, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_array_get_size(x_1); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_lt(x_12, x_11); +if (x_13 == 0) +{ +uint8_t x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_14 = 0; +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_10); +return x_16; +} +else +{ +uint8_t x_17; +x_17 = lean_nat_dec_le(x_11, x_11); +if (x_17 == 0) +{ +uint8_t x_18; lean_object* x_19; lean_object* x_20; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_18 = 0; +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_10); +return x_20; +} +else +{ +size_t x_21; size_t x_22; lean_object* x_23; +x_21 = 0; +x_22 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_23 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1(x_1, x_21, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_23; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1___boxed), 10, 0); +return x_1; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; +x_11 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; +} +} +lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_14; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_11; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +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_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; +x_16 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_14, x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +return x_16; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_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_getForallBody_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_nat_dec_eq(x_1, x_7); +if (x_8 == 0) +{ +lean_dec(x_5); +if (lean_obj_tag(x_3) == 7) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint64_t x_12; lean_object* x_13; lean_object* x_14; +lean_dec(x_6); +x_9 = lean_ctor_get(x_3, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_3, 2); +lean_inc(x_11); +x_12 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); +x_13 = lean_box_uint64(x_12); +x_14 = lean_apply_7(x_4, x_1, x_2, x_3, x_9, x_10, x_11, x_13); +return x_14; +} +else +{ +lean_object* x_15; +lean_dec(x_4); +x_15 = lean_apply_3(x_6, x_1, x_2, x_3); +return x_15; +} +} +else +{ +lean_dec(x_1); +if (lean_obj_tag(x_2) == 0) +{ +lean_dec(x_6); +if (lean_obj_tag(x_3) == 7) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; uint64_t x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_5); +x_16 = lean_ctor_get(x_3, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_3, 1); +lean_inc(x_17); +x_18 = lean_ctor_get(x_3, 2); +lean_inc(x_18); +x_19 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); +x_20 = lean_box_uint64(x_19); +x_21 = lean_apply_7(x_4, x_7, x_2, x_3, x_16, x_17, x_18, x_20); +return x_21; +} +else +{ +lean_object* x_22; +lean_dec(x_4); +x_22 = lean_apply_1(x_5, x_3); +return x_22; +} +} +else +{ +lean_dec(x_5); +if (lean_obj_tag(x_3) == 7) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; lean_object* x_27; lean_object* x_28; +lean_dec(x_6); +x_23 = lean_ctor_get(x_3, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_3, 1); +lean_inc(x_24); +x_25 = lean_ctor_get(x_3, 2); +lean_inc(x_25); +x_26 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); +x_27 = lean_box_uint64(x_26); +x_28 = lean_apply_7(x_4, x_7, x_2, x_3, x_23, x_24, x_25, x_27); +return x_28; +} +else +{ +lean_object* x_29; +lean_dec(x_4); +x_29 = lean_apply_3(x_6, x_7, x_2, x_3); +return x_29; +} +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_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_getForallBody_match__2___rarg), 6, 0); +return x_2; +} +} +uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_ctor_get(x_2, 1); +x_4 = lean_name_eq(x_3, x_1); +return x_4; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; uint8_t x_6; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_nat_dec_eq(x_2, x_5); +if (x_6 == 0) +{ +if (lean_obj_tag(x_4) == 7) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint64_t x_10; lean_object* x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_4, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_4, 2); +lean_inc(x_9); +x_10 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); +lean_inc(x_7); +x_11 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed), 2, 1); +lean_closure_set(x_11, 0, x_7); +lean_inc(x_3); +x_12 = l_List_find_x3f___rarg(x_11, x_3); +if (lean_obj_tag(x_12) == 0) +{ +lean_dec(x_7); +if (x_1 == 0) +{ +uint8_t x_13; uint8_t x_14; +x_13 = (uint8_t)((x_10 << 24) >> 61); +x_14 = l_Lean_BinderInfo_isExplicit(x_13); +if (x_14 == 0) +{ +lean_dec(x_8); +lean_dec(x_4); +x_4 = x_9; +goto _start; +} +else +{ +uint8_t x_16; +x_16 = lean_nat_dec_lt(x_5, x_2); +if (x_16 == 0) +{ +uint8_t x_17; +x_17 = l_Lean_Expr_isAutoParam(x_8); +if (x_17 == 0) +{ +uint8_t x_18; +x_18 = l_Lean_Expr_isOptParam(x_8); +lean_dec(x_8); +if (x_18 == 0) +{ +lean_object* x_19; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_19 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_19, 0, x_4); +return x_19; +} +else +{ +lean_dec(x_4); +x_4 = x_9; +goto _start; +} +} +else +{ +lean_dec(x_8); +lean_dec(x_4); +x_4 = x_9; +goto _start; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +lean_dec(x_8); +lean_dec(x_4); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_2, x_22); +lean_dec(x_2); +x_2 = x_23; +x_4 = x_9; +goto _start; +} +} +} +else +{ +uint8_t x_25; +x_25 = lean_nat_dec_lt(x_5, x_2); +if (x_25 == 0) +{ +uint8_t x_26; +x_26 = l_Lean_Expr_isAutoParam(x_8); +if (x_26 == 0) +{ +uint8_t x_27; +x_27 = l_Lean_Expr_isOptParam(x_8); +lean_dec(x_8); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_9); +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_4); +return x_28; +} +else +{ +lean_dec(x_4); +x_4 = x_9; +goto _start; +} +} +else +{ +lean_dec(x_8); +lean_dec(x_4); +x_4 = x_9; +goto _start; +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_8); +lean_dec(x_4); +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_sub(x_2, x_31); +lean_dec(x_2); +x_2 = x_32; +x_4 = x_9; +goto _start; +} +} +} +else +{ +lean_object* x_34; +lean_dec(x_12); +lean_dec(x_8); +lean_dec(x_4); +x_34 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_3, x_7); +lean_dec(x_7); +x_3 = x_34; +x_4 = x_9; +goto _start; +} +} +else +{ +lean_object* x_36; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_36 = lean_box(0); +return x_36; +} +} +else +{ +lean_dec(x_2); +if (lean_obj_tag(x_3) == 0) +{ +if (lean_obj_tag(x_4) == 7) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint64_t x_40; lean_object* x_41; lean_object* x_42; +x_37 = lean_ctor_get(x_4, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_4, 1); +lean_inc(x_38); +x_39 = lean_ctor_get(x_4, 2); +lean_inc(x_39); +x_40 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); +lean_inc(x_37); +x_41 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed), 2, 1); +lean_closure_set(x_41, 0, x_37); +x_42 = l_List_find_x3f___rarg(x_41, x_3); +if (lean_obj_tag(x_42) == 0) +{ +lean_dec(x_37); +if (x_1 == 0) +{ +uint8_t x_43; uint8_t x_44; +x_43 = (uint8_t)((x_40 << 24) >> 61); +x_44 = l_Lean_BinderInfo_isExplicit(x_43); +if (x_44 == 0) +{ +lean_dec(x_38); +lean_dec(x_4); +x_2 = x_5; +x_4 = x_39; +goto _start; +} +else +{ +uint8_t x_46; +x_46 = l_Lean_Expr_isAutoParam(x_38); +if (x_46 == 0) +{ +uint8_t x_47; +x_47 = l_Lean_Expr_isOptParam(x_38); +lean_dec(x_38); +if (x_47 == 0) +{ +lean_object* x_48; +lean_dec(x_39); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_4); +return x_48; +} +else +{ +lean_dec(x_4); +x_2 = x_5; +x_4 = x_39; +goto _start; +} +} +else +{ +lean_dec(x_38); +lean_dec(x_4); +x_2 = x_5; +x_4 = x_39; +goto _start; +} +} +} +else +{ +uint8_t x_51; +x_51 = l_Lean_Expr_isAutoParam(x_38); +if (x_51 == 0) +{ +uint8_t x_52; +x_52 = l_Lean_Expr_isOptParam(x_38); +lean_dec(x_38); +if (x_52 == 0) +{ +lean_object* x_53; +lean_dec(x_39); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_4); +return x_53; +} +else +{ +lean_dec(x_4); +x_2 = x_5; +x_4 = x_39; +goto _start; +} +} +else +{ +lean_dec(x_38); +lean_dec(x_4); +x_2 = x_5; +x_4 = x_39; +goto _start; +} +} +} +else +{ +lean_object* x_56; +lean_dec(x_42); +lean_dec(x_38); +lean_dec(x_4); +x_56 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_3, x_37); +lean_dec(x_37); +x_2 = x_5; +x_3 = x_56; +x_4 = x_39; +goto _start; +} +} +else +{ +lean_object* x_58; +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_4); +return x_58; +} +} +else +{ +if (lean_obj_tag(x_4) == 7) +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; uint64_t x_62; lean_object* x_63; lean_object* x_64; +x_59 = lean_ctor_get(x_4, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_4, 1); +lean_inc(x_60); +x_61 = lean_ctor_get(x_4, 2); +lean_inc(x_61); +x_62 = lean_ctor_get_uint64(x_4, sizeof(void*)*3); +lean_inc(x_59); +x_63 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed), 2, 1); +lean_closure_set(x_63, 0, x_59); +lean_inc(x_3); +x_64 = l_List_find_x3f___rarg(x_63, x_3); +if (lean_obj_tag(x_64) == 0) +{ +lean_dec(x_59); +if (x_1 == 0) +{ +uint8_t x_65; uint8_t x_66; +x_65 = (uint8_t)((x_62 << 24) >> 61); +x_66 = l_Lean_BinderInfo_isExplicit(x_65); +if (x_66 == 0) +{ +lean_dec(x_60); +lean_dec(x_4); +x_2 = x_5; +x_4 = x_61; +goto _start; +} +else +{ +uint8_t x_68; +x_68 = l_Lean_Expr_isAutoParam(x_60); +if (x_68 == 0) +{ +uint8_t x_69; +x_69 = l_Lean_Expr_isOptParam(x_60); +lean_dec(x_60); +if (x_69 == 0) +{ +lean_object* x_70; +lean_dec(x_61); +lean_dec(x_3); +x_70 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_70, 0, x_4); +return x_70; +} +else +{ +lean_dec(x_4); +x_2 = x_5; +x_4 = x_61; +goto _start; +} +} +else +{ +lean_dec(x_60); +lean_dec(x_4); +x_2 = x_5; +x_4 = x_61; +goto _start; +} +} +} +else +{ +uint8_t x_73; +x_73 = l_Lean_Expr_isAutoParam(x_60); +if (x_73 == 0) +{ +uint8_t x_74; +x_74 = l_Lean_Expr_isOptParam(x_60); +lean_dec(x_60); +if (x_74 == 0) +{ +lean_object* x_75; +lean_dec(x_61); +lean_dec(x_3); +x_75 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_75, 0, x_4); +return x_75; +} +else +{ +lean_dec(x_4); +x_2 = x_5; +x_4 = x_61; +goto _start; +} +} +else +{ +lean_dec(x_60); +lean_dec(x_4); +x_2 = x_5; +x_4 = x_61; +goto _start; +} +} +} +else +{ +lean_object* x_78; +lean_dec(x_64); +lean_dec(x_60); +lean_dec(x_4); +x_78 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_3, x_59); +lean_dec(x_59); +x_2 = x_5; +x_3 = x_78; +x_4 = x_61; +goto _start; +} +} +else +{ +lean_object* x_80; +lean_dec(x_4); +lean_dec(x_3); +x_80 = lean_box(0); +return x_80; +} +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___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_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(x_5, x_2, x_3, x_4); +return x_6; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor_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_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +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_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor_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_shouldPropagateExpectedTypeFor_match__1___rarg), 3, 0); +return x_2; +} +} +uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l_Lean_Syntax_getKind(x_2); +x_4 = l_myMacro____x40_Init_Notation___hyg_8168____closed__13; +x_5 = lean_name_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; uint8_t x_7; +x_6 = l___regBuiltin_Lean_Elab_Term_elabSyntheticHole___closed__1; +x_7 = lean_name_eq(x_3, x_6); +if (x_7 == 0) +{ +lean_object* x_8; uint8_t x_9; +x_8 = l___regBuiltin_Lean_Elab_Term_elabByTactic___closed__2; +x_9 = lean_name_eq(x_3, x_8); +lean_dec(x_3); +if (x_9 == 0) +{ +uint8_t x_10; +x_10 = 1; +return x_10; +} +else +{ +uint8_t x_11; +x_11 = 0; +return x_11; +} +} +else +{ +uint8_t x_12; +lean_dec(x_3); +x_12 = 0; +return x_12; +} +} +else +{ +uint8_t x_13; +lean_dec(x_3); +x_13 = 0; +return x_13; +} +} +else +{ +uint8_t x_14; +lean_dec(x_1); +x_14 = 0; +return x_14; +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor(x_1); +x_3 = lean_box(x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_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_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_propagateExpectedType_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_propagateExpectedType_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_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_propagateExpectedType_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_propagateExpectedType_match__2___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_isExprDefEqImp(x_1, x_2, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_11 = lean_ctor_get(x_8, 3); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_st_ref_take(x_9, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_16, 3); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_13); +lean_inc(x_11); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_11); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Std_PersistentArray_push___rarg(x_22, x_24); +lean_ctor_set(x_17, 0, x_25); +x_26 = lean_st_ref_set(x_9, x_16, x_18); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +x_29 = lean_box(0); +lean_ctor_set(x_26, 0, x_29); +return x_26; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_dec(x_26); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +} +else +{ +uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_33 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_34 = lean_ctor_get(x_17, 0); +lean_inc(x_34); +lean_dec(x_17); +x_35 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_13); +lean_inc(x_11); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_11); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Std_PersistentArray_push___rarg(x_34, x_36); +x_38 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_33); +lean_ctor_set(x_16, 3, x_38); +x_39 = lean_st_ref_set(x_9, x_16, x_18); x_40 = lean_ctor_get(x_39, 1); lean_inc(x_40); if (lean_is_exclusive(x_39)) { @@ -7403,12 +8956,2513 @@ lean_ctor_set(x_43, 1, x_40); return x_43; } } +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_44 = lean_ctor_get(x_16, 0); +x_45 = lean_ctor_get(x_16, 1); +x_46 = lean_ctor_get(x_16, 2); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_16); +x_47 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_48 = lean_ctor_get(x_17, 0); +lean_inc(x_48); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_49 = x_17; +} else { + lean_dec_ref(x_17); + x_49 = lean_box(0); } -lean_object* l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg___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) { +x_50 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_50, 0, x_1); +lean_ctor_set(x_50, 1, x_13); +lean_inc(x_11); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_11); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Std_PersistentArray_push___rarg(x_48, x_51); +if (lean_is_scalar(x_49)) { + x_53 = lean_alloc_ctor(0, 1, 1); +} else { + x_53 = x_49; +} +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_47); +x_54 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_54, 0, x_44); +lean_ctor_set(x_54, 1, x_45); +lean_ctor_set(x_54, 2, x_46); +lean_ctor_set(x_54, 3, x_53); +x_55 = lean_st_ref_set(x_9, x_54, x_18); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_57 = x_55; +} else { + lean_dec_ref(x_55); + x_57 = lean_box(0); +} +x_58 = lean_box(0); +if (lean_is_scalar(x_57)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_57; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; +} +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_7, 0); +x_11 = l_Lean_checkTraceOption(x_10, x_1); +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_9); +return x_13; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("propagateExpectedType"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1; +x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__2; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("etaArgs.size: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__4; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", numRemainingArgs: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string(", fType: "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(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; +x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor(x_1); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_11 = lean_box(0); +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; +} +else +{ +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; uint8_t x_20; +x_13 = lean_st_ref_get(x_8, x_9); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_st_ref_get(x_2, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +if (lean_is_exclusive(x_15)) { + lean_ctor_release(x_15, 0); + lean_ctor_release(x_15, 1); + x_18 = x_15; +} else { + lean_dec_ref(x_15); + x_18 = lean_box(0); +} +x_19 = lean_ctor_get(x_16, 5); +lean_inc(x_19); +x_20 = l_Array_isEmpty___rarg(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_21 = lean_box(0); +if (lean_is_scalar(x_18)) { + x_22 = lean_alloc_ctor(0, 2, 0); +} else { + x_22 = x_18; +} +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = lean_ctor_get_uint8(x_16, sizeof(void*)*8 + 2); +if (x_23 == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_16, 4); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_25 = lean_box(0); +if (lean_is_scalar(x_18)) { + x_26 = lean_alloc_ctor(0, 2, 0); +} else { + x_26 = x_18; +} +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_17); +return x_26; +} +else +{ +lean_object* x_27; uint8_t x_28; +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +lean_dec(x_24); +x_28 = l_Lean_Expr_isProp(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_196; lean_object* x_197; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; +x_29 = lean_ctor_get(x_16, 2); +lean_inc(x_29); +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_List_lengthAux___rarg(x_29, x_30); +lean_dec(x_29); +x_219 = lean_st_ref_get(x_8, x_17); +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_220, 3); +lean_inc(x_221); +lean_dec(x_220); +x_222 = lean_ctor_get_uint8(x_221, sizeof(void*)*1); +lean_dec(x_221); +if (x_222 == 0) +{ +lean_object* x_223; uint8_t x_224; +x_223 = lean_ctor_get(x_219, 1); +lean_inc(x_223); +lean_dec(x_219); +x_224 = 0; +x_196 = x_224; +x_197 = x_223; +goto block_218; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; +x_225 = lean_ctor_get(x_219, 1); +lean_inc(x_225); +lean_dec(x_219); +x_226 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; +x_227 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(x_226, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_225); +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec(x_227); +x_230 = lean_unbox(x_228); +lean_dec(x_228); +x_196 = x_230; +x_197 = x_229; +goto block_218; +} +block_195: +{ +uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get_uint8(x_16, sizeof(void*)*8); +x_34 = lean_ctor_get(x_16, 3); +lean_inc(x_34); +x_35 = lean_ctor_get(x_16, 1); +lean_inc(x_35); +lean_dec(x_16); +x_36 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(x_33, x_31, x_34, x_35); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_27); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_37 = lean_box(0); +if (lean_is_scalar(x_18)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_18; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_32); +return x_38; +} +else +{ +lean_object* x_39; uint8_t x_40; +x_39 = lean_ctor_get(x_36, 0); +lean_inc(x_39); +lean_dec(x_36); +x_40 = l_Lean_Expr_hasLooseBVars(x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_18); +x_41 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_39); +x_42 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_39, x_41, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_32); +if (lean_obj_tag(x_42) == 0) +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_93; lean_object* x_94; uint8_t x_107; +x_44 = lean_ctor_get(x_42, 0); +x_45 = lean_ctor_get(x_42, 1); +x_107 = lean_unbox(x_44); +lean_dec(x_44); +if (x_107 == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +lean_free_object(x_42); +x_108 = lean_st_ref_get(x_8, x_45); +x_109 = lean_ctor_get(x_108, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_109, 3); +lean_inc(x_110); +lean_dec(x_109); +x_111 = lean_ctor_get_uint8(x_110, sizeof(void*)*1); +lean_dec(x_110); +if (x_111 == 0) +{ +lean_object* x_112; uint8_t x_113; +x_112 = lean_ctor_get(x_108, 1); +lean_inc(x_112); +lean_dec(x_108); +x_113 = 0; +x_93 = x_113; +x_94 = x_112; +goto block_106; +} +else +{ +lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; +x_114 = lean_ctor_get(x_108, 1); +lean_inc(x_114); +lean_dec(x_108); +x_115 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; +x_116 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(x_115, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_114); +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +x_119 = lean_unbox(x_117); +lean_dec(x_117); +x_93 = x_119; +x_94 = x_118; +goto block_106; +} +} +else +{ +lean_object* x_120; +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_120 = lean_box(0); +lean_ctor_set(x_42, 0, x_120); +return x_42; +} +block_92: +{ +lean_object* x_47; +lean_inc(x_8); +x_47 = l_Lean_Meta_isExprDefEqImp(x_27, x_39, x_5, x_6, x_7, x_8, x_46); +if (lean_obj_tag(x_47) == 0) +{ +lean_object* x_48; uint8_t x_49; +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_unbox(x_48); +lean_dec(x_48); +if (x_49 == 0) +{ +uint8_t x_50; +lean_dec(x_8); +lean_dec(x_2); +x_50 = !lean_is_exclusive(x_47); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = lean_ctor_get(x_47, 0); +lean_dec(x_51); +x_52 = lean_box(0); +lean_ctor_set(x_47, 0, x_52); +return x_47; +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_47, 1); +lean_inc(x_53); +lean_dec(x_47); +x_54 = lean_box(0); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_53); +return x_55; +} +} +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; uint8_t x_62; +x_56 = lean_ctor_get(x_47, 1); +lean_inc(x_56); +lean_dec(x_47); +x_57 = lean_st_ref_get(x_8, x_56); +lean_dec(x_8); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_59 = lean_st_ref_take(x_2, x_58); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = !lean_is_exclusive(x_60); +if (x_62 == 0) +{ +uint8_t x_63; lean_object* x_64; uint8_t x_65; +x_63 = 1; +lean_ctor_set_uint8(x_60, sizeof(void*)*8 + 2, x_63); +x_64 = lean_st_ref_set(x_2, x_60, x_61); +lean_dec(x_2); +x_65 = !lean_is_exclusive(x_64); +if (x_65 == 0) +{ +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_64, 0); +lean_dec(x_66); +x_67 = lean_box(0); +lean_ctor_set(x_64, 0, x_67); +return x_64; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_64, 1); +lean_inc(x_68); +lean_dec(x_64); +x_69 = lean_box(0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_68); +return x_70; +} +} +else +{ +uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_71 = lean_ctor_get_uint8(x_60, sizeof(void*)*8); +x_72 = lean_ctor_get(x_60, 0); +x_73 = lean_ctor_get(x_60, 1); +x_74 = lean_ctor_get(x_60, 2); +x_75 = lean_ctor_get(x_60, 3); +x_76 = lean_ctor_get_uint8(x_60, sizeof(void*)*8 + 1); +x_77 = lean_ctor_get(x_60, 4); +x_78 = lean_ctor_get(x_60, 5); +x_79 = lean_ctor_get(x_60, 6); +x_80 = lean_ctor_get(x_60, 7); +lean_inc(x_80); +lean_inc(x_79); +lean_inc(x_78); +lean_inc(x_77); +lean_inc(x_75); +lean_inc(x_74); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_60); +x_81 = 1; +x_82 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_82, 0, x_72); +lean_ctor_set(x_82, 1, x_73); +lean_ctor_set(x_82, 2, x_74); +lean_ctor_set(x_82, 3, x_75); +lean_ctor_set(x_82, 4, x_77); +lean_ctor_set(x_82, 5, x_78); +lean_ctor_set(x_82, 6, x_79); +lean_ctor_set(x_82, 7, x_80); +lean_ctor_set_uint8(x_82, sizeof(void*)*8, x_71); +lean_ctor_set_uint8(x_82, sizeof(void*)*8 + 1, x_76); +lean_ctor_set_uint8(x_82, sizeof(void*)*8 + 2, x_81); +x_83 = lean_st_ref_set(x_2, x_82, x_61); +lean_dec(x_2); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_85 = x_83; +} else { + lean_dec_ref(x_83); + x_85 = lean_box(0); +} +x_86 = lean_box(0); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_85; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_84); +return x_87; +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_8); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_47); +if (x_88 == 0) +{ +return x_47; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_47, 0); +x_90 = lean_ctor_get(x_47, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_47); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +} +block_106: +{ +if (x_93 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +x_46 = x_94; +goto block_92; +} +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_inc(x_27); +x_95 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_95, 0, x_27); +x_96 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_95); +x_98 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_99 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_99, 0, x_97); +lean_ctor_set(x_99, 1, x_98); +lean_inc(x_39); +x_100 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_100, 0, x_39); +x_101 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +x_102 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_96); +x_103 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; +x_104 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_103, x_102, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_94); +lean_dec(x_4); +lean_dec(x_3); +x_105 = lean_ctor_get(x_104, 1); +lean_inc(x_105); +lean_dec(x_104); +x_46 = x_105; +goto block_92; +} +} +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_160; lean_object* x_161; uint8_t x_174; +x_121 = lean_ctor_get(x_42, 0); +x_122 = lean_ctor_get(x_42, 1); +lean_inc(x_122); +lean_inc(x_121); +lean_dec(x_42); +x_174 = lean_unbox(x_121); +lean_dec(x_121); +if (x_174 == 0) +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_175 = lean_st_ref_get(x_8, x_122); +x_176 = lean_ctor_get(x_175, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_176, 3); +lean_inc(x_177); +lean_dec(x_176); +x_178 = lean_ctor_get_uint8(x_177, sizeof(void*)*1); +lean_dec(x_177); +if (x_178 == 0) +{ +lean_object* x_179; uint8_t x_180; +x_179 = lean_ctor_get(x_175, 1); +lean_inc(x_179); +lean_dec(x_175); +x_180 = 0; +x_160 = x_180; +x_161 = x_179; +goto block_173; +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; uint8_t x_186; +x_181 = lean_ctor_get(x_175, 1); +lean_inc(x_181); +lean_dec(x_175); +x_182 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; +x_183 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(x_182, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_181); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +lean_dec(x_183); +x_186 = lean_unbox(x_184); +lean_dec(x_184); +x_160 = x_186; +x_161 = x_185; +goto block_173; +} +} +else +{ +lean_object* x_187; lean_object* x_188; +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_187 = lean_box(0); +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_122); +return x_188; +} +block_159: +{ +lean_object* x_124; +lean_inc(x_8); +x_124 = l_Lean_Meta_isExprDefEqImp(x_27, x_39, x_5, x_6, x_7, x_8, x_123); +if (lean_obj_tag(x_124) == 0) +{ +lean_object* x_125; uint8_t x_126; +x_125 = lean_ctor_get(x_124, 0); +lean_inc(x_125); +x_126 = lean_unbox(x_125); +lean_dec(x_125); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_8); +lean_dec(x_2); +x_127 = lean_ctor_get(x_124, 1); +lean_inc(x_127); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_128 = x_124; +} else { + lean_dec_ref(x_124); + x_128 = lean_box(0); +} +x_129 = lean_box(0); +if (lean_is_scalar(x_128)) { + x_130 = lean_alloc_ctor(0, 2, 0); +} else { + x_130 = x_128; +} +lean_ctor_set(x_130, 0, x_129); +lean_ctor_set(x_130, 1, x_127); +return x_130; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; uint8_t x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; uint8_t 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; +x_131 = lean_ctor_get(x_124, 1); +lean_inc(x_131); +lean_dec(x_124); +x_132 = lean_st_ref_get(x_8, x_131); +lean_dec(x_8); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_st_ref_take(x_2, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +x_137 = lean_ctor_get_uint8(x_135, sizeof(void*)*8); +x_138 = lean_ctor_get(x_135, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_135, 1); +lean_inc(x_139); +x_140 = lean_ctor_get(x_135, 2); +lean_inc(x_140); +x_141 = lean_ctor_get(x_135, 3); +lean_inc(x_141); +x_142 = lean_ctor_get_uint8(x_135, sizeof(void*)*8 + 1); +x_143 = lean_ctor_get(x_135, 4); +lean_inc(x_143); +x_144 = lean_ctor_get(x_135, 5); +lean_inc(x_144); +x_145 = lean_ctor_get(x_135, 6); +lean_inc(x_145); +x_146 = lean_ctor_get(x_135, 7); +lean_inc(x_146); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + lean_ctor_release(x_135, 1); + lean_ctor_release(x_135, 2); + lean_ctor_release(x_135, 3); + lean_ctor_release(x_135, 4); + lean_ctor_release(x_135, 5); + lean_ctor_release(x_135, 6); + lean_ctor_release(x_135, 7); + x_147 = x_135; +} else { + lean_dec_ref(x_135); + x_147 = lean_box(0); +} +x_148 = 1; +if (lean_is_scalar(x_147)) { + x_149 = lean_alloc_ctor(0, 8, 3); +} else { + x_149 = x_147; +} +lean_ctor_set(x_149, 0, x_138); +lean_ctor_set(x_149, 1, x_139); +lean_ctor_set(x_149, 2, x_140); +lean_ctor_set(x_149, 3, x_141); +lean_ctor_set(x_149, 4, x_143); +lean_ctor_set(x_149, 5, x_144); +lean_ctor_set(x_149, 6, x_145); +lean_ctor_set(x_149, 7, x_146); +lean_ctor_set_uint8(x_149, sizeof(void*)*8, x_137); +lean_ctor_set_uint8(x_149, sizeof(void*)*8 + 1, x_142); +lean_ctor_set_uint8(x_149, sizeof(void*)*8 + 2, x_148); +x_150 = lean_st_ref_set(x_2, x_149, x_136); +lean_dec(x_2); +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +if (lean_is_exclusive(x_150)) { + lean_ctor_release(x_150, 0); + lean_ctor_release(x_150, 1); + x_152 = x_150; +} else { + lean_dec_ref(x_150); + x_152 = lean_box(0); +} +x_153 = lean_box(0); +if (lean_is_scalar(x_152)) { + x_154 = lean_alloc_ctor(0, 2, 0); +} else { + x_154 = x_152; +} +lean_ctor_set(x_154, 0, x_153); +lean_ctor_set(x_154, 1, x_151); +return x_154; +} +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +lean_dec(x_8); +lean_dec(x_2); +x_155 = lean_ctor_get(x_124, 0); +lean_inc(x_155); +x_156 = lean_ctor_get(x_124, 1); +lean_inc(x_156); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_157 = x_124; +} else { + lean_dec_ref(x_124); + x_157 = lean_box(0); +} +if (lean_is_scalar(x_157)) { + x_158 = lean_alloc_ctor(1, 2, 0); +} else { + x_158 = x_157; +} +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_156); +return x_158; +} +} +block_173: +{ +if (x_160 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +x_123 = x_161; +goto block_159; +} +else +{ +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_inc(x_27); +x_162 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_162, 0, x_27); +x_163 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_164 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_164, 0, x_163); +lean_ctor_set(x_164, 1, x_162); +x_165 = l_Lean_Meta_isLevelDefEqAux___closed__6; +x_166 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_166, 0, x_164); +lean_ctor_set(x_166, 1, x_165); +lean_inc(x_39); +x_167 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_167, 0, x_39); +x_168 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_168, 0, x_166); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_169, 1, x_163); +x_170 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; +x_171 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_170, x_169, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_161); +lean_dec(x_4); +lean_dec(x_3); +x_172 = lean_ctor_get(x_171, 1); +lean_inc(x_172); +lean_dec(x_171); +x_123 = x_172; +goto block_159; +} +} +} +} +else +{ +uint8_t x_189; +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_189 = !lean_is_exclusive(x_42); +if (x_189 == 0) +{ +return x_42; +} +else +{ +lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_190 = lean_ctor_get(x_42, 0); +x_191 = lean_ctor_get(x_42, 1); +lean_inc(x_191); +lean_inc(x_190); +lean_dec(x_42); +x_192 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_192, 0, x_190); +lean_ctor_set(x_192, 1, x_191); +return x_192; +} +} +} +else +{ +lean_object* x_193; lean_object* x_194; +lean_dec(x_39); +lean_dec(x_27); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_193 = lean_box(0); +if (lean_is_scalar(x_18)) { + x_194 = lean_alloc_ctor(0, 2, 0); +} else { + x_194 = x_18; +} +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_32); +return x_194; +} +} +} +block_218: +{ +if (x_196 == 0) +{ +lean_dec(x_19); +x_32 = x_197; +goto block_195; +} +else +{ +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_198 = lean_array_get_size(x_19); +lean_dec(x_19); +x_199 = l_Lean_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_198); +x_200 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_200, 0, x_199); +x_201 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__5; +x_202 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_200); +x_203 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__7; +x_204 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_204, 0, x_202); +lean_ctor_set(x_204, 1, x_203); +lean_inc(x_31); +x_205 = l_Lean_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_31); +x_206 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_206, 0, x_205); +x_207 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_207, 0, x_204); +lean_ctor_set(x_207, 1, x_206); +x_208 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__9; +x_209 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_208); +x_210 = lean_ctor_get(x_16, 1); +lean_inc(x_210); +x_211 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_211, 0, x_210); +x_212 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_212, 0, x_209); +lean_ctor_set(x_212, 1, x_211); +x_213 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_214 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_214, 0, x_212); +lean_ctor_set(x_214, 1, x_213); +x_215 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; +x_216 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_215, x_214, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_197); +x_217 = lean_ctor_get(x_216, 1); +lean_inc(x_217); +lean_dec(x_216); +x_32 = x_217; +goto block_195; +} +} +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; +lean_dec(x_27); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_16); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_231 = lean_st_ref_get(x_8, x_17); +lean_dec(x_8); +x_232 = lean_ctor_get(x_231, 1); +lean_inc(x_232); +lean_dec(x_231); +x_233 = lean_st_ref_take(x_2, x_232); +x_234 = lean_ctor_get(x_233, 0); +lean_inc(x_234); +x_235 = lean_ctor_get(x_233, 1); +lean_inc(x_235); +lean_dec(x_233); +x_236 = !lean_is_exclusive(x_234); +if (x_236 == 0) +{ +uint8_t x_237; lean_object* x_238; uint8_t x_239; +x_237 = 1; +lean_ctor_set_uint8(x_234, sizeof(void*)*8 + 2, x_237); +x_238 = lean_st_ref_set(x_2, x_234, x_235); +lean_dec(x_2); +x_239 = !lean_is_exclusive(x_238); +if (x_239 == 0) +{ +lean_object* x_240; lean_object* x_241; +x_240 = lean_ctor_get(x_238, 0); +lean_dec(x_240); +x_241 = lean_box(0); +lean_ctor_set(x_238, 0, x_241); +return x_238; +} +else +{ +lean_object* x_242; lean_object* x_243; lean_object* x_244; +x_242 = lean_ctor_get(x_238, 1); +lean_inc(x_242); +lean_dec(x_238); +x_243 = lean_box(0); +x_244 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +return x_244; +} +} +else +{ +uint8_t x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; uint8_t 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; +x_245 = lean_ctor_get_uint8(x_234, sizeof(void*)*8); +x_246 = lean_ctor_get(x_234, 0); +x_247 = lean_ctor_get(x_234, 1); +x_248 = lean_ctor_get(x_234, 2); +x_249 = lean_ctor_get(x_234, 3); +x_250 = lean_ctor_get_uint8(x_234, sizeof(void*)*8 + 1); +x_251 = lean_ctor_get(x_234, 4); +x_252 = lean_ctor_get(x_234, 5); +x_253 = lean_ctor_get(x_234, 6); +x_254 = lean_ctor_get(x_234, 7); +lean_inc(x_254); +lean_inc(x_253); +lean_inc(x_252); +lean_inc(x_251); +lean_inc(x_249); +lean_inc(x_248); +lean_inc(x_247); +lean_inc(x_246); +lean_dec(x_234); +x_255 = 1; +x_256 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_256, 0, x_246); +lean_ctor_set(x_256, 1, x_247); +lean_ctor_set(x_256, 2, x_248); +lean_ctor_set(x_256, 3, x_249); +lean_ctor_set(x_256, 4, x_251); +lean_ctor_set(x_256, 5, x_252); +lean_ctor_set(x_256, 6, x_253); +lean_ctor_set(x_256, 7, x_254); +lean_ctor_set_uint8(x_256, sizeof(void*)*8, x_245); +lean_ctor_set_uint8(x_256, sizeof(void*)*8 + 1, x_250); +lean_ctor_set_uint8(x_256, sizeof(void*)*8 + 2, x_255); +x_257 = lean_st_ref_set(x_2, x_256, x_235); +lean_dec(x_2); +x_258 = lean_ctor_get(x_257, 1); +lean_inc(x_258); +if (lean_is_exclusive(x_257)) { + lean_ctor_release(x_257, 0); + lean_ctor_release(x_257, 1); + x_259 = x_257; +} else { + lean_dec_ref(x_257); + x_259 = lean_box(0); +} +x_260 = lean_box(0); +if (lean_is_scalar(x_259)) { + x_261 = lean_alloc_ctor(0, 2, 0); +} else { + x_261 = x_259; +} +lean_ctor_set(x_261, 0, x_260); +lean_ctor_set(x_261, 1, x_258); +return x_261; +} +} +} +} +else +{ +lean_object* x_262; lean_object* x_263; +lean_dec(x_19); +lean_dec(x_16); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_262 = lean_box(0); +if (lean_is_scalar(x_18)) { + x_263 = lean_alloc_ctor(0, 2, 0); +} else { + x_263 = x_18; +} +lean_ctor_set(x_263, 0, x_262); +lean_ctor_set(x_263, 1, x_17); +return x_263; +} +} +} +} +} +lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; -x_10 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(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); +return x_10; +} +} +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = lean_apply_9(x_1, x_5, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__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* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___lambda__1), 10, 4); +lean_closure_set(x_13, 0, x_4); +lean_closure_set(x_13, 1, x_5); +lean_closure_set(x_13, 2, x_6); +lean_closure_set(x_13, 3, x_7); +x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_14); +if (x_19 == 0) +{ +return x_14; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_14, 0); +x_21 = lean_ctor_get(x_14, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_14); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___boxed), 12, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_11 = lean_st_ref_get(x_9, x_10); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = lean_st_ref_take(x_3, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = !lean_is_exclusive(x_14); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_17 = lean_ctor_get(x_14, 5); +lean_inc(x_2); +x_18 = lean_array_push(x_17, x_2); +lean_ctor_set(x_14, 5, x_18); +x_19 = lean_st_ref_set(x_3, x_14, x_15); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_apply_8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); +return x_23; +} +else +{ +uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_24 = lean_ctor_get_uint8(x_14, sizeof(void*)*8); +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +x_27 = lean_ctor_get(x_14, 2); +x_28 = lean_ctor_get(x_14, 3); +x_29 = lean_ctor_get_uint8(x_14, sizeof(void*)*8 + 1); +x_30 = lean_ctor_get(x_14, 4); +x_31 = lean_ctor_get(x_14, 5); +x_32 = lean_ctor_get(x_14, 6); +x_33 = lean_ctor_get(x_14, 7); +x_34 = lean_ctor_get_uint8(x_14, sizeof(void*)*8 + 2); +lean_inc(x_33); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_28); +lean_inc(x_27); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_14); +lean_inc(x_2); +x_35 = lean_array_push(x_31, x_2); +x_36 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_36, 0, x_25); +lean_ctor_set(x_36, 1, x_26); +lean_ctor_set(x_36, 2, x_27); +lean_ctor_set(x_36, 3, x_28); +lean_ctor_set(x_36, 4, x_30); +lean_ctor_set(x_36, 5, x_35); +lean_ctor_set(x_36, 6, x_32); +lean_ctor_set(x_36, 7, x_33); +lean_ctor_set_uint8(x_36, sizeof(void*)*8, x_24); +lean_ctor_set_uint8(x_36, sizeof(void*)*8 + 1, x_29); +lean_ctor_set_uint8(x_36, sizeof(void*)*8 + 2, x_34); +x_37 = lean_st_ref_set(x_3, x_36, x_15); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_38); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +x_41 = lean_apply_8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_40); +return x_41; +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getBindingName(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___lambda__1), 10, 1); +lean_closure_set(x_16, 0, x_1); +x_17 = 0; +x_18 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg(x_11, x_17, x_14, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +return x_18; +} +} +lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__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, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; lean_object* x_14; +x_13 = lean_unbox(x_2); +lean_dec(x_2); +x_14 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +return x_14; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize_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_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_finalize_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_finalize_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = x_5 < x_4; +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_6); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; +lean_dec(x_6); +x_17 = lean_array_uget(x_3, x_5); +lean_inc(x_1); +lean_inc(x_2); +x_18 = l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(x_17, x_2, x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = 1; +x_21 = x_5 + x_20; +x_22 = lean_box(0); +x_5 = x_21; +x_6 = x_22; +x_14 = x_19; +goto _start; +} +} +} +lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_isExprDefEqImp(x_1, x_2, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_11 = lean_ctor_get(x_8, 3); +x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_st_ref_take(x_9, x_14); +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +x_18 = lean_ctor_get(x_15, 1); +lean_inc(x_18); +lean_dec(x_15); +x_19 = !lean_is_exclusive(x_16); +if (x_19 == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_16, 3); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_23, 0, x_1); +lean_ctor_set(x_23, 1, x_13); +lean_inc(x_11); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_11); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Std_PersistentArray_push___rarg(x_22, x_24); +lean_ctor_set(x_17, 0, x_25); +x_26 = lean_st_ref_set(x_9, x_16, x_18); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_26, 0); +lean_dec(x_28); +x_29 = lean_box(0); +lean_ctor_set(x_26, 0, x_29); +return x_26; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_dec(x_26); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +return x_32; +} +} +else +{ +uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_33 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_34 = lean_ctor_get(x_17, 0); +lean_inc(x_34); +lean_dec(x_17); +x_35 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_35, 0, x_1); +lean_ctor_set(x_35, 1, x_13); +lean_inc(x_11); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_11); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Std_PersistentArray_push___rarg(x_34, x_36); +x_38 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_33); +lean_ctor_set(x_16, 3, x_38); +x_39 = lean_st_ref_set(x_9, x_16, x_18); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_41 = x_39; +} else { + lean_dec_ref(x_39); + x_41 = lean_box(0); +} +x_42 = lean_box(0); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_41; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +return x_43; +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_44 = lean_ctor_get(x_16, 0); +x_45 = lean_ctor_get(x_16, 1); +x_46 = lean_ctor_get(x_16, 2); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_16); +x_47 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); +x_48 = lean_ctor_get(x_17, 0); +lean_inc(x_48); +if (lean_is_exclusive(x_17)) { + lean_ctor_release(x_17, 0); + x_49 = x_17; +} else { + lean_dec_ref(x_17); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(11, 2, 0); +lean_ctor_set(x_50, 0, x_1); +lean_ctor_set(x_50, 1, x_13); +lean_inc(x_11); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_11); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Std_PersistentArray_push___rarg(x_48, x_51); +if (lean_is_scalar(x_49)) { + x_53 = lean_alloc_ctor(0, 1, 1); +} else { + x_53 = x_49; +} +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_47); +x_54 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_54, 0, x_44); +lean_ctor_set(x_54, 1, x_45); +lean_ctor_set(x_54, 2, x_46); +lean_ctor_set(x_54, 3, x_53); +x_55 = lean_st_ref_set(x_9, x_54, x_18); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_57 = x_55; +} else { + lean_dec_ref(x_55); + x_57 = lean_box(0); +} +x_58 = lean_box(0); +if (lean_is_scalar(x_57)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_57; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; +} +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_7, 0); +x_11 = l_Lean_checkTraceOption(x_10, x_1); +x_12 = lean_box(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_9); +return x_13; +} +} +lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_mkLambdaFVarsImp(x_1, x_2, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_ctor_get(x_11, 0); +lean_dec(x_13); +lean_ctor_set(x_11, 0, x_1); +return x_11; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_11, 1); +lean_inc(x_14); +lean_dec(x_11); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_14); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) +{ +return x_11; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_11); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("after etaArgs, "); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; uint8_t x_57; lean_object* x_58; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_71 = lean_st_ref_get(x_12, x_13); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_72, 3); +lean_inc(x_73); +lean_dec(x_72); +x_74 = lean_ctor_get_uint8(x_73, sizeof(void*)*1); +lean_dec(x_73); +if (x_74 == 0) +{ +lean_object* x_75; uint8_t x_76; +x_75 = lean_ctor_get(x_71, 1); +lean_inc(x_75); +lean_dec(x_71); +x_76 = 0; +x_57 = x_76; +x_58 = x_75; +goto block_70; +} +else +{ +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; +x_77 = lean_ctor_get(x_71, 1); +lean_inc(x_77); +lean_dec(x_71); +lean_inc(x_2); +x_78 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_77); +x_79 = lean_ctor_get(x_78, 0); +lean_inc(x_79); +x_80 = lean_ctor_get(x_78, 1); +lean_inc(x_80); +lean_dec(x_78); +x_81 = lean_unbox(x_79); +lean_dec(x_79); +x_57 = x_81; +x_58 = x_80; +goto block_70; +} +block_56: +{ +lean_object* x_15; +x_15 = lean_ctor_get(x_1, 4); +lean_inc(x_15); +lean_dec(x_1); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_3); +lean_dec(x_2); +x_16 = lean_box(0); +x_17 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14); +return x_17; +} +else +{ +lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_18 = lean_ctor_get(x_15, 0); +lean_inc(x_18); +lean_dec(x_15); +x_45 = lean_st_ref_get(x_12, x_14); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_46, 3); +lean_inc(x_47); +lean_dec(x_46); +x_48 = lean_ctor_get_uint8(x_47, sizeof(void*)*1); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; uint8_t x_50; +x_49 = lean_ctor_get(x_45, 1); +lean_inc(x_49); +lean_dec(x_45); +x_50 = 0; +x_19 = x_50; +x_20 = x_49; +goto block_44; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_51 = lean_ctor_get(x_45, 1); +lean_inc(x_51); +lean_dec(x_45); +lean_inc(x_2); +x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_51); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_unbox(x_53); +lean_dec(x_53); +x_19 = x_55; +x_20 = x_54; +goto block_44; +} +block_44: +{ +if (x_19 == 0) +{ +lean_object* x_21; +lean_dec(x_2); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_21 = l_Lean_Meta_isExprDefEqImp(x_18, x_3, x_9, x_10, x_11, x_12, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_box(0); +x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_4, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); +return x_24; +} +else +{ +uint8_t x_25; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +return x_21; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_21, 0); +x_27 = lean_ctor_get(x_21, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_21); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_inc(x_18); +x_29 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_29, 0, x_18); +x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; +x_31 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +x_32 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_33 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +x_34 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(x_2, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_36 = l_Lean_Meta_isExprDefEqImp(x_18, x_3, x_9, x_10, x_11, x_12, x_35); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_box(0); +x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_4, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); +return x_39; +} +else +{ +uint8_t x_40; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_4); +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) +{ +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_36, 0); +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_36); +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; +} +} +} +} +} +} +block_70: +{ +if (x_57 == 0) +{ +x_14 = x_58; +goto block_56; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +lean_inc(x_4); +x_59 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_59, 0, x_4); +x_60 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2; +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_59); +x_62 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +lean_inc(x_3); +x_64 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_64, 0, x_3); +x_65 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_67 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +lean_inc(x_2); +x_68 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(x_2, x_67, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_58); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_14 = x_69; +goto block_56; +} +} +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("finalize"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1; +x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1; +x_3 = lean_name_mk_string(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +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_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_ctor_get(x_12, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +x_47 = lean_st_ref_get(x_7, x_13); +x_48 = lean_ctor_get(x_47, 0); +lean_inc(x_48); +x_49 = lean_ctor_get(x_48, 3); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_ctor_get_uint8(x_49, sizeof(void*)*1); +lean_dec(x_49); +if (x_50 == 0) +{ +lean_object* x_51; +x_51 = lean_ctor_get(x_47, 1); +lean_inc(x_51); +lean_dec(x_47); +x_16 = x_51; +goto block_46; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = lean_ctor_get(x_47, 1); +lean_inc(x_52); +lean_dec(x_47); +x_53 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; +x_54 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(x_53, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_52); +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_unbox(x_55); +lean_dec(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_54, 1); +lean_inc(x_57); +lean_dec(x_54); +x_16 = x_57; +goto block_46; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_58 = lean_ctor_get(x_54, 1); +lean_inc(x_58); +lean_dec(x_54); +lean_inc(x_14); +x_59 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_59, 0, x_14); +x_60 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_53, x_59, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_58); +x_61 = lean_ctor_get(x_60, 1); +lean_inc(x_61); +lean_dec(x_60); +x_16 = x_61; +goto block_46; +} +} +block_46: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_17 = lean_ctor_get(x_6, 3); +lean_inc(x_17); +x_18 = lean_ctor_get(x_12, 6); +lean_inc(x_18); +x_19 = lean_array_get_size(x_18); +x_20 = lean_usize_of_nat(x_19); +lean_dec(x_19); +x_21 = 0; +x_22 = lean_box(0); +lean_inc(x_14); +x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(x_14, x_17, x_18, x_20, x_21, x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +lean_dec(x_18); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_ctor_get(x_12, 5); +lean_inc(x_26); +x_27 = l_Array_isEmpty___rarg(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +lean_dec(x_15); +lean_inc(x_4); +x_28 = l_Lean_Meta_mkLambdaFVarsImp(x_26, x_14, x_4, x_5, x_6, x_7, x_25); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_29); +x_31 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_29, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; +x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_12, x_34, x_32, x_29, x_24, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_33); +lean_dec(x_24); +return x_35; +} +else +{ +uint8_t x_36; +lean_dec(x_29); +lean_dec(x_24); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_36 = !lean_is_exclusive(x_31); +if (x_36 == 0) +{ +return x_31; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_31, 0); +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_31); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +uint8_t x_40; +lean_dec(x_24); +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_40 = !lean_is_exclusive(x_28); +if (x_40 == 0) +{ +return x_28; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_28, 0); +x_42 = lean_ctor_get(x_28, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_28); +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_object* x_45; +lean_dec(x_26); +x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; +x_45 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_12, x_44, x_15, x_14, x_24, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_25); +lean_dec(x_24); +return x_45; +} +} +} +} +lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_16 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_3); +return x_17; +} +} +lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_10; +} +} +lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_11; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_3); +lean_dec(x_2); +return x_11; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +lean_object* x_14; +x_14 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_6); +lean_dec(x_5); +return x_14; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_9; +} +} +lean_object* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11); +return x_12; +} +} +lean_object* l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___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) { +_start: +{ +lean_object* x_10; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_10 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l___private_Lean_Meta_InferType_0__Lean_Meta_isTypeFormerTypeImp(x_11, x_5, x_6, x_7, x_8, x_12); +return x_13; +} +else +{ +uint8_t x_14; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) +{ +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_10); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_apply_8(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13); +return x_14; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_11); +x_14 = 0; +x_15 = lean_box(0); +lean_inc(x_5); +x_16 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_13, x_14, x_15, x_5, x_6, x_7, x_8, x_12); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_17); +x_19 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; uint8_t x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); +lean_dec(x_19); +x_23 = lean_box(0); +x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(x_17, x_1, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +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; +x_25 = lean_ctor_get(x_19, 1); +lean_inc(x_25); +lean_dec(x_19); +x_26 = lean_st_ref_get(x_8, x_25); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_28 = lean_st_ref_take(x_2, x_27); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_32 = lean_ctor_get(x_29, 6); +x_33 = l_Lean_Expr_mvarId_x21(x_17); +x_34 = lean_array_push(x_32, x_33); +lean_ctor_set(x_29, 6, x_34); +x_35 = lean_st_ref_set(x_2, x_29, x_30); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_box(0); +x_38 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(x_17, x_1, x_37, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_36); +return x_38; +} +else +{ +uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_39 = lean_ctor_get_uint8(x_29, sizeof(void*)*8); +x_40 = lean_ctor_get(x_29, 0); +x_41 = lean_ctor_get(x_29, 1); +x_42 = lean_ctor_get(x_29, 2); +x_43 = lean_ctor_get(x_29, 3); +x_44 = lean_ctor_get_uint8(x_29, sizeof(void*)*8 + 1); +x_45 = lean_ctor_get(x_29, 4); +x_46 = lean_ctor_get(x_29, 5); +x_47 = lean_ctor_get(x_29, 6); +x_48 = lean_ctor_get(x_29, 7); +x_49 = lean_ctor_get_uint8(x_29, sizeof(void*)*8 + 2); +lean_inc(x_48); +lean_inc(x_47); +lean_inc(x_46); +lean_inc(x_45); +lean_inc(x_43); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_29); +x_50 = l_Lean_Expr_mvarId_x21(x_17); +x_51 = lean_array_push(x_47, x_50); +x_52 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_52, 0, x_40); +lean_ctor_set(x_52, 1, x_41); +lean_ctor_set(x_52, 2, x_42); +lean_ctor_set(x_52, 3, x_43); +lean_ctor_set(x_52, 4, x_45); +lean_ctor_set(x_52, 5, x_46); +lean_ctor_set(x_52, 6, x_51); +lean_ctor_set(x_52, 7, x_48); +lean_ctor_set_uint8(x_52, sizeof(void*)*8, x_39); +lean_ctor_set_uint8(x_52, sizeof(void*)*8 + 1, x_44); +lean_ctor_set_uint8(x_52, sizeof(void*)*8 + 2, x_49); +x_53 = lean_st_ref_set(x_2, x_52, x_30); +x_54 = lean_ctor_get(x_53, 1); +lean_inc(x_54); +lean_dec(x_53); +x_55 = lean_box(0); +x_56 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(x_17, x_1, x_55, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_54); +return x_56; +} +} +} +else +{ +uint8_t x_57; +lean_dec(x_17); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -7417,9 +11471,928 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); +x_57 = !lean_is_exclusive(x_19); +if (x_57 == 0) +{ +return x_19; +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_19, 0); +x_59 = lean_ctor_get(x_19, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_19); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; +} +} +} +} +lean_object* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_2); +lean_dec(x_2); +x_13 = l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__1(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_13; +} +} +lean_object* l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___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) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); return x_10; } } +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(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); +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: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; lean_object* x_5; +lean_dec(x_3); +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +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_processExplictArg_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_processExplictArg_match__1___rarg), 3, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (x_1 == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_dec(x_4); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_8; lean_object* x_9; +lean_dec(x_6); +lean_dec(x_5); +x_8 = lean_box(x_1); +x_9 = lean_apply_3(x_7, x_8, x_3, x_3); +return x_9; +} +else +{ +lean_object* x_10; +lean_dec(x_7); +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +if (lean_obj_tag(x_10) == 4) +{ +lean_object* x_11; lean_object* x_12; uint64_t x_13; lean_object* x_14; lean_object* x_15; +lean_dec(x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +x_13 = lean_ctor_get_uint64(x_10, sizeof(void*)*2); +lean_dec(x_10); +x_14 = lean_box_uint64(x_13); +x_15 = lean_apply_4(x_5, x_2, x_11, x_12, x_14); +return x_15; +} +else +{ +lean_object* x_16; +lean_dec(x_5); +x_16 = lean_apply_2(x_6, x_2, x_10); +return x_16; +} +} +} +else +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_17 = lean_ctor_get(x_2, 0); +lean_inc(x_17); +lean_dec(x_2); +x_18 = lean_apply_2(x_4, x_17, x_3); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_19 = lean_box(x_1); +x_20 = lean_apply_3(x_7, x_19, x_2, x_3); +return x_20; +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_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_processExplictArg_match__2___rarg___boxed), 7, 0); +return x_2; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___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) { +_start: +{ +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_1); +lean_dec(x_1); +x_9 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___rarg(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_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_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_object* x_7; +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_dec(x_1); +x_7 = lean_apply_2(x_2, x_5, x_6); +return x_7; +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__3(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_processExplictArg_match__3___rarg), 3, 0); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("invalid autoParam, argument must be a constant"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__2; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string("by"); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_instInhabitedSourceInfo___closed__1; +x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__4; +x_3 = lean_alloc_ctor(2, 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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_empty___closed__1; +x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__5; +x_3 = lean_array_push(x_1, x_2); +return x_3; +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_2, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_13, 2); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); +x_17 = lean_ctor_get_uint8(x_13, sizeof(void*)*8); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Expr_getOptParamDefault_x3f(x_18); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; +x_21 = l_Lean_Expr_getAutoParamTactic_x3f(x_18); +lean_dec(x_18); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_13, 3); +lean_inc(x_22); +lean_dec(x_13); +x_23 = l_List_isEmpty___rarg(x_22); +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); +return x_24; +} +else +{ +lean_object* x_25; +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_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) +{ +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_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_34; lean_object* x_35; +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); +lean_dec(x_2); +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_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__4(x_54, lean_box(0), x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); +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_55; +} +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_dec(x_61); +x_64 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; +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_331____closed__4; +x_71 = lean_array_push(x_70, x_69); +x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____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_11506____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_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); +lean_ctor_set(x_85, 0, x_84); +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); +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_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +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 +{ +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__4(x_99, lean_box(0), 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_100; +} +} +} +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_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); +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) +{ +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_108; +} +else +{ +lean_object* x_109; +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); +lean_dec(x_2); +return x_109; +} +} +} +else +{ +lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; +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); +lean_inc(x_111); +x_112 = lean_ctor_get(x_14, 1); +lean_inc(x_112); +lean_dec(x_14); +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); +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_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_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); +x_143 = lean_ctor_get(x_142, 1); +lean_inc(x_143); +lean_dec(x_142); +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_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); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +lean_dec(x_144); +x_146 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_145); +return x_146; +} +else +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +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_147 = lean_ctor_get(x_144, 0); +lean_inc(x_147); +x_148 = lean_ctor_get(x_144, 1); +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); +return x_150; +} +} +} +else +{ +uint8_t x_151; +lean_dec(x_112); +lean_dec(x_111); +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_151 = !lean_is_exclusive(x_113); +if (x_151 == 0) +{ +return x_113; +} +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; +} +} +} +} +} +lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processImplicitArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_get(x_2, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*8); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = 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_15); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +return x_18; +} +} +} lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextArgHole_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -9689,5245 +14662,6 @@ lean_dec(x_1); return x_9; } } -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_take(x_2, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = !lean_is_exclusive(x_13); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_16 = lean_ctor_get(x_13, 0); -x_17 = lean_ctor_get(x_13, 1); -lean_inc(x_1); -x_18 = l_Lean_mkApp(x_16, x_1); -x_19 = l_Lean_Expr_bindingBody_x21(x_17); -lean_dec(x_17); -x_20 = lean_expr_instantiate1(x_19, x_1); -lean_dec(x_1); -lean_dec(x_19); -lean_ctor_set(x_13, 1, x_20); -lean_ctor_set(x_13, 0, x_18); -x_21 = lean_st_ref_set(x_2, x_13, x_14); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) -{ -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -x_24 = lean_box(0); -lean_ctor_set(x_21, 0, x_24); -return x_21; -} -else -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_21, 1); -lean_inc(x_25); -lean_dec(x_21); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} -else -{ -uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_28 = lean_ctor_get_uint8(x_13, sizeof(void*)*9); -x_29 = lean_ctor_get(x_13, 0); -x_30 = lean_ctor_get(x_13, 1); -x_31 = lean_ctor_get(x_13, 2); -x_32 = lean_ctor_get(x_13, 3); -x_33 = lean_ctor_get_uint8(x_13, sizeof(void*)*9 + 1); -x_34 = lean_ctor_get(x_13, 4); -x_35 = lean_ctor_get(x_13, 5); -x_36 = lean_ctor_get(x_13, 6); -x_37 = lean_ctor_get(x_13, 7); -x_38 = lean_ctor_get(x_13, 8); -x_39 = lean_ctor_get_uint8(x_13, sizeof(void*)*9 + 2); -lean_inc(x_38); -lean_inc(x_37); -lean_inc(x_36); -lean_inc(x_35); -lean_inc(x_34); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_13); -lean_inc(x_1); -x_40 = l_Lean_mkApp(x_29, x_1); -x_41 = l_Lean_Expr_bindingBody_x21(x_30); -lean_dec(x_30); -x_42 = lean_expr_instantiate1(x_41, x_1); -lean_dec(x_1); -lean_dec(x_41); -x_43 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_43, 0, x_40); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_43, 2, x_31); -lean_ctor_set(x_43, 3, x_32); -lean_ctor_set(x_43, 4, x_34); -lean_ctor_set(x_43, 5, x_35); -lean_ctor_set(x_43, 6, x_36); -lean_ctor_set(x_43, 7, x_37); -lean_ctor_set(x_43, 8, x_38); -lean_ctor_set_uint8(x_43, sizeof(void*)*9, x_28); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 1, x_33); -lean_ctor_set_uint8(x_43, sizeof(void*)*9 + 2, x_39); -x_44 = lean_st_ref_set(x_2, x_43, x_14); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_46 = x_44; -} else { - lean_dec_ref(x_44); - x_46 = lean_box(0); -} -x_47 = lean_box(0); -if (lean_is_scalar(x_46)) { - x_48 = lean_alloc_ctor(0, 2, 0); -} else { - x_48 = x_46; -} -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_45); -return x_48; -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg___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_addNewArg(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); -return x_10; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg_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_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -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_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg_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_elabAndAddNewArg_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_get(x_2, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ctor_get(x_1, 0); -lean_inc(x_18); -lean_dec(x_1); -lean_inc(x_16); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_16); -x_20 = 1; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_21 = l_Lean_Elab_Term_elabTerm(x_18, x_19, x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -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_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_ctor_get(x_13, 0); -lean_inc(x_24); -lean_dec(x_13); -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_25 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ensureArgType(x_24, x_22, x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_23); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_25, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_25, 1); -lean_inc(x_27); -lean_dec(x_25); -x_28 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_26, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_27); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_28; -} -else -{ -uint8_t x_29; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_29 = !lean_is_exclusive(x_25); -if (x_29 == 0) -{ -return x_25; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_25, 0); -x_31 = lean_ctor_get(x_25, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_25); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; -} -} -} -else -{ -uint8_t x_33; -lean_dec(x_16); -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_33 = !lean_is_exclusive(x_21); -if (x_33 == 0) -{ -return x_21; -} -else -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_21, 0); -x_35 = lean_ctor_get(x_21, 1); -lean_inc(x_35); -lean_inc(x_34); -lean_dec(x_21); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; -} -} -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_15, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_15, 1); -lean_inc(x_38); -lean_dec(x_15); -x_39 = lean_ctor_get(x_1, 0); -lean_inc(x_39); -lean_dec(x_1); -x_40 = lean_ctor_get(x_13, 0); -lean_inc(x_40); -lean_dec(x_13); -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_41 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ensureArgType(x_40, x_39, x_37, x_3, x_4, x_5, x_6, x_7, x_8, x_38); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_42, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_43); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_44; -} -else -{ -uint8_t x_45; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_45 = !lean_is_exclusive(x_41); -if (x_45 == 0) -{ -return x_41; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_41, 0); -x_47 = lean_ctor_get(x_41, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_41); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg___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_elabAndAddNewArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1(lean_object* x_1, size_t x_2, size_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, lean_object* x_11) { -_start: -{ -uint8_t x_12; -x_12 = x_2 == x_3; -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_array_uget(x_1, x_2); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -x_14 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -x_18 = l_Lean_Expr_getOptParamDefault_x3f(x_16); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = l_Lean_Expr_getAutoParamTactic_x3f(x_16); -lean_dec(x_16); -if (lean_obj_tag(x_19) == 0) -{ -size_t x_20; size_t x_21; -lean_free_object(x_14); -x_20 = 1; -x_21 = x_2 + x_20; -x_2 = x_21; -x_11 = x_17; -goto _start; -} -else -{ -uint8_t x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_23 = 1; -x_24 = lean_box(x_23); -lean_ctor_set(x_14, 0, x_24); -return x_14; -} -} -else -{ -uint8_t x_25; lean_object* x_26; -lean_dec(x_18); -lean_dec(x_16); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_25 = 1; -x_26 = lean_box(x_25); -lean_ctor_set(x_14, 0, x_26); -return x_14; -} -} -else -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_14, 0); -x_28 = lean_ctor_get(x_14, 1); -lean_inc(x_28); -lean_inc(x_27); -lean_dec(x_14); -x_29 = l_Lean_Expr_getOptParamDefault_x3f(x_27); -if (lean_obj_tag(x_29) == 0) -{ -lean_object* x_30; -x_30 = l_Lean_Expr_getAutoParamTactic_x3f(x_27); -lean_dec(x_27); -if (lean_obj_tag(x_30) == 0) -{ -size_t x_31; size_t x_32; -x_31 = 1; -x_32 = x_2 + x_31; -x_2 = x_32; -x_11 = x_28; -goto _start; -} -else -{ -uint8_t x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_30); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_34 = 1; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_28); -return x_36; -} -} -else -{ -uint8_t x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_29); -lean_dec(x_27); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_37 = 1; -x_38 = lean_box(x_37); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_28); -return x_39; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_40 = !lean_is_exclusive(x_14); -if (x_40 == 0) -{ -return x_14; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_14, 0); -x_42 = lean_ctor_get(x_14, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_14); -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 -{ -uint8_t x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -x_44 = 0; -x_45 = lean_box(x_44); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_11); -return x_46; -} -} -} -lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = lean_apply_10(x_1, x_5, x_6, x_2, x_3, x_4, x_7, x_8, x_9, x_10, x_11); -return x_12; -} -} -lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; -x_11 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg___lambda__1), 11, 4); -lean_closure_set(x_11, 0, x_2); -lean_closure_set(x_11, 1, x_3); -lean_closure_set(x_11, 2, x_4); -lean_closure_set(x_11, 3, x_5); -x_12 = l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingImp___rarg(x_1, x_11, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_12) == 0) -{ -uint8_t x_13; -x_13 = !lean_is_exclusive(x_12); -if (x_13 == 0) -{ -return x_12; -} -else -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_12, 0); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_12); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; -} -} -else -{ -uint8_t x_17; -x_17 = !lean_is_exclusive(x_12); -if (x_17 == 0) -{ -return x_12; -} -else -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_12, 0); -x_19 = lean_ctor_get(x_12, 1); -lean_inc(x_19); -lean_inc(x_18); -lean_dec(x_12); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -return x_20; -} -} -} -} -lean_object* l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg), 10, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_11 = lean_array_get_size(x_1); -x_12 = lean_unsigned_to_nat(0u); -x_13 = lean_nat_dec_lt(x_12, x_11); -if (x_13 == 0) -{ -uint8_t x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_14 = 0; -x_15 = lean_box(x_14); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_10); -return x_16; -} -else -{ -uint8_t x_17; -x_17 = lean_nat_dec_le(x_11, x_11); -if (x_17 == 0) -{ -uint8_t x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_11); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_18 = 0; -x_19 = lean_box(x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_10); -return x_20; -} -else -{ -size_t x_21; size_t x_22; lean_object* x_23; -x_21 = 0; -x_22 = lean_usize_of_nat(x_11); -lean_dec(x_11); -x_23 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1(x_1, x_21, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_23; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1___boxed), 10, 0); -return x_1; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; -x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; -x_11 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_1, x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -return x_11; -} -} -lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -size_t x_12; size_t x_13; lean_object* x_14; -x_12 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_13 = lean_unbox_usize(x_3); -lean_dec(x_3); -x_14 = l_Array_anyMUnsafe_any___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -return x_14; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_11; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_fTypeHasOptAutoParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -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_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; -x_16 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_14, x_15, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13); -return x_16; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_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_getForallBody_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_match__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; uint8_t x_8; -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_nat_dec_eq(x_1, x_7); -if (x_8 == 0) -{ -lean_dec(x_5); -if (lean_obj_tag(x_3) == 7) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint64_t x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_6); -x_9 = lean_ctor_get(x_3, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_3, 1); -lean_inc(x_10); -x_11 = lean_ctor_get(x_3, 2); -lean_inc(x_11); -x_12 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); -x_13 = lean_box_uint64(x_12); -x_14 = lean_apply_7(x_4, x_1, x_2, x_3, x_9, x_10, x_11, x_13); -return x_14; -} -else -{ -lean_object* x_15; -lean_dec(x_4); -x_15 = lean_apply_3(x_6, x_1, x_2, x_3); -return x_15; -} -} -else -{ -lean_dec(x_1); -if (lean_obj_tag(x_2) == 0) -{ -lean_dec(x_6); -if (lean_obj_tag(x_3) == 7) -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint64_t x_19; lean_object* x_20; lean_object* x_21; -lean_dec(x_5); -x_16 = lean_ctor_get(x_3, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_3, 2); -lean_inc(x_18); -x_19 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); -x_20 = lean_box_uint64(x_19); -x_21 = lean_apply_7(x_4, x_7, x_2, x_3, x_16, x_17, x_18, x_20); -return x_21; -} -else -{ -lean_object* x_22; -lean_dec(x_4); -x_22 = lean_apply_1(x_5, x_3); -return x_22; -} -} -else -{ -lean_dec(x_5); -if (lean_obj_tag(x_3) == 7) -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint64_t x_26; lean_object* x_27; lean_object* x_28; -lean_dec(x_6); -x_23 = lean_ctor_get(x_3, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_3, 1); -lean_inc(x_24); -x_25 = lean_ctor_get(x_3, 2); -lean_inc(x_25); -x_26 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); -x_27 = lean_box_uint64(x_26); -x_28 = lean_apply_7(x_4, x_7, x_2, x_3, x_23, x_24, x_25, x_27); -return x_28; -} -else -{ -lean_object* x_29; -lean_dec(x_4); -x_29 = lean_apply_3(x_6, x_7, x_2, x_3); -return x_29; -} -} -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody_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_getForallBody_match__2___rarg), 6, 0); -return x_2; -} -} -uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; uint8_t x_4; -x_3 = lean_ctor_get(x_2, 1); -x_4 = lean_name_eq(x_3, x_1); -return x_4; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_nat_dec_eq(x_1, x_4); -if (x_5 == 0) -{ -if (lean_obj_tag(x_3) == 7) -{ -lean_object* x_6; lean_object* x_7; lean_object* x_8; uint64_t x_9; lean_object* x_10; lean_object* x_11; -x_6 = lean_ctor_get(x_3, 0); -lean_inc(x_6); -x_7 = lean_ctor_get(x_3, 1); -lean_inc(x_7); -x_8 = lean_ctor_get(x_3, 2); -lean_inc(x_8); -x_9 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); -lean_inc(x_6); -x_10 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed), 2, 1); -lean_closure_set(x_10, 0, x_6); -lean_inc(x_2); -x_11 = l_List_find_x3f___rarg(x_10, x_2); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; uint8_t x_13; -lean_dec(x_6); -x_12 = (uint8_t)((x_9 << 24) >> 61); -x_13 = l_Lean_BinderInfo_isExplicit(x_12); -if (x_13 == 0) -{ -lean_dec(x_7); -lean_dec(x_3); -x_3 = x_8; -goto _start; -} -else -{ -uint8_t x_15; -x_15 = lean_nat_dec_lt(x_4, x_1); -if (x_15 == 0) -{ -uint8_t x_16; -x_16 = l_Lean_Expr_isAutoParam(x_7); -if (x_16 == 0) -{ -uint8_t x_17; -x_17 = l_Lean_Expr_isOptParam(x_7); -lean_dec(x_7); -if (x_17 == 0) -{ -lean_object* x_18; -lean_dec(x_8); -lean_dec(x_2); -lean_dec(x_1); -x_18 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_18, 0, x_3); -return x_18; -} -else -{ -lean_dec(x_3); -x_3 = x_8; -goto _start; -} -} -else -{ -lean_dec(x_7); -lean_dec(x_3); -x_3 = x_8; -goto _start; -} -} -else -{ -lean_object* x_21; lean_object* x_22; -lean_dec(x_7); -lean_dec(x_3); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_sub(x_1, x_21); -lean_dec(x_1); -x_1 = x_22; -x_3 = x_8; -goto _start; -} -} -} -else -{ -lean_object* x_24; -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_3); -x_24 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_2, x_6); -lean_dec(x_6); -x_2 = x_24; -x_3 = x_8; -goto _start; -} -} -else -{ -lean_object* x_26; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_26 = lean_box(0); -return x_26; -} -} -else -{ -lean_dec(x_1); -if (lean_obj_tag(x_2) == 0) -{ -if (lean_obj_tag(x_3) == 7) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint64_t x_30; lean_object* x_31; lean_object* x_32; -x_27 = lean_ctor_get(x_3, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_3, 1); -lean_inc(x_28); -x_29 = lean_ctor_get(x_3, 2); -lean_inc(x_29); -x_30 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); -lean_inc(x_27); -x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed), 2, 1); -lean_closure_set(x_31, 0, x_27); -x_32 = l_List_find_x3f___rarg(x_31, x_2); -if (lean_obj_tag(x_32) == 0) -{ -uint8_t x_33; uint8_t x_34; -lean_dec(x_27); -x_33 = (uint8_t)((x_30 << 24) >> 61); -x_34 = l_Lean_BinderInfo_isExplicit(x_33); -if (x_34 == 0) -{ -lean_dec(x_28); -lean_dec(x_3); -x_1 = x_4; -x_3 = x_29; -goto _start; -} -else -{ -uint8_t x_36; -x_36 = l_Lean_Expr_isAutoParam(x_28); -if (x_36 == 0) -{ -uint8_t x_37; -x_37 = l_Lean_Expr_isOptParam(x_28); -lean_dec(x_28); -if (x_37 == 0) -{ -lean_object* x_38; -lean_dec(x_29); -x_38 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_38, 0, x_3); -return x_38; -} -else -{ -lean_dec(x_3); -x_1 = x_4; -x_3 = x_29; -goto _start; -} -} -else -{ -lean_dec(x_28); -lean_dec(x_3); -x_1 = x_4; -x_3 = x_29; -goto _start; -} -} -} -else -{ -lean_object* x_41; -lean_dec(x_32); -lean_dec(x_28); -lean_dec(x_3); -x_41 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_2, x_27); -lean_dec(x_27); -x_1 = x_4; -x_2 = x_41; -x_3 = x_29; -goto _start; -} -} -else -{ -lean_object* x_43; -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, x_3); -return x_43; -} -} -else -{ -if (lean_obj_tag(x_3) == 7) -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint64_t x_47; lean_object* x_48; lean_object* x_49; -x_44 = lean_ctor_get(x_3, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_3, 1); -lean_inc(x_45); -x_46 = lean_ctor_get(x_3, 2); -lean_inc(x_46); -x_47 = lean_ctor_get_uint64(x_3, sizeof(void*)*3); -lean_inc(x_44); -x_48 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed), 2, 1); -lean_closure_set(x_48, 0, x_44); -lean_inc(x_2); -x_49 = l_List_find_x3f___rarg(x_48, x_2); -if (lean_obj_tag(x_49) == 0) -{ -uint8_t x_50; uint8_t x_51; -lean_dec(x_44); -x_50 = (uint8_t)((x_47 << 24) >> 61); -x_51 = l_Lean_BinderInfo_isExplicit(x_50); -if (x_51 == 0) -{ -lean_dec(x_45); -lean_dec(x_3); -x_1 = x_4; -x_3 = x_46; -goto _start; -} -else -{ -uint8_t x_53; -x_53 = l_Lean_Expr_isAutoParam(x_45); -if (x_53 == 0) -{ -uint8_t x_54; -x_54 = l_Lean_Expr_isOptParam(x_45); -lean_dec(x_45); -if (x_54 == 0) -{ -lean_object* x_55; -lean_dec(x_46); -lean_dec(x_2); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_3); -return x_55; -} -else -{ -lean_dec(x_3); -x_1 = x_4; -x_3 = x_46; -goto _start; -} -} -else -{ -lean_dec(x_45); -lean_dec(x_3); -x_1 = x_4; -x_3 = x_46; -goto _start; -} -} -} -else -{ -lean_object* x_58; -lean_dec(x_49); -lean_dec(x_45); -lean_dec(x_3); -x_58 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArgCore(x_2, x_44); -lean_dec(x_44); -x_1 = x_4; -x_2 = x_58; -x_3 = x_46; -goto _start; -} -} -else -{ -lean_object* x_60; -lean_dec(x_3); -lean_dec(x_2); -x_60 = lean_box(0); -return x_60; -} -} -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_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_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_propagateExpectedType_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_propagateExpectedType_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType_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_propagateExpectedType_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_propagateExpectedType_match__2___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; lean_object* x_5; -x_4 = lean_ctor_get(x_1, 8); -lean_inc(x_4); -lean_dec(x_1); -lean_inc(x_4); -x_5 = lean_alloc_closure((void*)(l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2___boxed), 2, 1); -lean_closure_set(x_5, 0, x_4); -switch (lean_obj_tag(x_2)) { -case 2: -{ -lean_dec(x_5); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_6; uint8_t x_7; -x_6 = lean_ctor_get(x_2, 0); -lean_inc(x_6); -lean_dec(x_2); -x_7 = l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(x_4, x_6); -lean_dec(x_4); -if (x_7 == 0) -{ -lean_dec(x_6); -return x_3; -} -else -{ -lean_object* x_8; -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_6); -return x_8; -} -} -else -{ -lean_dec(x_4); -lean_dec(x_2); -lean_inc(x_3); -return x_3; -} -} -case 5: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_4); -x_9 = lean_ctor_get(x_2, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_2, 1); -lean_inc(x_10); -lean_dec(x_2); -lean_inc(x_5); -x_11 = l_Lean_FindMVar_visit(x_5, x_9, x_3); -x_12 = l_Lean_FindMVar_visit(x_5, x_10, x_11); -lean_dec(x_11); -return x_12; -} -case 6: -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -lean_dec(x_4); -x_13 = lean_ctor_get(x_2, 1); -lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 2); -lean_inc(x_14); -lean_dec(x_2); -lean_inc(x_5); -x_15 = l_Lean_FindMVar_visit(x_5, x_13, x_3); -x_16 = l_Lean_FindMVar_visit(x_5, x_14, x_15); -lean_dec(x_15); -return x_16; -} -case 7: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_4); -x_17 = lean_ctor_get(x_2, 1); -lean_inc(x_17); -x_18 = lean_ctor_get(x_2, 2); -lean_inc(x_18); -lean_dec(x_2); -lean_inc(x_5); -x_19 = l_Lean_FindMVar_visit(x_5, x_17, x_3); -x_20 = l_Lean_FindMVar_visit(x_5, x_18, x_19); -lean_dec(x_19); -return x_20; -} -case 8: -{ -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_dec(x_4); -x_21 = lean_ctor_get(x_2, 1); -lean_inc(x_21); -x_22 = lean_ctor_get(x_2, 2); -lean_inc(x_22); -x_23 = lean_ctor_get(x_2, 3); -lean_inc(x_23); -lean_dec(x_2); -lean_inc(x_5); -x_24 = l_Lean_FindMVar_visit(x_5, x_21, x_3); -lean_inc(x_5); -x_25 = l_Lean_FindMVar_visit(x_5, x_22, x_24); -lean_dec(x_24); -x_26 = l_Lean_FindMVar_visit(x_5, x_23, x_25); -lean_dec(x_25); -return x_26; -} -case 10: -{ -lean_object* x_27; lean_object* x_28; -lean_dec(x_4); -x_27 = lean_ctor_get(x_2, 1); -lean_inc(x_27); -lean_dec(x_2); -x_28 = l_Lean_FindMVar_visit(x_5, x_27, x_3); -return x_28; -} -case 11: -{ -lean_object* x_29; lean_object* x_30; -lean_dec(x_4); -x_29 = lean_ctor_get(x_2, 2); -lean_inc(x_29); -lean_dec(x_2); -x_30 = l_Lean_FindMVar_visit(x_5, x_29, x_3); -return x_30; -} -default: -{ -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_inc(x_3); -return x_3; -} -} -} -} -uint8_t l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___lambda__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; -x_3 = l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(x_1, x_2); -if (x_3 == 0) -{ -uint8_t x_4; -x_4 = 1; -return x_4; -} -else -{ -uint8_t x_5; -x_5 = 0; -return x_5; -} -} -} -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -lean_inc(x_1); -x_4 = lean_alloc_closure((void*)(l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___lambda__1___boxed), 2, 1); -lean_closure_set(x_4, 0, x_1); -switch (lean_obj_tag(x_2)) { -case 2: -{ -lean_dec(x_4); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_5; uint8_t x_6; -x_5 = lean_ctor_get(x_2, 0); -lean_inc(x_5); -lean_dec(x_2); -x_6 = l_Array_contains___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2(x_1, x_5); -lean_dec(x_1); -if (x_6 == 0) -{ -lean_object* x_7; -x_7 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_7, 0, x_5); -return x_7; -} -else -{ -lean_dec(x_5); -return x_3; -} -} -else -{ -lean_dec(x_2); -lean_dec(x_1); -lean_inc(x_3); -return x_3; -} -} -case 5: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -lean_dec(x_1); -x_8 = lean_ctor_get(x_2, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_2, 1); -lean_inc(x_9); -lean_dec(x_2); -lean_inc(x_4); -x_10 = l_Lean_FindMVar_visit(x_4, x_8, x_3); -x_11 = l_Lean_FindMVar_visit(x_4, x_9, x_10); -lean_dec(x_10); -return x_11; -} -case 6: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_1); -x_12 = lean_ctor_get(x_2, 1); -lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 2); -lean_inc(x_13); -lean_dec(x_2); -lean_inc(x_4); -x_14 = l_Lean_FindMVar_visit(x_4, x_12, x_3); -x_15 = l_Lean_FindMVar_visit(x_4, x_13, x_14); -lean_dec(x_14); -return x_15; -} -case 7: -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -lean_dec(x_1); -x_16 = lean_ctor_get(x_2, 1); -lean_inc(x_16); -x_17 = lean_ctor_get(x_2, 2); -lean_inc(x_17); -lean_dec(x_2); -lean_inc(x_4); -x_18 = l_Lean_FindMVar_visit(x_4, x_16, x_3); -x_19 = l_Lean_FindMVar_visit(x_4, x_17, x_18); -lean_dec(x_18); -return x_19; -} -case 8: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -lean_dec(x_1); -x_20 = lean_ctor_get(x_2, 1); -lean_inc(x_20); -x_21 = lean_ctor_get(x_2, 2); -lean_inc(x_21); -x_22 = lean_ctor_get(x_2, 3); -lean_inc(x_22); -lean_dec(x_2); -lean_inc(x_4); -x_23 = l_Lean_FindMVar_visit(x_4, x_20, x_3); -lean_inc(x_4); -x_24 = l_Lean_FindMVar_visit(x_4, x_21, x_23); -lean_dec(x_23); -x_25 = l_Lean_FindMVar_visit(x_4, x_22, x_24); -lean_dec(x_24); -return x_25; -} -case 10: -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_1); -x_26 = lean_ctor_get(x_2, 1); -lean_inc(x_26); -lean_dec(x_2); -x_27 = l_Lean_FindMVar_visit(x_4, x_26, x_3); -return x_27; -} -case 11: -{ -lean_object* x_28; lean_object* x_29; -lean_dec(x_1); -x_28 = lean_ctor_get(x_2, 2); -lean_inc(x_28); -lean_dec(x_2); -x_29 = l_Lean_FindMVar_visit(x_4, x_28, x_3); -return x_29; -} -default: -{ -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -lean_inc(x_3); -return x_3; -} -} -} -} -lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_isExprDefEqImp(x_1, x_2, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_11 = lean_ctor_get(x_8, 3); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_st_ref_take(x_9, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_16, 3); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_23, 0, x_1); -lean_ctor_set(x_23, 1, x_13); -lean_inc(x_11); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_11); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Std_PersistentArray_push___rarg(x_22, x_24); -lean_ctor_set(x_17, 0, x_25); -x_26 = lean_st_ref_set(x_9, x_16, x_18); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_26, 0); -lean_dec(x_28); -x_29 = lean_box(0); -lean_ctor_set(x_26, 0, x_29); -return x_26; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_26, 1); -lean_inc(x_30); -lean_dec(x_26); -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -else -{ -uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_33 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_34 = lean_ctor_get(x_17, 0); -lean_inc(x_34); -lean_dec(x_17); -x_35 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_35, 0, x_1); -lean_ctor_set(x_35, 1, x_13); -lean_inc(x_11); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_11); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Std_PersistentArray_push___rarg(x_34, x_36); -x_38 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_33); -lean_ctor_set(x_16, 3, x_38); -x_39 = lean_st_ref_set(x_9, x_16, x_18); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_41 = x_39; -} else { - lean_dec_ref(x_39); - x_41 = lean_box(0); -} -x_42 = lean_box(0); -if (lean_is_scalar(x_41)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_41; -} -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_44 = lean_ctor_get(x_16, 0); -x_45 = lean_ctor_get(x_16, 1); -x_46 = lean_ctor_get(x_16, 2); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_16); -x_47 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_48 = lean_ctor_get(x_17, 0); -lean_inc(x_48); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_49 = x_17; -} else { - lean_dec_ref(x_17); - x_49 = lean_box(0); -} -x_50 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_50, 0, x_1); -lean_ctor_set(x_50, 1, x_13); -lean_inc(x_11); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_11); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Std_PersistentArray_push___rarg(x_48, x_51); -if (lean_is_scalar(x_49)) { - x_53 = lean_alloc_ctor(0, 1, 1); -} else { - x_53 = x_49; -} -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_47); -x_54 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_54, 0, x_44); -lean_ctor_set(x_54, 1, x_45); -lean_ctor_set(x_54, 2, x_46); -lean_ctor_set(x_54, 3, x_53); -x_55 = lean_st_ref_set(x_9, x_54, x_18); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -x_58 = lean_box(0); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_7, 0); -x_11 = l_Lean_checkTraceOption(x_10, x_1); -x_12 = lean_box(x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_9); -return x_13; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__1; -x_2 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("propagateExpectedType"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1; -x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__2; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("etaArgs.size: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__4; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", numRemainingArgs: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__6; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string(", fType: "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__8; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; uint8_t x_17; -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_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -if (lean_is_exclusive(x_11)) { - lean_ctor_release(x_11, 0); - lean_ctor_release(x_11, 1); - x_14 = x_11; -} else { - lean_dec_ref(x_11); - x_14 = lean_box(0); -} -x_15 = lean_ctor_get_uint8(x_12, sizeof(void*)*9); -x_16 = lean_ctor_get(x_12, 5); -lean_inc(x_16); -x_17 = l_Array_isEmpty___rarg(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_16); -lean_dec(x_12); -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_18 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_19 = lean_alloc_ctor(0, 2, 0); -} else { - x_19 = x_14; -} -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_13); -return x_19; -} -else -{ -if (x_15 == 0) -{ -uint8_t x_20; -x_20 = lean_ctor_get_uint8(x_12, sizeof(void*)*9 + 2); -if (x_20 == 0) -{ -lean_object* x_21; uint8_t x_22; -x_21 = lean_ctor_get(x_12, 8); -lean_inc(x_21); -x_22 = l_Array_isEmpty___rarg(x_21); -if (x_22 == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_12, 4); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; -lean_dec(x_21); -lean_dec(x_16); -lean_dec(x_12); -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_24 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_25 = lean_alloc_ctor(0, 2, 0); -} else { - x_25 = x_14; -} -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_13); -return x_25; -} -else -{ -lean_object* x_26; uint8_t x_27; -x_26 = lean_ctor_get(x_23, 0); -lean_inc(x_26); -lean_dec(x_23); -x_27 = l_Lean_Expr_isProp(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_203; lean_object* x_204; lean_object* x_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; -x_28 = lean_ctor_get(x_12, 2); -lean_inc(x_28); -x_29 = lean_unsigned_to_nat(0u); -x_30 = l_List_lengthAux___rarg(x_28, x_29); -lean_dec(x_28); -x_226 = lean_st_ref_get(x_7, x_13); -x_227 = lean_ctor_get(x_226, 0); -lean_inc(x_227); -x_228 = lean_ctor_get(x_227, 3); -lean_inc(x_228); -lean_dec(x_227); -x_229 = lean_ctor_get_uint8(x_228, sizeof(void*)*1); -lean_dec(x_228); -if (x_229 == 0) -{ -lean_object* x_230; uint8_t x_231; -x_230 = lean_ctor_get(x_226, 1); -lean_inc(x_230); -lean_dec(x_226); -x_231 = 0; -x_203 = x_231; -x_204 = x_230; -goto block_225; -} -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; uint8_t x_237; -x_232 = lean_ctor_get(x_226, 1); -lean_inc(x_232); -lean_dec(x_226); -x_233 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; -x_234 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__5(x_233, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_232); -x_235 = lean_ctor_get(x_234, 0); -lean_inc(x_235); -x_236 = lean_ctor_get(x_234, 1); -lean_inc(x_236); -lean_dec(x_234); -x_237 = lean_unbox(x_235); -lean_dec(x_235); -x_203 = x_237; -x_204 = x_236; -goto block_225; -} -block_202: -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_12, 3); -lean_inc(x_32); -x_33 = lean_ctor_get(x_12, 1); -lean_inc(x_33); -x_34 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getForallBody(x_30, x_32, x_33); -if (lean_obj_tag(x_34) == 0) -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_26); -lean_dec(x_21); -lean_dec(x_12); -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_35 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_36 = lean_alloc_ctor(0, 2, 0); -} else { - x_36 = x_14; -} -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_31); -return x_36; -} -else -{ -lean_object* x_37; uint8_t x_38; -x_37 = lean_ctor_get(x_34, 0); -lean_inc(x_37); -lean_dec(x_34); -x_38 = l_Lean_Expr_hasLooseBVars(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_box(0); -lean_inc(x_37); -x_40 = l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_12, x_37, x_39); -if (lean_obj_tag(x_40) == 0) -{ -lean_object* x_41; lean_object* x_42; -lean_dec(x_37); -lean_dec(x_26); -lean_dec(x_21); -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_41 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_42 = lean_alloc_ctor(0, 2, 0); -} else { - x_42 = x_14; -} -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_31); -return x_42; -} -else -{ -lean_object* x_43; -lean_dec(x_40); -lean_inc(x_37); -x_43 = l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_21, x_37, x_39); -if (lean_obj_tag(x_43) == 0) -{ -lean_object* x_44; lean_object* x_45; -lean_dec(x_14); -x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___closed__1; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -lean_inc(x_37); -x_45 = l_Lean_Meta_forallTelescopeReducing___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_hasOptAutoParams___spec__2___rarg(x_37, x_44, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_31); -if (lean_obj_tag(x_45) == 0) -{ -uint8_t x_46; -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_97; lean_object* x_98; uint8_t x_111; -x_47 = lean_ctor_get(x_45, 0); -x_48 = lean_ctor_get(x_45, 1); -x_111 = lean_unbox(x_47); -lean_dec(x_47); -if (x_111 == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -lean_free_object(x_45); -x_112 = lean_st_ref_get(x_7, x_48); -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_113, 3); -lean_inc(x_114); -lean_dec(x_113); -x_115 = lean_ctor_get_uint8(x_114, sizeof(void*)*1); -lean_dec(x_114); -if (x_115 == 0) -{ -lean_object* x_116; uint8_t x_117; -x_116 = lean_ctor_get(x_112, 1); -lean_inc(x_116); -lean_dec(x_112); -x_117 = 0; -x_97 = x_117; -x_98 = x_116; -goto block_110; -} -else -{ -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; -x_118 = lean_ctor_get(x_112, 1); -lean_inc(x_118); -lean_dec(x_112); -x_119 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; -x_120 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__5(x_119, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_118); -x_121 = lean_ctor_get(x_120, 0); -lean_inc(x_121); -x_122 = lean_ctor_get(x_120, 1); -lean_inc(x_122); -lean_dec(x_120); -x_123 = lean_unbox(x_121); -lean_dec(x_121); -x_97 = x_123; -x_98 = x_122; -goto block_110; -} -} -else -{ -lean_object* x_124; -lean_dec(x_37); -lean_dec(x_26); -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_124 = lean_box(0); -lean_ctor_set(x_45, 0, x_124); -return x_45; -} -block_96: -{ -lean_object* x_50; -lean_inc(x_7); -x_50 = l_Lean_Meta_isExprDefEqImp(x_26, x_37, x_4, x_5, x_6, x_7, x_49); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; uint8_t x_52; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_unbox(x_51); -lean_dec(x_51); -if (x_52 == 0) -{ -uint8_t x_53; -lean_dec(x_7); -lean_dec(x_1); -x_53 = !lean_is_exclusive(x_50); -if (x_53 == 0) -{ -lean_object* x_54; lean_object* x_55; -x_54 = lean_ctor_get(x_50, 0); -lean_dec(x_54); -x_55 = lean_box(0); -lean_ctor_set(x_50, 0, x_55); -return x_50; -} -else -{ -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_50, 1); -lean_inc(x_56); -lean_dec(x_50); -x_57 = lean_box(0); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -return x_58; -} -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; -x_59 = lean_ctor_get(x_50, 1); -lean_inc(x_59); -lean_dec(x_50); -x_60 = lean_st_ref_get(x_7, x_59); -lean_dec(x_7); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_st_ref_take(x_1, x_61); -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); -lean_inc(x_64); -lean_dec(x_62); -x_65 = !lean_is_exclusive(x_63); -if (x_65 == 0) -{ -uint8_t x_66; lean_object* x_67; uint8_t x_68; -x_66 = 1; -lean_ctor_set_uint8(x_63, sizeof(void*)*9 + 2, x_66); -x_67 = lean_st_ref_set(x_1, x_63, x_64); -lean_dec(x_1); -x_68 = !lean_is_exclusive(x_67); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_67, 0); -lean_dec(x_69); -x_70 = lean_box(0); -lean_ctor_set(x_67, 0, x_70); -return x_67; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_67, 1); -lean_inc(x_71); -lean_dec(x_67); -x_72 = lean_box(0); -x_73 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_73, 0, x_72); -lean_ctor_set(x_73, 1, x_71); -return x_73; -} -} -else -{ -uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t 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; -x_74 = lean_ctor_get_uint8(x_63, sizeof(void*)*9); -x_75 = lean_ctor_get(x_63, 0); -x_76 = lean_ctor_get(x_63, 1); -x_77 = lean_ctor_get(x_63, 2); -x_78 = lean_ctor_get(x_63, 3); -x_79 = lean_ctor_get_uint8(x_63, sizeof(void*)*9 + 1); -x_80 = lean_ctor_get(x_63, 4); -x_81 = lean_ctor_get(x_63, 5); -x_82 = lean_ctor_get(x_63, 6); -x_83 = lean_ctor_get(x_63, 7); -x_84 = lean_ctor_get(x_63, 8); -lean_inc(x_84); -lean_inc(x_83); -lean_inc(x_82); -lean_inc(x_81); -lean_inc(x_80); -lean_inc(x_78); -lean_inc(x_77); -lean_inc(x_76); -lean_inc(x_75); -lean_dec(x_63); -x_85 = 1; -x_86 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_86, 0, x_75); -lean_ctor_set(x_86, 1, x_76); -lean_ctor_set(x_86, 2, x_77); -lean_ctor_set(x_86, 3, x_78); -lean_ctor_set(x_86, 4, x_80); -lean_ctor_set(x_86, 5, x_81); -lean_ctor_set(x_86, 6, x_82); -lean_ctor_set(x_86, 7, x_83); -lean_ctor_set(x_86, 8, x_84); -lean_ctor_set_uint8(x_86, sizeof(void*)*9, x_74); -lean_ctor_set_uint8(x_86, sizeof(void*)*9 + 1, x_79); -lean_ctor_set_uint8(x_86, sizeof(void*)*9 + 2, x_85); -x_87 = lean_st_ref_set(x_1, x_86, x_64); -lean_dec(x_1); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -if (lean_is_exclusive(x_87)) { - lean_ctor_release(x_87, 0); - lean_ctor_release(x_87, 1); - x_89 = x_87; -} else { - lean_dec_ref(x_87); - x_89 = lean_box(0); -} -x_90 = lean_box(0); -if (lean_is_scalar(x_89)) { - x_91 = lean_alloc_ctor(0, 2, 0); -} else { - x_91 = x_89; -} -lean_ctor_set(x_91, 0, x_90); -lean_ctor_set(x_91, 1, x_88); -return x_91; -} -} -} -else -{ -uint8_t x_92; -lean_dec(x_7); -lean_dec(x_1); -x_92 = !lean_is_exclusive(x_50); -if (x_92 == 0) -{ -return x_50; -} -else -{ -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_50, 0); -x_94 = lean_ctor_get(x_50, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_50); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; -} -} -} -block_110: -{ -if (x_97 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -x_49 = x_98; -goto block_96; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -lean_inc(x_26); -x_99 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_99, 0, x_26); -x_100 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_101 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_99); -x_102 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_103 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_103, 0, x_101); -lean_ctor_set(x_103, 1, x_102); -lean_inc(x_37); -x_104 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_104, 0, x_37); -x_105 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_100); -x_107 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; -x_108 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(x_107, x_106, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_98); -lean_dec(x_3); -lean_dec(x_2); -x_109 = lean_ctor_get(x_108, 1); -lean_inc(x_109); -lean_dec(x_108); -x_49 = x_109; -goto block_96; -} -} -} -else -{ -lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_165; lean_object* x_166; uint8_t x_179; -x_125 = lean_ctor_get(x_45, 0); -x_126 = lean_ctor_get(x_45, 1); -lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_45); -x_179 = lean_unbox(x_125); -lean_dec(x_125); -if (x_179 == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; uint8_t x_183; -x_180 = lean_st_ref_get(x_7, x_126); -x_181 = lean_ctor_get(x_180, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_181, 3); -lean_inc(x_182); -lean_dec(x_181); -x_183 = lean_ctor_get_uint8(x_182, sizeof(void*)*1); -lean_dec(x_182); -if (x_183 == 0) -{ -lean_object* x_184; uint8_t x_185; -x_184 = lean_ctor_get(x_180, 1); -lean_inc(x_184); -lean_dec(x_180); -x_185 = 0; -x_165 = x_185; -x_166 = x_184; -goto block_178; -} -else -{ -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; uint8_t x_191; -x_186 = lean_ctor_get(x_180, 1); -lean_inc(x_186); -lean_dec(x_180); -x_187 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; -x_188 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__5(x_187, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_186); -x_189 = lean_ctor_get(x_188, 0); -lean_inc(x_189); -x_190 = lean_ctor_get(x_188, 1); -lean_inc(x_190); -lean_dec(x_188); -x_191 = lean_unbox(x_189); -lean_dec(x_189); -x_165 = x_191; -x_166 = x_190; -goto block_178; -} -} -else -{ -lean_object* x_192; lean_object* x_193; -lean_dec(x_37); -lean_dec(x_26); -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_192 = lean_box(0); -x_193 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_193, 0, x_192); -lean_ctor_set(x_193, 1, x_126); -return x_193; -} -block_164: -{ -lean_object* x_128; -lean_inc(x_7); -x_128 = l_Lean_Meta_isExprDefEqImp(x_26, x_37, x_4, x_5, x_6, x_7, x_127); -if (lean_obj_tag(x_128) == 0) -{ -lean_object* x_129; uint8_t x_130; -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_unbox(x_129); -lean_dec(x_129); -if (x_130 == 0) -{ -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -lean_dec(x_7); -lean_dec(x_1); -x_131 = lean_ctor_get(x_128, 1); -lean_inc(x_131); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_132 = x_128; -} else { - lean_dec_ref(x_128); - x_132 = lean_box(0); -} -x_133 = lean_box(0); -if (lean_is_scalar(x_132)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { - x_134 = x_132; -} -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_131); -return x_134; -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t 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; uint8_t 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; -x_135 = lean_ctor_get(x_128, 1); -lean_inc(x_135); -lean_dec(x_128); -x_136 = lean_st_ref_get(x_7, x_135); -lean_dec(x_7); -x_137 = lean_ctor_get(x_136, 1); -lean_inc(x_137); -lean_dec(x_136); -x_138 = lean_st_ref_take(x_1, x_137); -x_139 = lean_ctor_get(x_138, 0); -lean_inc(x_139); -x_140 = lean_ctor_get(x_138, 1); -lean_inc(x_140); -lean_dec(x_138); -x_141 = lean_ctor_get_uint8(x_139, sizeof(void*)*9); -x_142 = lean_ctor_get(x_139, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_139, 1); -lean_inc(x_143); -x_144 = lean_ctor_get(x_139, 2); -lean_inc(x_144); -x_145 = lean_ctor_get(x_139, 3); -lean_inc(x_145); -x_146 = lean_ctor_get_uint8(x_139, sizeof(void*)*9 + 1); -x_147 = lean_ctor_get(x_139, 4); -lean_inc(x_147); -x_148 = lean_ctor_get(x_139, 5); -lean_inc(x_148); -x_149 = lean_ctor_get(x_139, 6); -lean_inc(x_149); -x_150 = lean_ctor_get(x_139, 7); -lean_inc(x_150); -x_151 = lean_ctor_get(x_139, 8); -lean_inc(x_151); -if (lean_is_exclusive(x_139)) { - lean_ctor_release(x_139, 0); - lean_ctor_release(x_139, 1); - lean_ctor_release(x_139, 2); - lean_ctor_release(x_139, 3); - lean_ctor_release(x_139, 4); - lean_ctor_release(x_139, 5); - lean_ctor_release(x_139, 6); - lean_ctor_release(x_139, 7); - lean_ctor_release(x_139, 8); - x_152 = x_139; -} else { - lean_dec_ref(x_139); - x_152 = lean_box(0); -} -x_153 = 1; -if (lean_is_scalar(x_152)) { - x_154 = lean_alloc_ctor(0, 9, 3); -} else { - x_154 = x_152; -} -lean_ctor_set(x_154, 0, x_142); -lean_ctor_set(x_154, 1, x_143); -lean_ctor_set(x_154, 2, x_144); -lean_ctor_set(x_154, 3, x_145); -lean_ctor_set(x_154, 4, x_147); -lean_ctor_set(x_154, 5, x_148); -lean_ctor_set(x_154, 6, x_149); -lean_ctor_set(x_154, 7, x_150); -lean_ctor_set(x_154, 8, x_151); -lean_ctor_set_uint8(x_154, sizeof(void*)*9, x_141); -lean_ctor_set_uint8(x_154, sizeof(void*)*9 + 1, x_146); -lean_ctor_set_uint8(x_154, sizeof(void*)*9 + 2, x_153); -x_155 = lean_st_ref_set(x_1, x_154, x_140); -lean_dec(x_1); -x_156 = lean_ctor_get(x_155, 1); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - lean_ctor_release(x_155, 1); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -x_158 = lean_box(0); -if (lean_is_scalar(x_157)) { - x_159 = lean_alloc_ctor(0, 2, 0); -} else { - x_159 = x_157; -} -lean_ctor_set(x_159, 0, x_158); -lean_ctor_set(x_159, 1, x_156); -return x_159; -} -} -else -{ -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -lean_dec(x_7); -lean_dec(x_1); -x_160 = lean_ctor_get(x_128, 0); -lean_inc(x_160); -x_161 = lean_ctor_get(x_128, 1); -lean_inc(x_161); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_162 = x_128; -} else { - lean_dec_ref(x_128); - x_162 = lean_box(0); -} -if (lean_is_scalar(x_162)) { - x_163 = lean_alloc_ctor(1, 2, 0); -} else { - x_163 = x_162; -} -lean_ctor_set(x_163, 0, x_160); -lean_ctor_set(x_163, 1, x_161); -return x_163; -} -} -block_178: -{ -if (x_165 == 0) -{ -lean_dec(x_3); -lean_dec(x_2); -x_127 = x_166; -goto block_164; -} -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_inc(x_26); -x_167 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_167, 0, x_26); -x_168 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_169 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_167); -x_170 = l_Lean_Meta_isLevelDefEqAux___closed__6; -x_171 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_171, 0, x_169); -lean_ctor_set(x_171, 1, x_170); -lean_inc(x_37); -x_172 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_172, 0, x_37); -x_173 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_173, 0, x_171); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_174, 0, x_173); -lean_ctor_set(x_174, 1, x_168); -x_175 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; -x_176 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(x_175, x_174, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_166); -lean_dec(x_3); -lean_dec(x_2); -x_177 = lean_ctor_get(x_176, 1); -lean_inc(x_177); -lean_dec(x_176); -x_127 = x_177; -goto block_164; -} -} -} -} -else -{ -uint8_t x_194; -lean_dec(x_37); -lean_dec(x_26); -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_194 = !lean_is_exclusive(x_45); -if (x_194 == 0) -{ -return x_45; -} -else -{ -lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_195 = lean_ctor_get(x_45, 0); -x_196 = lean_ctor_get(x_45, 1); -lean_inc(x_196); -lean_inc(x_195); -lean_dec(x_45); -x_197 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_197, 0, x_195); -lean_ctor_set(x_197, 1, x_196); -return x_197; -} -} -} -else -{ -lean_object* x_198; lean_object* x_199; -lean_dec(x_43); -lean_dec(x_37); -lean_dec(x_26); -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_198 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_199 = lean_alloc_ctor(0, 2, 0); -} else { - x_199 = x_14; -} -lean_ctor_set(x_199, 0, x_198); -lean_ctor_set(x_199, 1, x_31); -return x_199; -} -} -} -else -{ -lean_object* x_200; lean_object* x_201; -lean_dec(x_37); -lean_dec(x_26); -lean_dec(x_21); -lean_dec(x_12); -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_200 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_201 = lean_alloc_ctor(0, 2, 0); -} else { - x_201 = x_14; -} -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_31); -return x_201; -} -} -} -block_225: -{ -if (x_203 == 0) -{ -lean_dec(x_16); -x_31 = x_204; -goto block_202; -} -else -{ -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; -x_205 = lean_array_get_size(x_16); -lean_dec(x_16); -x_206 = l_Lean_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_205); -x_207 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_207, 0, x_206); -x_208 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__5; -x_209 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_209, 0, x_208); -lean_ctor_set(x_209, 1, x_207); -x_210 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__7; -x_211 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_211, 0, x_209); -lean_ctor_set(x_211, 1, x_210); -lean_inc(x_30); -x_212 = l_Lean_fmt___at_Lean_Position_instToFormatPosition___spec__1(x_30); -x_213 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_213, 0, x_212); -x_214 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_214, 0, x_211); -lean_ctor_set(x_214, 1, x_213); -x_215 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__9; -x_216 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_216, 0, x_214); -lean_ctor_set(x_216, 1, x_215); -x_217 = lean_ctor_get(x_12, 1); -lean_inc(x_217); -x_218 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_218, 0, x_217); -x_219 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_219, 0, x_216); -lean_ctor_set(x_219, 1, x_218); -x_220 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_221 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_221, 0, x_219); -lean_ctor_set(x_221, 1, x_220); -x_222 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__3; -x_223 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(x_222, x_221, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_204); -x_224 = lean_ctor_get(x_223, 1); -lean_inc(x_224); -lean_dec(x_223); -x_31 = x_224; -goto block_202; -} -} -} -else -{ -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; uint8_t x_243; -lean_dec(x_26); -lean_dec(x_21); -lean_dec(x_16); -lean_dec(x_14); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_238 = lean_st_ref_get(x_7, x_13); -lean_dec(x_7); -x_239 = lean_ctor_get(x_238, 1); -lean_inc(x_239); -lean_dec(x_238); -x_240 = lean_st_ref_take(x_1, x_239); -x_241 = lean_ctor_get(x_240, 0); -lean_inc(x_241); -x_242 = lean_ctor_get(x_240, 1); -lean_inc(x_242); -lean_dec(x_240); -x_243 = !lean_is_exclusive(x_241); -if (x_243 == 0) -{ -uint8_t x_244; lean_object* x_245; uint8_t x_246; -x_244 = 1; -lean_ctor_set_uint8(x_241, sizeof(void*)*9 + 2, x_244); -x_245 = lean_st_ref_set(x_1, x_241, x_242); -lean_dec(x_1); -x_246 = !lean_is_exclusive(x_245); -if (x_246 == 0) -{ -lean_object* x_247; lean_object* x_248; -x_247 = lean_ctor_get(x_245, 0); -lean_dec(x_247); -x_248 = lean_box(0); -lean_ctor_set(x_245, 0, x_248); -return x_245; -} -else -{ -lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_249 = lean_ctor_get(x_245, 1); -lean_inc(x_249); -lean_dec(x_245); -x_250 = lean_box(0); -x_251 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_251, 0, x_250); -lean_ctor_set(x_251, 1, x_249); -return x_251; -} -} -else -{ -uint8_t x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t 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; -x_252 = lean_ctor_get_uint8(x_241, sizeof(void*)*9); -x_253 = lean_ctor_get(x_241, 0); -x_254 = lean_ctor_get(x_241, 1); -x_255 = lean_ctor_get(x_241, 2); -x_256 = lean_ctor_get(x_241, 3); -x_257 = lean_ctor_get_uint8(x_241, sizeof(void*)*9 + 1); -x_258 = lean_ctor_get(x_241, 4); -x_259 = lean_ctor_get(x_241, 5); -x_260 = lean_ctor_get(x_241, 6); -x_261 = lean_ctor_get(x_241, 7); -x_262 = lean_ctor_get(x_241, 8); -lean_inc(x_262); -lean_inc(x_261); -lean_inc(x_260); -lean_inc(x_259); -lean_inc(x_258); -lean_inc(x_256); -lean_inc(x_255); -lean_inc(x_254); -lean_inc(x_253); -lean_dec(x_241); -x_263 = 1; -x_264 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_264, 0, x_253); -lean_ctor_set(x_264, 1, x_254); -lean_ctor_set(x_264, 2, x_255); -lean_ctor_set(x_264, 3, x_256); -lean_ctor_set(x_264, 4, x_258); -lean_ctor_set(x_264, 5, x_259); -lean_ctor_set(x_264, 6, x_260); -lean_ctor_set(x_264, 7, x_261); -lean_ctor_set(x_264, 8, x_262); -lean_ctor_set_uint8(x_264, sizeof(void*)*9, x_252); -lean_ctor_set_uint8(x_264, sizeof(void*)*9 + 1, x_257); -lean_ctor_set_uint8(x_264, sizeof(void*)*9 + 2, x_263); -x_265 = lean_st_ref_set(x_1, x_264, x_242); -lean_dec(x_1); -x_266 = lean_ctor_get(x_265, 1); -lean_inc(x_266); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_267 = x_265; -} else { - lean_dec_ref(x_265); - x_267 = lean_box(0); -} -x_268 = lean_box(0); -if (lean_is_scalar(x_267)) { - x_269 = lean_alloc_ctor(0, 2, 0); -} else { - x_269 = x_267; -} -lean_ctor_set(x_269, 0, x_268); -lean_ctor_set(x_269, 1, x_266); -return x_269; -} -} -} -} -else -{ -lean_object* x_270; lean_object* x_271; -lean_dec(x_21); -lean_dec(x_16); -lean_dec(x_12); -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_270 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_271 = lean_alloc_ctor(0, 2, 0); -} else { - x_271 = x_14; -} -lean_ctor_set(x_271, 0, x_270); -lean_ctor_set(x_271, 1, x_13); -return x_271; -} -} -else -{ -lean_object* x_272; lean_object* x_273; -lean_dec(x_16); -lean_dec(x_12); -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_272 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_273 = lean_alloc_ctor(0, 2, 0); -} else { - x_273 = x_14; -} -lean_ctor_set(x_273, 0, x_272); -lean_ctor_set(x_273, 1, x_13); -return x_273; -} -} -else -{ -lean_object* x_274; lean_object* x_275; -lean_dec(x_16); -lean_dec(x_12); -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_274 = lean_box(0); -if (lean_is_scalar(x_14)) { - x_275 = lean_alloc_ctor(0, 2, 0); -} else { - x_275 = x_14; -} -lean_ctor_set(x_275, 0, x_274); -lean_ctor_set(x_275, 1, x_13); -return x_275; -} -} -} -} -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__1(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___lambda__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -x_4 = lean_box(x_3); -return x_4; -} -} -lean_object* l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; -x_4 = l_Lean_FindMVar_main___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__2(x_1, x_2, x_3); -lean_dec(x_3); -return x_4; -} -} -lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = lean_apply_9(x_1, x_5, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__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* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___lambda__1), 10, 4); -lean_closure_set(x_13, 0, x_4); -lean_closure_set(x_13, 1, x_5); -lean_closure_set(x_13, 2, x_6); -lean_closure_set(x_13, 3, x_7); -x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(x_1, x_2, x_3, x_13, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_14) == 0) -{ -uint8_t x_15; -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) -{ -return x_14; -} -else -{ -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_14, 0); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; -} -} -else -{ -uint8_t x_19; -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) -{ -return x_14; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; -} -} -} -} -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg___boxed), 12, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_11 = lean_st_ref_get(x_9, x_10); -x_12 = lean_ctor_get(x_11, 1); -lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_st_ref_take(x_3, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = !lean_is_exclusive(x_14); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_17 = lean_ctor_get(x_14, 5); -lean_inc(x_2); -x_18 = lean_array_push(x_17, x_2); -lean_ctor_set(x_14, 5, x_18); -x_19 = lean_st_ref_set(x_3, x_14, x_15); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_20); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_apply_8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_22); -return x_23; -} -else -{ -uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_24 = lean_ctor_get_uint8(x_14, sizeof(void*)*9); -x_25 = lean_ctor_get(x_14, 0); -x_26 = lean_ctor_get(x_14, 1); -x_27 = lean_ctor_get(x_14, 2); -x_28 = lean_ctor_get(x_14, 3); -x_29 = lean_ctor_get_uint8(x_14, sizeof(void*)*9 + 1); -x_30 = lean_ctor_get(x_14, 4); -x_31 = lean_ctor_get(x_14, 5); -x_32 = lean_ctor_get(x_14, 6); -x_33 = lean_ctor_get(x_14, 7); -x_34 = lean_ctor_get(x_14, 8); -x_35 = lean_ctor_get_uint8(x_14, sizeof(void*)*9 + 2); -lean_inc(x_34); -lean_inc(x_33); -lean_inc(x_32); -lean_inc(x_31); -lean_inc(x_30); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); -lean_dec(x_14); -lean_inc(x_2); -x_36 = lean_array_push(x_31, x_2); -x_37 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_37, 0, x_25); -lean_ctor_set(x_37, 1, x_26); -lean_ctor_set(x_37, 2, x_27); -lean_ctor_set(x_37, 3, x_28); -lean_ctor_set(x_37, 4, x_30); -lean_ctor_set(x_37, 5, x_36); -lean_ctor_set(x_37, 6, x_32); -lean_ctor_set(x_37, 7, x_33); -lean_ctor_set(x_37, 8, x_34); -lean_ctor_set_uint8(x_37, sizeof(void*)*9, x_24); -lean_ctor_set_uint8(x_37, sizeof(void*)*9 + 1, x_29); -lean_ctor_set_uint8(x_37, sizeof(void*)*9 + 2, x_35); -x_38 = lean_st_ref_set(x_3, x_37, x_15); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_39); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = lean_apply_8(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_41); -return x_42; -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getBindingName(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_12); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = lean_alloc_closure((void*)(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___lambda__1), 10, 1); -lean_closure_set(x_16, 0, x_1); -x_17 = 0; -x_18 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg(x_11, x_17, x_14, x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -return x_18; -} -} -lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__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, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_2); -lean_dec(x_2); -x_14 = l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addEtaArg___spec__1___rarg(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize_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_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_finalize_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_finalize_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; -x_15 = x_5 < x_4; -if (x_15 == 0) -{ -lean_object* x_16; -lean_dec(x_2); -lean_dec(x_1); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_6); -lean_ctor_set(x_16, 1, x_14); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; -lean_dec(x_6); -x_17 = lean_array_uget(x_3, x_5); -lean_inc(x_1); -lean_inc(x_2); -x_18 = l_Lean_Elab_Term_registerMVarErrorImplicitArgInfo(x_17, x_2, x_1, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = 1; -x_21 = x_5 + x_20; -x_22 = lean_box(0); -x_5 = x_21; -x_6 = x_22; -x_14 = x_19; -goto _start; -} -} -} -lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_isExprDefEqImp(x_1, x_2, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_11 = lean_ctor_get(x_8, 3); -x_12 = l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(x_2, x_6, x_7, x_8, x_9, x_10); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); -lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_st_ref_take(x_9, x_14); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_16, 3); -lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = !lean_is_exclusive(x_16); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_16, 3); -lean_dec(x_20); -x_21 = !lean_is_exclusive(x_17); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_22 = lean_ctor_get(x_17, 0); -x_23 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_23, 0, x_1); -lean_ctor_set(x_23, 1, x_13); -lean_inc(x_11); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_11); -lean_ctor_set(x_24, 1, x_23); -x_25 = l_Std_PersistentArray_push___rarg(x_22, x_24); -lean_ctor_set(x_17, 0, x_25); -x_26 = lean_st_ref_set(x_9, x_16, x_18); -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_26, 0); -lean_dec(x_28); -x_29 = lean_box(0); -lean_ctor_set(x_26, 0, x_29); -return x_26; -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_26, 1); -lean_inc(x_30); -lean_dec(x_26); -x_31 = lean_box(0); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_30); -return x_32; -} -} -else -{ -uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_33 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_34 = lean_ctor_get(x_17, 0); -lean_inc(x_34); -lean_dec(x_17); -x_35 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_35, 0, x_1); -lean_ctor_set(x_35, 1, x_13); -lean_inc(x_11); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_11); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Std_PersistentArray_push___rarg(x_34, x_36); -x_38 = lean_alloc_ctor(0, 1, 1); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set_uint8(x_38, sizeof(void*)*1, x_33); -lean_ctor_set(x_16, 3, x_38); -x_39 = lean_st_ref_set(x_9, x_16, x_18); -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_41 = x_39; -} else { - lean_dec_ref(x_39); - x_41 = lean_box(0); -} -x_42 = lean_box(0); -if (lean_is_scalar(x_41)) { - x_43 = lean_alloc_ctor(0, 2, 0); -} else { - x_43 = x_41; -} -lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -return x_43; -} -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_44 = lean_ctor_get(x_16, 0); -x_45 = lean_ctor_get(x_16, 1); -x_46 = lean_ctor_get(x_16, 2); -lean_inc(x_46); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_16); -x_47 = lean_ctor_get_uint8(x_17, sizeof(void*)*1); -x_48 = lean_ctor_get(x_17, 0); -lean_inc(x_48); -if (lean_is_exclusive(x_17)) { - lean_ctor_release(x_17, 0); - x_49 = x_17; -} else { - lean_dec_ref(x_17); - x_49 = lean_box(0); -} -x_50 = lean_alloc_ctor(11, 2, 0); -lean_ctor_set(x_50, 0, x_1); -lean_ctor_set(x_50, 1, x_13); -lean_inc(x_11); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_11); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Std_PersistentArray_push___rarg(x_48, x_51); -if (lean_is_scalar(x_49)) { - x_53 = lean_alloc_ctor(0, 1, 1); -} else { - x_53 = x_49; -} -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set_uint8(x_53, sizeof(void*)*1, x_47); -x_54 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_54, 0, x_44); -lean_ctor_set(x_54, 1, x_45); -lean_ctor_set(x_54, 2, x_46); -lean_ctor_set(x_54, 3, x_53); -x_55 = lean_st_ref_set(x_9, x_54, x_18); -x_56 = lean_ctor_get(x_55, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_55)) { - lean_ctor_release(x_55, 0); - lean_ctor_release(x_55, 1); - x_57 = x_55; -} else { - lean_dec_ref(x_55); - x_57 = lean_box(0); -} -x_58 = lean_box(0); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); -} else { - x_59 = x_57; -} -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; -} -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; -x_10 = lean_ctor_get(x_7, 0); -x_11 = l_Lean_checkTraceOption(x_10, x_1); -x_12 = lean_box(x_11); -x_13 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_9); -return x_13; -} -} -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_mkLambdaFVarsImp(x_1, x_2, x_6, x_7, x_8, x_9, x_10); -return x_11; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Elab_Term_ElabAppArgs_synthesizeAppInstMVars(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_11, 0); -lean_dec(x_13); -lean_ctor_set(x_11, 0, x_1); -return x_11; -} -else -{ -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_1); -lean_ctor_set(x_15, 1, x_14); -return x_15; -} -} -else -{ -uint8_t x_16; -lean_dec(x_1); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) -{ -return x_11; -} -else -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("after etaArgs, "); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__1; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; uint8_t x_57; lean_object* x_58; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; -x_71 = lean_st_ref_get(x_12, x_13); -x_72 = lean_ctor_get(x_71, 0); -lean_inc(x_72); -x_73 = lean_ctor_get(x_72, 3); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_ctor_get_uint8(x_73, sizeof(void*)*1); -lean_dec(x_73); -if (x_74 == 0) -{ -lean_object* x_75; uint8_t x_76; -x_75 = lean_ctor_get(x_71, 1); -lean_inc(x_75); -lean_dec(x_71); -x_76 = 0; -x_57 = x_76; -x_58 = x_75; -goto block_70; -} -else -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_77 = lean_ctor_get(x_71, 1); -lean_inc(x_77); -lean_dec(x_71); -lean_inc(x_2); -x_78 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_77); -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_unbox(x_79); -lean_dec(x_79); -x_57 = x_81; -x_58 = x_80; -goto block_70; -} -block_56: -{ -lean_object* x_15; -x_15 = lean_ctor_get(x_1, 4); -lean_inc(x_15); -lean_dec(x_1); -if (lean_obj_tag(x_15) == 0) -{ -lean_object* x_16; lean_object* x_17; -lean_dec(x_3); -lean_dec(x_2); -x_16 = lean_box(0); -x_17 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_4, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_14); -return x_17; -} -else -{ -lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_18 = lean_ctor_get(x_15, 0); -lean_inc(x_18); -lean_dec(x_15); -x_45 = lean_st_ref_get(x_12, x_14); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_46, 3); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_ctor_get_uint8(x_47, sizeof(void*)*1); -lean_dec(x_47); -if (x_48 == 0) -{ -lean_object* x_49; uint8_t x_50; -x_49 = lean_ctor_get(x_45, 1); -lean_inc(x_49); -lean_dec(x_45); -x_50 = 0; -x_19 = x_50; -x_20 = x_49; -goto block_44; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; -x_51 = lean_ctor_get(x_45, 1); -lean_inc(x_51); -lean_dec(x_45); -lean_inc(x_2); -x_52 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(x_2, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_unbox(x_53); -lean_dec(x_53); -x_19 = x_55; -x_20 = x_54; -goto block_44; -} -block_44: -{ -if (x_19 == 0) -{ -lean_object* x_21; -lean_dec(x_2); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_21 = l_Lean_Meta_isExprDefEqImp(x_18, x_3, x_9, x_10, x_11, x_12, x_20); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_box(0); -x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_4, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_22); -return x_24; -} -else -{ -uint8_t x_25; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -x_25 = !lean_is_exclusive(x_21); -if (x_25 == 0) -{ -return x_21; -} -else -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_21, 0); -x_27 = lean_ctor_get(x_21, 1); -lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_21); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; -} -} -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_inc(x_18); -x_29 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_29, 0, x_18); -x_30 = l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__4___closed__3; -x_31 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -x_32 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(x_2, x_33, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_20); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_36 = l_Lean_Meta_isExprDefEqImp(x_18, x_3, x_9, x_10, x_11, x_12, x_35); -if (lean_obj_tag(x_36) == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_box(0); -x_39 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_4, x_38, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_37); -return x_39; -} -else -{ -uint8_t x_40; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_4); -x_40 = !lean_is_exclusive(x_36); -if (x_40 == 0) -{ -return x_36; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_36, 0); -x_42 = lean_ctor_get(x_36, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_36); -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; -} -} -} -} -} -} -block_70: -{ -if (x_57 == 0) -{ -x_14 = x_58; -goto block_56; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -lean_inc(x_4); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_4); -x_60 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___closed__2; -x_61 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_59); -x_62 = l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -lean_inc(x_3); -x_64 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_64, 0, x_3); -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -x_66 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_67 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -lean_inc(x_2); -x_68 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(x_2, x_67, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_58); -x_69 = lean_ctor_get(x_68, 1); -lean_inc(x_69); -lean_dec(x_68); -x_14 = x_69; -goto block_56; -} -} -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("finalize"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___closed__1; -x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__1; -x_3 = lean_name_mk_string(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -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_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -x_47 = lean_st_ref_get(x_7, x_13); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_48, 3); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_ctor_get_uint8(x_49, sizeof(void*)*1); -lean_dec(x_49); -if (x_50 == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_47, 1); -lean_inc(x_51); -lean_dec(x_47); -x_16 = x_51; -goto block_46; -} -else -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = lean_ctor_get(x_47, 1); -lean_inc(x_52); -lean_dec(x_47); -x_53 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; -x_54 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__5(x_53, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_52); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_unbox(x_55); -lean_dec(x_55); -if (x_56 == 0) -{ -lean_object* x_57; -x_57 = lean_ctor_get(x_54, 1); -lean_inc(x_57); -lean_dec(x_54); -x_16 = x_57; -goto block_46; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_58 = lean_ctor_get(x_54, 1); -lean_inc(x_58); -lean_dec(x_54); -lean_inc(x_14); -x_59 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_59, 0, x_14); -x_60 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType___spec__4(x_53, x_59, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_58); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_16 = x_61; -goto block_46; -} -} -block_46: -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_17 = lean_ctor_get(x_6, 3); -lean_inc(x_17); -x_18 = lean_ctor_get(x_12, 6); -lean_inc(x_18); -x_19 = lean_array_get_size(x_18); -x_20 = lean_usize_of_nat(x_19); -lean_dec(x_19); -x_21 = 0; -x_22 = lean_box(0); -lean_inc(x_14); -x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(x_14, x_17, x_18, x_20, x_21, x_22, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -lean_dec(x_18); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -x_26 = lean_ctor_get(x_12, 5); -lean_inc(x_26); -x_27 = l_Array_isEmpty___rarg(x_26); -if (x_27 == 0) -{ -lean_object* x_28; -lean_dec(x_15); -lean_inc(x_4); -x_28 = l_Lean_Meta_mkLambdaFVarsImp(x_26, x_14, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_28) == 0) -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_29); -x_31 = l_Lean_Meta_inferType___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___spec__5(x_29, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_30); -if (lean_obj_tag(x_31) == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; -x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_12, x_34, x_32, x_29, x_24, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_33); -lean_dec(x_24); -return x_35; -} -else -{ -uint8_t x_36; -lean_dec(x_29); -lean_dec(x_24); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_36 = !lean_is_exclusive(x_31); -if (x_36 == 0) -{ -return x_31; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_31, 0); -x_38 = lean_ctor_get(x_31, 1); -lean_inc(x_38); -lean_inc(x_37); -lean_dec(x_31); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; -} -} -} -else -{ -uint8_t x_40; -lean_dec(x_24); -lean_dec(x_12); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_40 = !lean_is_exclusive(x_28); -if (x_40 == 0) -{ -return x_28; -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_28, 0); -x_42 = lean_ctor_get(x_28, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_28); -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_object* x_45; -lean_dec(x_26); -x_44 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___closed__2; -x_45 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_12, x_44, x_15, x_14, x_24, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_25); -lean_dec(x_24); -return x_45; -} -} -} -} -lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -size_t x_15; size_t x_16; lean_object* x_17; -x_15 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_16 = lean_unbox_usize(x_5); -lean_dec(x_5); -x_17 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__1(x_1, x_2, x_3, x_15, x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_3); -return x_17; -} -} -lean_object* l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___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) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_isExprDefEq___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_addTrace___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; -x_10 = l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_11; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; -x_11 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -lean_dec(x_3); -lean_dec(x_2); -return x_11; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -lean_object* x_14; -x_14 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -lean_dec(x_6); -lean_dec(x_5); -return x_14; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_finalize(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_1); -return x_9; -} -} -lean_object* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, 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_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_1, x_2, x_3, x_7, x_8, x_9, x_10, x_11); -return x_12; -} -} -lean_object* l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___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) { -_start: -{ -lean_object* x_10; -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_10 = l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(x_1, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_10) == 0) -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = l___private_Lean_Meta_InferType_0__Lean_Meta_isTypeFormerTypeImp(x_11, x_5, x_6, x_7, x_8, x_12); -return x_13; -} -else -{ -uint8_t x_14; -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_14 = !lean_is_exclusive(x_10); -if (x_14 == 0) -{ -return x_10; -} -else -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_10, 0); -x_16 = lean_ctor_get(x_10, 1); -lean_inc(x_16); -lean_inc(x_15); -lean_dec(x_10); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -return x_17; -} -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_1, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = lean_apply_8(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_13); -return x_14; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_10 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_11); -x_14 = 0; -x_15 = lean_box(0); -lean_inc(x_5); -x_16 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_13, x_14, x_15, x_5, x_6, x_7, x_8, x_12); -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_17); -x_19 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__2(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_unbox(x_20); -lean_dec(x_20); -if (x_21 == 0) -{ -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_box(0); -x_24 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(x_17, x_1, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -return x_24; -} -else -{ -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; -x_25 = lean_ctor_get(x_19, 1); -lean_inc(x_25); -lean_dec(x_19); -x_26 = lean_st_ref_get(x_8, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_st_ref_take(x_2, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = !lean_is_exclusive(x_29); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_32 = lean_ctor_get(x_29, 6); -x_33 = lean_ctor_get(x_29, 8); -x_34 = l_Lean_Expr_mvarId_x21(x_17); -lean_inc(x_34); -x_35 = lean_array_push(x_32, x_34); -x_36 = lean_array_push(x_33, x_34); -lean_ctor_set(x_29, 8, x_36); -lean_ctor_set(x_29, 6, x_35); -x_37 = lean_st_ref_set(x_2, x_29, x_30); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_box(0); -x_40 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(x_17, x_1, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_38); -return x_40; -} -else -{ -uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_41 = lean_ctor_get_uint8(x_29, sizeof(void*)*9); -x_42 = lean_ctor_get(x_29, 0); -x_43 = lean_ctor_get(x_29, 1); -x_44 = lean_ctor_get(x_29, 2); -x_45 = lean_ctor_get(x_29, 3); -x_46 = lean_ctor_get_uint8(x_29, sizeof(void*)*9 + 1); -x_47 = lean_ctor_get(x_29, 4); -x_48 = lean_ctor_get(x_29, 5); -x_49 = lean_ctor_get(x_29, 6); -x_50 = lean_ctor_get(x_29, 7); -x_51 = lean_ctor_get(x_29, 8); -x_52 = lean_ctor_get_uint8(x_29, sizeof(void*)*9 + 2); -lean_inc(x_51); -lean_inc(x_50); -lean_inc(x_49); -lean_inc(x_48); -lean_inc(x_47); -lean_inc(x_45); -lean_inc(x_44); -lean_inc(x_43); -lean_inc(x_42); -lean_dec(x_29); -x_53 = l_Lean_Expr_mvarId_x21(x_17); -lean_inc(x_53); -x_54 = lean_array_push(x_49, x_53); -x_55 = lean_array_push(x_51, x_53); -x_56 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_56, 0, x_42); -lean_ctor_set(x_56, 1, x_43); -lean_ctor_set(x_56, 2, x_44); -lean_ctor_set(x_56, 3, x_45); -lean_ctor_set(x_56, 4, x_47); -lean_ctor_set(x_56, 5, x_48); -lean_ctor_set(x_56, 6, x_54); -lean_ctor_set(x_56, 7, x_50); -lean_ctor_set(x_56, 8, x_55); -lean_ctor_set_uint8(x_56, sizeof(void*)*9, x_41); -lean_ctor_set_uint8(x_56, sizeof(void*)*9 + 1, x_46); -lean_ctor_set_uint8(x_56, sizeof(void*)*9 + 2, x_52); -x_57 = lean_st_ref_set(x_2, x_56, x_30); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_box(0); -x_60 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(x_17, x_1, x_59, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_58); -return x_60; -} -} -} -else -{ -uint8_t x_61; -lean_dec(x_17); -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_61 = !lean_is_exclusive(x_19); -if (x_61 == 0) -{ -return x_19; -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_19, 0); -x_63 = lean_ctor_get(x_19, 1); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_19); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; -} -} -} -} -lean_object* l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_2); -lean_dec(x_2); -x_13 = l_Lean_Meta_mkFreshExprMVar___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__1(x_1, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_13; -} -} -lean_object* l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___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) { -_start: -{ -lean_object* x_10; -x_10 = l_Lean_Meta_isTypeFormer___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_10; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -lean_object* x_12; -x_12 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addImplicitArg___lambda__1(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); -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: -{ -if (lean_obj_tag(x_1) == 0) -{ -lean_object* x_4; lean_object* x_5; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -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_processExplictArg_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_processExplictArg_match__1___rarg), 3, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -if (x_1 == 0) -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_dec(x_4); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_8; lean_object* x_9; -lean_dec(x_6); -lean_dec(x_5); -x_8 = lean_box(x_1); -x_9 = lean_apply_3(x_7, x_8, x_3, x_3); -return x_9; -} -else -{ -lean_object* x_10; -lean_dec(x_7); -x_10 = lean_ctor_get(x_3, 0); -lean_inc(x_10); -lean_dec(x_3); -if (lean_obj_tag(x_10) == 4) -{ -lean_object* x_11; lean_object* x_12; uint64_t x_13; lean_object* x_14; lean_object* x_15; -lean_dec(x_6); -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -x_13 = lean_ctor_get_uint64(x_10, sizeof(void*)*2); -lean_dec(x_10); -x_14 = lean_box_uint64(x_13); -x_15 = lean_apply_4(x_5, x_2, x_11, x_12, x_14); -return x_15; -} -else -{ -lean_object* x_16; -lean_dec(x_5); -x_16 = lean_apply_2(x_6, x_2, x_10); -return x_16; -} -} -} -else -{ -lean_object* x_17; lean_object* x_18; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_17 = lean_ctor_get(x_2, 0); -lean_inc(x_17); -lean_dec(x_2); -x_18 = lean_apply_2(x_4, x_17, x_3); -return x_18; -} -} -else -{ -lean_object* x_19; lean_object* x_20; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_19 = lean_box(x_1); -x_20 = lean_apply_3(x_7, x_19, x_2, x_3); -return x_20; -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_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_processExplictArg_match__2___rarg___boxed), 7, 0); -return x_2; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___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) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_1); -lean_dec(x_1); -x_9 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__2___rarg(x_8, x_2, x_3, x_4, x_5, x_6, x_7); -return x_9; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_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_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_object* x_7; -lean_dec(x_3); -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_ctor_get(x_1, 1); -lean_inc(x_6); -lean_dec(x_1); -x_7 = lean_apply_2(x_2, x_5, x_6); -return x_7; -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg_match__3(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_processExplictArg_match__3___rarg), 3, 0); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("invalid autoParam, argument must be a constant"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__1; -x_2 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__2; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__4() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string("by"); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_instInhabitedSourceInfo___closed__1; -x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__4; -x_3 = lean_alloc_ctor(2, 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___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_empty___closed__1; -x_2 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___closed__5; -x_3 = lean_array_push(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_get(x_2, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_13, 2); -lean_inc(x_14); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_getArgExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -x_17 = lean_ctor_get_uint8(x_13, sizeof(void*)*9); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -lean_dec(x_16); -x_20 = l_Lean_Expr_getOptParamDefault_x3f(x_18); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; -x_21 = l_Lean_Expr_getAutoParamTactic_x3f(x_18); -lean_dec(x_18); -if (lean_obj_tag(x_21) == 0) -{ -lean_object* x_22; uint8_t x_23; -x_22 = lean_ctor_get(x_13, 3); -lean_inc(x_22); -lean_dec(x_13); -x_23 = l_List_isEmpty___rarg(x_22); -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); -return x_24; -} -else -{ -lean_object* x_25; -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_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) -{ -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_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*)*9 + 1); -lean_dec(x_32); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; -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); -lean_dec(x_2); -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_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__4(x_54, lean_box(0), x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_48); -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_55; -} -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; -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_dec(x_61); -x_64 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; -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_331____closed__4; -x_71 = lean_array_push(x_70, x_69); -x_72 = l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____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_11283____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_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); -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_85 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_60); -if (lean_obj_tag(x_85) == 0) -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_87 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_87, 0, x_84); -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_87, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_86); -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_84); -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_85); -if (x_95 == 0) -{ -return x_85; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_85, 0); -x_97 = lean_ctor_get(x_85, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_85); -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 -{ -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__4(x_99, lean_box(0), 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_100; -} -} -} -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_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); -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) -{ -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_108; -} -else -{ -lean_object* x_109; -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); -lean_dec(x_2); -return x_109; -} -} -} -else -{ -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; -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); -lean_inc(x_111); -x_112 = lean_ctor_get(x_14, 1); -lean_inc(x_112); -lean_dec(x_14); -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_113 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_110); -if (lean_obj_tag(x_113) == 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; lean_object* x_140; uint8_t x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_131 = lean_ctor_get_uint8(x_118, sizeof(void*)*9); -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*)*9 + 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(x_118, 8); -x_141 = lean_ctor_get_uint8(x_118, sizeof(void*)*9 + 2); -lean_inc(x_140); -lean_inc(x_139); -lean_inc(x_138); -lean_inc(x_137); -lean_inc(x_136); -lean_inc(x_134); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_118); -x_142 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_142, 0, x_132); -lean_ctor_set(x_142, 1, x_133); -lean_ctor_set(x_142, 2, x_112); -lean_ctor_set(x_142, 3, x_134); -lean_ctor_set(x_142, 4, x_136); -lean_ctor_set(x_142, 5, x_137); -lean_ctor_set(x_142, 6, x_138); -lean_ctor_set(x_142, 7, x_139); -lean_ctor_set(x_142, 8, x_140); -lean_ctor_set_uint8(x_142, sizeof(void*)*9, x_131); -lean_ctor_set_uint8(x_142, sizeof(void*)*9 + 1, x_135); -lean_ctor_set_uint8(x_142, sizeof(void*)*9 + 2, x_141); -x_143 = lean_st_ref_set(x_2, x_142, x_119); -x_144 = lean_ctor_get(x_143, 1); -lean_inc(x_144); -lean_dec(x_143); -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_145 = 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_144); -if (lean_obj_tag(x_145) == 0) -{ -lean_object* x_146; lean_object* x_147; -x_146 = lean_ctor_get(x_145, 1); -lean_inc(x_146); -lean_dec(x_145); -x_147 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_146); -return x_147; -} -else -{ -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -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_148 = lean_ctor_get(x_145, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_145, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - x_150 = x_145; -} else { - lean_dec_ref(x_145); - x_150 = lean_box(0); -} -if (lean_is_scalar(x_150)) { - x_151 = lean_alloc_ctor(1, 2, 0); -} else { - x_151 = x_150; -} -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set(x_151, 1, x_149); -return x_151; -} -} -} -else -{ -uint8_t x_152; -lean_dec(x_112); -lean_dec(x_111); -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_152 = !lean_is_exclusive(x_113); -if (x_152 == 0) -{ -return x_113; -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_113, 0); -x_154 = lean_ctor_get(x_113, 1); -lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_113); -x_155 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_155, 0, x_153); -lean_ctor_set(x_155, 1, x_154); -return x_155; -} -} -} -} -} -lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processImplicitArg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; -x_10 = lean_st_ref_get(x_8, x_9); -x_11 = lean_ctor_get(x_10, 1); -lean_inc(x_11); -lean_dec(x_10); -x_12 = lean_st_ref_get(x_2, x_11); -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*9); -lean_dec(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; -x_15 = lean_ctor_get(x_12, 1); -lean_inc(x_15); -lean_dec(x_12); -x_16 = 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_15); -return x_16; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_12, 1); -lean_inc(x_17); -lean_dec(x_12); -x_18 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -return x_18; -} -} -} lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processInstImplicitArg(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: { @@ -14939,7 +14673,7 @@ lean_dec(x_10); x_12 = lean_st_ref_get(x_2, x_11); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); -x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*9); +x_14 = lean_ctor_get_uint8(x_13, sizeof(void*)*8); lean_dec(x_13); if (x_14 == 0) { @@ -15055,20 +14789,18 @@ return x_62; } else { -uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; lean_object* x_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; -x_63 = lean_ctor_get_uint8(x_50, sizeof(void*)*9); +uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_63 = lean_ctor_get_uint8(x_50, sizeof(void*)*8); x_64 = lean_ctor_get(x_50, 0); x_65 = lean_ctor_get(x_50, 1); x_66 = lean_ctor_get(x_50, 2); x_67 = lean_ctor_get(x_50, 3); -x_68 = lean_ctor_get_uint8(x_50, sizeof(void*)*9 + 1); +x_68 = lean_ctor_get_uint8(x_50, sizeof(void*)*8 + 1); x_69 = lean_ctor_get(x_50, 4); x_70 = lean_ctor_get(x_50, 5); x_71 = lean_ctor_get(x_50, 6); x_72 = lean_ctor_get(x_50, 7); -x_73 = lean_ctor_get(x_50, 8); -x_74 = lean_ctor_get_uint8(x_50, sizeof(void*)*9 + 2); -lean_inc(x_73); +x_73 = lean_ctor_get_uint8(x_50, sizeof(void*)*8 + 2); lean_inc(x_72); lean_inc(x_71); lean_inc(x_70); @@ -15078,36 +14810,35 @@ lean_inc(x_66); lean_inc(x_65); lean_inc(x_64); lean_dec(x_50); -x_75 = l_List_tail_x21___rarg(x_66); +x_74 = l_List_tail_x21___rarg(x_66); lean_dec(x_66); -x_76 = lean_alloc_ctor(0, 9, 3); -lean_ctor_set(x_76, 0, x_64); -lean_ctor_set(x_76, 1, x_65); -lean_ctor_set(x_76, 2, x_75); -lean_ctor_set(x_76, 3, x_67); -lean_ctor_set(x_76, 4, x_69); -lean_ctor_set(x_76, 5, x_70); -lean_ctor_set(x_76, 6, x_71); -lean_ctor_set(x_76, 7, x_72); -lean_ctor_set(x_76, 8, x_73); -lean_ctor_set_uint8(x_76, sizeof(void*)*9, x_63); -lean_ctor_set_uint8(x_76, sizeof(void*)*9 + 1, x_68); -lean_ctor_set_uint8(x_76, sizeof(void*)*9 + 2, x_74); -x_77 = lean_st_ref_set(x_2, x_76, x_51); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l_Lean_Expr_mvarId_x21(x_45); -x_80 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addInstMVar(x_79, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_78); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -lean_dec(x_80); -x_82 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_81); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_83); -return x_84; +x_75 = lean_alloc_ctor(0, 8, 3); +lean_ctor_set(x_75, 0, x_64); +lean_ctor_set(x_75, 1, x_65); +lean_ctor_set(x_75, 2, x_74); +lean_ctor_set(x_75, 3, x_67); +lean_ctor_set(x_75, 4, x_69); +lean_ctor_set(x_75, 5, x_70); +lean_ctor_set(x_75, 6, x_71); +lean_ctor_set(x_75, 7, x_72); +lean_ctor_set_uint8(x_75, sizeof(void*)*8, x_63); +lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 1, x_68); +lean_ctor_set_uint8(x_75, sizeof(void*)*8 + 2, x_73); +x_76 = lean_st_ref_set(x_2, x_75, x_51); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = l_Lean_Expr_mvarId_x21(x_45); +x_79 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addInstMVar(x_78, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_77); +x_80 = lean_ctor_get(x_79, 1); +lean_inc(x_80); +lean_dec(x_79); +x_81 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_addNewArg(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_80); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +x_83 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_82); +return x_83; } } } @@ -15448,31 +15179,12 @@ return x_33; } else { -lean_object* x_34; lean_object* x_35; +lean_object* x_34; lean_object* x_35; lean_object* x_36; x_34 = lean_ctor_get(x_25, 0); lean_inc(x_34); lean_dec(x_25); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_35 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_22); -if (lean_obj_tag(x_35) == 0) -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -lean_dec(x_35); -x_37 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_36); -lean_dec(x_16); -x_38 = lean_ctor_get(x_37, 1); -lean_inc(x_38); -lean_dec(x_37); -x_39 = lean_ctor_get(x_34, 2); -lean_inc(x_39); +x_35 = lean_ctor_get(x_34, 2); +lean_inc(x_35); lean_dec(x_34); lean_inc(x_7); lean_inc(x_6); @@ -15480,7 +15192,27 @@ lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_40 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_39, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_38); +lean_inc(x_1); +lean_inc(x_35); +x_36 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_propagateExpectedType(x_35, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_22); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = l_Lean_Elab_Term_ElabAppArgs_eraseNamedArg(x_16, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_37); +lean_dec(x_16); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +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_40 = l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_elabAndAddNewArg(x_35, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_39); if (lean_obj_tag(x_40) == 0) { lean_object* x_41; @@ -15523,7 +15255,7 @@ return x_46; else { uint8_t x_47; -lean_dec(x_34); +lean_dec(x_35); lean_dec(x_16); lean_dec(x_7); lean_dec(x_6); @@ -15532,19 +15264,19 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_35); +x_47 = !lean_is_exclusive(x_36); if (x_47 == 0) { -return x_35; +return x_36; } else { lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_35, 0); -x_49 = lean_ctor_get(x_35, 1); +x_48 = lean_ctor_get(x_36, 0); +x_49 = lean_ctor_get(x_36, 1); lean_inc(x_49); lean_inc(x_48); -lean_dec(x_35); +lean_dec(x_36); x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_48); lean_ctor_set(x_50, 1, x_49); @@ -15668,7 +15400,7 @@ x_16 = lean_array_to_list(lean_box(0), x_1); x_17 = lean_array_to_list(lean_box(0), x_2); x_18 = l_Array_empty___closed__1; x_19 = 0; -x_20 = lean_alloc_ctor(0, 9, 3); +x_20 = lean_alloc_ctor(0, 8, 3); lean_ctor_set(x_20, 0, x_4); lean_ctor_set(x_20, 1, x_5); lean_ctor_set(x_20, 2, x_16); @@ -15677,10 +15409,9 @@ lean_ctor_set(x_20, 4, x_7); lean_ctor_set(x_20, 5, x_18); lean_ctor_set(x_20, 6, x_18); lean_ctor_set(x_20, 7, x_18); -lean_ctor_set(x_20, 8, x_18); -lean_ctor_set_uint8(x_20, sizeof(void*)*9, x_3); -lean_ctor_set_uint8(x_20, sizeof(void*)*9 + 1, x_6); -lean_ctor_set_uint8(x_20, sizeof(void*)*9 + 2, x_19); +lean_ctor_set_uint8(x_20, sizeof(void*)*8, x_3); +lean_ctor_set_uint8(x_20, sizeof(void*)*8 + 1, x_6); +lean_ctor_set_uint8(x_20, sizeof(void*)*8 + 2, x_19); x_21 = lean_st_ref_get(x_14, x_15); x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); @@ -31154,7 +30885,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(827u); +x_3 = lean_unsigned_to_nat(826u); 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); @@ -31442,7 +31173,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(845u); +x_3 = lean_unsigned_to_nat(844u); 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); @@ -33360,7 +33091,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_7561_(lean_object* x_1) { +lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7562_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -33439,8 +33170,6 @@ l_Lean_Elab_Term_ElabAppArgs_State_toSetErrorCtx___default = _init_l_Lean_Elab_T lean_mark_persistent(l_Lean_Elab_Term_ElabAppArgs_State_toSetErrorCtx___default); l_Lean_Elab_Term_ElabAppArgs_State_instMVars___default = _init_l_Lean_Elab_Term_ElabAppArgs_State_instMVars___default(); lean_mark_persistent(l_Lean_Elab_Term_ElabAppArgs_State_instMVars___default); -l_Lean_Elab_Term_ElabAppArgs_State_typeMVars___default = _init_l_Lean_Elab_Term_ElabAppArgs_State_typeMVars___default(); -lean_mark_persistent(l_Lean_Elab_Term_ElabAppArgs_State_typeMVars___default); l_Lean_Elab_Term_ElabAppArgs_State_alreadyPropagated___default = _init_l_Lean_Elab_Term_ElabAppArgs_State_alreadyPropagated___default(); l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__1 = _init_l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__1(); lean_mark_persistent(l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_synthesizePendingAndNormalizeFunType___closed__1); @@ -33699,7 +33428,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_7561_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_App___hyg_7562_(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/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index 002c6f4f6f..b528aceaca 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -19,7 +19,7 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandLetEqnsDeclVa lean_object* l_Lean_Elab_Term_elabBinder___rarg___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_elabLetDeclCore_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabBinders(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__6; lean_object* l_Lean_Elab_Term_expandWhereDecls___boxed(lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); @@ -66,6 +66,7 @@ lean_object* l_Lean_Elab_Term_elabBinder___rarg(lean_object*, lean_object*, uint lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Elab_Term_elabFun(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_8830____closed__6; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___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_Term_elabLetDeclCore_match__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__2; @@ -76,16 +77,17 @@ lean_object* l_Lean_Elab_Term_expandWhereDecls(lean_object*, lean_object*, lean_ lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__2; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___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* l_Lean_Elab_Term_expandFunBinders___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__1; +extern lean_object* l_Lean_Parser_Tactic_let___closed__2; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12; lean_object* l_Lean_Elab_Term_elabLetDeclAux(lean_object*, 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* l_Lean_Elab_Term_quoteAutoTactic___closed__8; extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__3; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -107,6 +109,7 @@ lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__6; lean_object* l_Lean_addDecl___at_Lean_Elab_Term_declareTacticSyntax___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_quoteAutoTactic___closed__15; extern lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___rarg___closed__15; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_object* l_Lean_Meta_mkLambdaFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); @@ -136,6 +139,7 @@ lean_object* l___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponed(uint lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatchTactic(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop(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_8830____closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__8; lean_object* l_Lean_Meta_setPostponed___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_getResetPostponed___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___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*); @@ -197,6 +201,7 @@ lean_object* l_Lean_Meta_getLocalInstances___at_Lean_Elab_Term_elabFunBinders___ lean_object* l_Lean_Meta_withLetDecl___at_Lean_Elab_Term_elabLetDeclAux___spec__3(lean_object*); lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__1; lean_object* l_Lean_KernelException_toMessageData(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; lean_object* l___regBuiltin_Lean_Elab_Term_elabFun___closed__1; lean_object* l_Lean_Elab_Term_elabLetDeclAux___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_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,6 +235,7 @@ lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__1; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__2(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___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabLetStarDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; lean_object* l_Lean_Meta_withoutPostponingUniverseConstraintsImp___at_Lean_Elab_Term_elabBinders___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f_loop_match__1(lean_object*); extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; @@ -245,8 +251,8 @@ lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__2___closed__3; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__13; lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__10; lean_object* l_Lean_Elab_Term_elabLetDeclCore___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_Tactic_let___closed__1; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___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_myMacro____x40_Init_Notation___hyg_8830____closed__18; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__1; lean_object* l_Lean_Elab_Term_elabBinder___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -267,7 +273,6 @@ lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux_loop___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*); extern lean_object* l_Lean_Parser_Tactic_intro___closed__7; lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__19; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1(lean_object*, lean_object*, lean_object*, 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*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder_match__1(lean_object*); @@ -275,6 +280,7 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ uint8_t l_Array_isEmpty___rarg(lean_object*); extern lean_object* l_Lean_instInhabitedSyntax; lean_object* l_Lean_Elab_Term_elabArrow___lambda__1___closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__16; lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_propagateExpectedType_match__2(lean_object*); extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__4; @@ -307,7 +313,6 @@ lean_object* l_Lean_addTrace___at___private_Lean_Elab_Term_0__Lean_Elab_Term_pos lean_object* l_Lean_Elab_Term_elabLetDeclAux___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* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; -extern lean_object* l_Lean_Parser_Tactic_let___closed__3; lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_addDiscr___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe___closed__1; @@ -370,7 +375,6 @@ extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed lean_object* l_Lean_mkApp(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop_match__1(lean_object*); extern lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Syntax_getKind(lean_object*); lean_object* l_Lean_Meta_saveAndResetSynthInstanceCache___rarg(lean_object*, lean_object*, lean_object*, lean_object*); @@ -387,12 +391,11 @@ extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicit___cl lean_object* l_Lean_Elab_Term_elabLetDeclCore_match__2(lean_object*); lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__12; lean_object* l_Lean_Elab_Term_quoteAutoTactic_match__1(lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__2; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_mkExplicitBinder(lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__8; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_setPostponed___at_Lean_Elab_Term_elabBinders___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__1; @@ -435,7 +438,6 @@ lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term lean_object* l_Lean_Elab_Term_elabFun_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabBinders___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_mkLetIdDeclView(lean_object*); extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__10; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_matchBinder___boxed__const__1; @@ -483,7 +485,6 @@ lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifie lean_object* l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandWhereDecls___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Meta_mkForallFVars___at_Lean_Elab_Term_elabForall___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Elab_Term_elabLetDeclAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__9; lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -520,7 +521,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkArrow___rarg___closed__2; lean_object* l_Lean_Elab_Term_elabBinder(lean_object*); lean_object* lean_add_decl(lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderType(lean_object* x_1, lean_object* x_2) { _start: { @@ -5684,11 +5684,11 @@ if (x_25 == 0) { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; x_26 = lean_ctor_get(x_24, 0); -x_27 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_27 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_28 = l_Lean_addMacroScope(x_26, x_27, x_22); x_29 = lean_box(0); x_30 = l_Lean_instInhabitedSourceInfo___closed__1; -x_31 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_31 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_32 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_32, 0, x_30); lean_ctor_set(x_32, 1, x_31); @@ -5740,11 +5740,11 @@ x_59 = lean_ctor_get(x_24, 1); lean_inc(x_59); lean_inc(x_58); lean_dec(x_24); -x_60 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_60 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_61 = l_Lean_addMacroScope(x_58, x_60, x_22); x_62 = lean_box(0); x_63 = l_Lean_instInhabitedSourceInfo___closed__1; -x_64 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_64 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_65 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_65, 0, x_63); lean_ctor_set(x_65, 1, x_64); @@ -17175,7 +17175,7 @@ lean_object* l_Lean_Elab_Term_mkLetRec(lean_object* x_1, lean_object* x_2, lean_ _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_4 = l_Lean_Parser_Tactic_let___closed__3; +x_4 = l_Lean_Parser_Tactic_let___closed__2; x_5 = l_Lean_mkAtomFrom(x_1, x_4); x_6 = l_Lean_Parser_Tactic_letrec___closed__6; x_7 = l_Lean_mkAtomFrom(x_1, x_6); @@ -17543,14 +17543,14 @@ x_74 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_74, 0, x_73); lean_ctor_set(x_74, 1, x_72); x_75 = lean_array_push(x_67, x_74); -x_76 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +x_76 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; x_77 = lean_array_push(x_75, x_76); x_78 = lean_array_push(x_77, x_66); x_79 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_79, 0, x_69); lean_ctor_set(x_79, 1, x_78); x_80 = lean_array_push(x_67, x_79); -x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_81 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____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); @@ -17578,14 +17578,14 @@ 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_array_push(x_85, x_92); -x_94 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +x_94 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; x_95 = lean_array_push(x_93, x_94); x_96 = lean_array_push(x_95, x_83); x_97 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_97, 0, x_87); lean_ctor_set(x_97, 1, x_96); x_98 = lean_array_push(x_85, x_97); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____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); @@ -17711,14 +17711,14 @@ x_148 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_148, 0, x_147); lean_ctor_set(x_148, 1, x_146); x_149 = lean_array_push(x_141, x_148); -x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +x_150 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; x_151 = lean_array_push(x_149, x_150); x_152 = lean_array_push(x_151, x_138); x_153 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_153, 0, x_143); lean_ctor_set(x_153, 1, x_152); x_154 = lean_array_push(x_141, x_153); -x_155 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_155 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_156 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_156, 0, x_155); lean_ctor_set(x_156, 1, x_154); @@ -19494,7 +19494,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__1; -x_2 = l_Lean_Parser_Tactic_let___closed__1; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -20204,7 +20204,7 @@ x_12 = lean_unsigned_to_nat(1u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); x_14 = lean_unsigned_to_nat(2u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_16 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_17 = l_Lean_mkAtomFrom(x_1, x_16); x_18 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; x_19 = lean_array_push(x_18, x_11); @@ -20212,7 +20212,7 @@ x_20 = lean_array_push(x_19, x_13); x_21 = lean_array_push(x_20, x_15); x_22 = lean_array_push(x_21, x_17); x_23 = lean_array_push(x_22, x_9); -x_24 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_24 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_25 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_25, 0, x_24); lean_ctor_set(x_25, 1, x_23); @@ -20233,7 +20233,7 @@ x_30 = lean_unsigned_to_nat(1u); x_31 = l_Lean_Syntax_getArg(x_1, x_30); x_32 = lean_unsigned_to_nat(2u); x_33 = l_Lean_Syntax_getArg(x_1, x_32); -x_34 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_34 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_35 = l_Lean_mkAtomFrom(x_1, x_34); x_36 = l_Lean_Elab_Term_mkExplicitBinder___closed__7; x_37 = lean_array_push(x_36, x_29); @@ -20241,7 +20241,7 @@ x_38 = lean_array_push(x_37, x_31); x_39 = lean_array_push(x_38, x_33); x_40 = lean_array_push(x_39, x_35); x_41 = lean_array_push(x_40, x_26); -x_42 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_42 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_41); @@ -20450,7 +20450,7 @@ x_42 = lean_unsigned_to_nat(3u); x_43 = l_Lean_Syntax_getArg(x_1, x_42); lean_inc(x_41); x_44 = l_Lean_Syntax_getKind(x_41); -x_45 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_45 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_46 = lean_name_eq(x_44, x_45); if (x_46 == 0) { @@ -20630,20 +20630,20 @@ 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_array_push(x_107, x_114); -x_116 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_116 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_117 = lean_array_push(x_115, x_116); x_118 = lean_array_push(x_117, x_91); x_119 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_119, 0, x_45); lean_ctor_set(x_119, 1, x_118); x_120 = lean_array_push(x_104, x_119); -x_121 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_121 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_122 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_122, 0, x_121); lean_ctor_set(x_122, 1, x_120); -x_123 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_123 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_124 = lean_array_push(x_123, x_122); -x_125 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_125 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_126 = lean_array_push(x_124, x_125); x_127 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; x_128 = lean_array_push(x_127, x_103); @@ -20688,7 +20688,7 @@ 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_array_push(x_126, x_154); -x_156 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_156 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_157 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_155); @@ -21081,7 +21081,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_3 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_elabLetDecl___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 82c01c9311..c4869a1823 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -48,6 +48,7 @@ lean_object* l_Lean_Elab_Term_expandAssert___closed__10; lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__2; lean_object* l_Lean_Meta_whnf___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isTypeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__2; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeRefl___closed__1; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__2; lean_object* lean_name_mk_string(lean_object*, lean_object*); @@ -57,6 +58,7 @@ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_expandCDot_x3f_match__1(lean_object*); lean_object* l_Lean_Elab_Term_expandBNot(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandHave___closed__1; +extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; lean_object* l_Lean_Elab_Term_elabSubst_match__1___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__1; @@ -70,12 +72,12 @@ lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__3; lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instToExprBool___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l_Lean_Elab_Term_elabPanic___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__19; lean_object* l_Lean_Elab_Term_expandAssert___closed__23; lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__11; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_mkNativeReflAuxDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, 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__1(lean_object*); @@ -84,11 +86,13 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserM extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Elab_Term_expandAssert___closed__12; lean_object* l_Lean_Elab_Term_expandAssert_match__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__15; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandEmptyC___closed__8; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__19; lean_object* l_Lean_Elab_Term_elabTermAndSynthesize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_markBorrowed___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqSymmImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -244,8 +248,8 @@ lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_elabSubst___spec__3__ lean_object* l___private_Lean_Util_Trace_0__Lean_getResetTraces___at___private_Lean_Meta_LevelDefEq_0__Lean_Meta_processPostponedStep___spec__6___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__10; lean_object* l_Lean_Meta_mkDecide___at_Lean_Elab_Term_elabNativeDecide___spec__1___boxed(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_8830____closed__14; extern lean_object* l_Lean_Meta_mkDecide___rarg___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__5; 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*); @@ -277,13 +281,11 @@ lean_object* l___regBuiltin_Lean_Elab_Term_elabDecide(lean_object*); lean_object* l_Lean_Meta_mkExpectedTypeHint___at_Lean_Elab_Term_elabNativeRefl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabPanic___closed__5; extern lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__7; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; lean_object* l_Lean_Elab_Term_expandShow___closed__5; lean_object* l_Lean_Elab_Term_expandShow___closed__15; lean_object* l_Lean_Elab_Term_elabSubst_match__2(lean_object*); lean_object* l_Lean_Elab_Term_mkPairs_loop___closed__3; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__3; extern lean_object* l_Lean_strLitKind___closed__2; lean_object* l_Lean_Elab_Term_expandBNot___closed__1; @@ -311,6 +313,7 @@ extern lean_object* l_Lean_Parser_maxPrec; lean_object* l_Lean_Meta_mkEq___at_Lean_Elab_Term_elabNativeRefl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandBNot___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Elab_Term_elabNativeRefl___spec__1___boxed(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_8830____closed__18; lean_object* l_Lean_Elab_Term_elabSubst___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*); 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*); @@ -320,6 +323,7 @@ lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_BuiltinNotation_0__ lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__9; lean_object* l_Lean_Elab_Term_expandInfixOp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__2; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2; lean_object* l_Lean_Elab_Term_expandShow(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__2___closed__1; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__21; @@ -331,7 +335,6 @@ lean_object* l_Lean_Elab_Term_expandSorry___rarg___closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_expandUMinus(lean_object*); extern lean_object* l_Lean_Parser_Tactic_suffices___closed__1; lean_object* l_Lean_Meta_mkArrow___at_Lean_Elab_Term_elabStateRefT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; extern lean_object* l_Lean_Literal_type___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; extern lean_object* l_Lean_instToExprUnit___lambda__1___closed__3; @@ -399,8 +402,10 @@ lean_object* l___regBuiltin_Lean_Elab_Term_expandNot___closed__1; lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instToExprBool___lambda__1___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__25; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_object* l_Lean_Elab_Term_expandHave(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_hasCDot___boxed(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; 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*); @@ -449,10 +454,8 @@ extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__22; lean_object* l_Lean_Elab_Term_elabStateRefT___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabNativeDecide___closed__3; lean_object* l_Lean_Elab_Term_expandShow___closed__10; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l___regBuiltin_Lean_Elab_Term_elabSubst(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_expandCDot___boxed__const__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; 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_38____closed__4; @@ -478,6 +481,7 @@ lean_object* l_Lean_Elab_Term_elabType(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; uint8_t l_Lean_Expr_isFVar(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___closed__1; extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4; @@ -501,7 +505,6 @@ lean_object* l_Lean_Elab_Term_elabSubst___closed__4; uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); lean_object* l_Lean_Elab_Term_elabParserMacro___lambda__1___closed__3; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabClosedTerm___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_object* l_Lean_Elab_Term_elabSubst___closed__9; lean_object* l_Lean_Elab_Term_elabPanic___closed__9; extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__1; @@ -520,7 +523,6 @@ extern lean_object* l_Lean_Syntax_expandInterpolatedStr___lambda__1___closed__2; lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__2; lean_object* l___regBuiltin_Lean_Elab_Term_expandBNot___closed__3; lean_object* l_Lean_Elab_Term_elabBorrowed___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_mkPairs___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNativeRefl___lambda__1___closed__7; lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -612,7 +614,6 @@ lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_getPropToDe lean_object* l_Lean_Meta_mkEqRefl___at_Lean_Elab_Term_elabNativeRefl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkAppM___at_Lean_Elab_Term_elabStateRefT___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT(lean_object*); lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabTParserMacroAux___closed__4; @@ -650,7 +651,6 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkArrow___rarg___closed__2; lean_object* l_Lean_Elab_Term_expandAssert___closed__4; lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT___closed__3; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; lean_object* l_Lean_Elab_Term_elabSubst___closed__1; lean_object* l_Lean_Elab_Term_elabAnonymousCtor_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: @@ -1697,21 +1697,21 @@ x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_64); x_67 = lean_array_push(x_59, x_66); -x_68 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_68 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_69 = lean_array_push(x_67, x_68); x_70 = lean_array_push(x_69, x_53); -x_71 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_71 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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 = lean_array_push(x_56, x_72); -x_74 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_74 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; 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 = l_Lean_Elab_Term_expandShow___closed__15; x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_78 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_79 = lean_array_push(x_77, x_78); x_80 = lean_array_push(x_79, x_55); x_81 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -1766,7 +1766,7 @@ else lean_object* x_28; lean_object* x_29; uint8_t x_30; x_28 = l_Lean_Syntax_getArg(x_17, x_14); lean_dec(x_17); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_inc(x_28); x_30 = l_Lean_Syntax_isOfKind(x_28, x_29); if (x_30 == 0) @@ -1854,7 +1854,7 @@ static lean_object* _init_l_Lean_Elab_Term_expandHave___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2; x_2 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -1864,7 +1864,7 @@ lean_object* l_Lean_Elab_Term_expandHave(lean_object* x_1, lean_object* x_2, lea _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_4 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_5 = l_Lean_mkAtomFrom(x_1, x_4); x_6 = l_Lean_mkOptionalNode___closed__2; x_7 = lean_array_push(x_6, x_5); @@ -2035,21 +2035,21 @@ x_317 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_317, 0, x_183); lean_ctor_set(x_317, 1, x_316); x_318 = lean_array_push(x_311, x_317); -x_319 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_319 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_320 = lean_array_push(x_318, x_319); x_321 = lean_array_push(x_320, x_294); -x_322 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_322 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_323 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_323, 0, x_322); lean_ctor_set(x_323, 1, x_321); x_324 = lean_array_push(x_308, x_323); -x_325 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_325 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; 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 = l_Lean_Elab_Term_expandShow___closed__15; x_328 = lean_array_push(x_327, x_326); -x_329 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_329 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_330 = lean_array_push(x_328, x_329); x_331 = lean_array_push(x_330, x_305); x_332 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2068,7 +2068,7 @@ block_246: { lean_object* x_196; uint8_t x_197; lean_dec(x_195); -x_196 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_196 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; lean_inc(x_194); x_197 = l_Lean_Syntax_isOfKind(x_194, x_196); if (x_197 == 0) @@ -2168,21 +2168,21 @@ x_228 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_228, 0, x_183); lean_ctor_set(x_228, 1, x_227); x_229 = lean_array_push(x_222, x_228); -x_230 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_230 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_231 = lean_array_push(x_229, x_230); x_232 = lean_array_push(x_231, x_205); -x_233 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_233 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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 = lean_array_push(x_219, x_234); -x_236 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_236 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_237 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_237, 0, x_236); lean_ctor_set(x_237, 1, x_235); x_238 = l_Lean_Elab_Term_expandShow___closed__15; x_239 = lean_array_push(x_238, x_237); -x_240 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_240 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_241 = lean_array_push(x_239, x_240); x_242 = lean_array_push(x_241, x_216); x_243 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2232,7 +2232,7 @@ else lean_object* x_255; lean_object* x_256; uint8_t x_257; x_255 = l_Lean_Syntax_getArg(x_194, x_22); lean_dec(x_194); -x_256 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_256 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_inc(x_255); x_257 = l_Lean_Syntax_isOfKind(x_255, x_256); if (x_257 == 0) @@ -2307,7 +2307,7 @@ 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_array_push(x_272, x_279); -x_281 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_281 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_282 = lean_array_push(x_280, x_281); x_283 = lean_array_push(x_282, x_270); x_284 = lean_alloc_ctor(1, 2, 0); @@ -2462,21 +2462,21 @@ x_164 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_164, 0, x_25); lean_ctor_set(x_164, 1, x_163); x_165 = lean_array_push(x_158, x_164); -x_166 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_166 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_167 = lean_array_push(x_165, x_166); x_168 = lean_array_push(x_167, x_143); -x_169 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_169 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); x_171 = lean_array_push(x_155, x_170); -x_172 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_172 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; 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_Lean_Elab_Term_expandShow___closed__15; x_175 = lean_array_push(x_174, x_173); -x_176 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_176 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_177 = lean_array_push(x_175, x_176); x_178 = lean_array_push(x_177, x_154); x_179 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2495,7 +2495,7 @@ block_89: { lean_object* x_41; uint8_t x_42; lean_dec(x_40); -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; lean_inc(x_39); x_42 = l_Lean_Syntax_isOfKind(x_39, x_41); if (x_42 == 0) @@ -2597,21 +2597,21 @@ x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_25); lean_ctor_set(x_71, 1, x_70); x_72 = lean_array_push(x_65, x_71); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_73 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_50); -x_76 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_76 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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_62, x_77); -x_79 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); x_81 = l_Lean_Elab_Term_expandShow___closed__15; x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_83 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_61); x_86 = l_Lean_Elab_Term_elabLetDeclCore___closed__7; @@ -2661,7 +2661,7 @@ else lean_object* x_98; lean_object* x_99; uint8_t x_100; x_98 = l_Lean_Syntax_getArg(x_39, x_22); lean_dec(x_39); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_inc(x_98); x_100 = l_Lean_Syntax_isOfKind(x_98, x_99); if (x_100 == 0) @@ -2732,7 +2732,7 @@ x_117 = lean_array_push(x_115, x_116); x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_25); lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; +x_119 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2; x_120 = lean_array_push(x_119, x_118); x_121 = lean_array_push(x_120, x_37); x_122 = l_Lean_Elab_Term_expandShow___closed__11; @@ -2747,7 +2747,7 @@ x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_126); x_129 = lean_array_push(x_121, x_128); -x_130 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_130 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_131 = lean_array_push(x_129, x_130); x_132 = lean_array_push(x_131, x_113); x_133 = lean_alloc_ctor(1, 2, 0); @@ -2812,7 +2812,7 @@ lean_object* l_Lean_Elab_Term_expandSuffices(lean_object* x_1, lean_object* x_2, _start: { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_4 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_4 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_5 = l_Lean_mkAtomFrom(x_1, x_4); x_6 = l_Lean_mkOptionalNode___closed__2; x_7 = lean_array_push(x_6, x_5); @@ -2974,7 +2974,7 @@ x_205 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_205, 0, x_182); lean_ctor_set(x_205, 1, x_204); x_206 = lean_array_push(x_202, x_205); -x_207 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_207 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_208 = lean_array_push(x_206, x_207); x_209 = lean_array_push(x_208, x_189); x_210 = l_Lean_Elab_Term_expandHave___closed__1; @@ -3033,7 +3033,7 @@ else lean_object* x_149; lean_object* x_150; uint8_t x_151; x_149 = l_Lean_Syntax_getArg(x_138, x_22); lean_dec(x_138); -x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_150 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_inc(x_149); x_151 = l_Lean_Syntax_isOfKind(x_149, x_150); if (x_151 == 0) @@ -3103,7 +3103,7 @@ x_170 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_170, 0, x_169); lean_ctor_set(x_170, 1, x_168); x_171 = lean_array_push(x_166, x_170); -x_172 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_172 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_173 = lean_array_push(x_171, x_172); x_174 = l_Lean_Elab_Term_expandShow___closed__11; x_175 = lean_array_push(x_174, x_149); @@ -3256,7 +3256,7 @@ x_111 = lean_array_push(x_109, x_110); x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_25); lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; +x_113 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2; x_114 = lean_array_push(x_113, x_112); x_115 = lean_array_push(x_114, x_37); x_116 = l_Lean_Elab_Term_expandShow___closed__8; @@ -3265,7 +3265,7 @@ x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_89); lean_ctor_set(x_118, 1, x_117); x_119 = lean_array_push(x_115, x_118); -x_120 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_120 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_121 = lean_array_push(x_119, x_120); x_122 = lean_array_push(x_121, x_96); x_123 = l_Lean_Elab_Term_expandHave___closed__1; @@ -3326,7 +3326,7 @@ else lean_object* x_50; lean_object* x_51; uint8_t x_52; x_50 = l_Lean_Syntax_getArg(x_39, x_22); lean_dec(x_39); -x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_inc(x_50); x_52 = l_Lean_Syntax_isOfKind(x_50, x_51); if (x_52 == 0) @@ -3397,7 +3397,7 @@ x_69 = lean_array_push(x_67, x_68); x_70 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_70, 0, x_25); lean_ctor_set(x_70, 1, x_69); -x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__2; +x_71 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__2; x_72 = lean_array_push(x_71, x_70); x_73 = lean_array_push(x_72, x_37); x_74 = l_Lean_Elab_Term_expandShow___closed__8; @@ -3407,7 +3407,7 @@ 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_73, x_77); -x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_80 = lean_array_push(x_78, x_79); x_81 = l_Lean_Elab_Term_expandShow___closed__11; x_82 = lean_array_push(x_81, x_50); @@ -7020,7 +7020,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Term_termElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_elabDecide___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -8874,7 +8874,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_4 = l___regBuiltin_Lean_Elab_Term_expandSorry___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -9640,11 +9640,11 @@ x_41 = lean_nat_add(x_4, x_40); x_42 = lean_ctor_get(x_3, 1); lean_inc(x_42); lean_dec(x_3); -x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_44 = l_Lean_addMacroScope(x_42, x_43, x_4); x_45 = lean_box(0); x_46 = l_Lean_instInhabitedSourceInfo___closed__1; -x_47 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_47 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_48 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); @@ -9764,11 +9764,11 @@ x_76 = lean_nat_add(x_4, x_75); x_77 = lean_ctor_get(x_3, 1); lean_inc(x_77); lean_dec(x_3); -x_78 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_78 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_79 = l_Lean_addMacroScope(x_77, x_78, x_4); x_80 = lean_box(0); x_81 = l_Lean_instInhabitedSourceInfo___closed__1; -x_82 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_82 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_83 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_83, 0, x_81); lean_ctor_set(x_83, 1, x_82); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index d4cd2544dd..d9e65a105f 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -116,7 +116,6 @@ lean_object* l_Lean_Elab_Command_elabAxiom_match__4___rarg(lean_object*, lean_ob lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualNamespace(lean_object*); lean_object* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwErrorIfErrors___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_classInductiveSyntaxToView(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Command_isDefLike___closed__4; @@ -154,6 +153,7 @@ lean_object* l_Lean_Elab_Command_elabInductiveViews(lean_object*, lean_object*, lean_object* l___regBuiltin_Lean_Elab_Command_elabAttr___closed__3; lean_object* l_Lean_Elab_Command_elabAxiom_match__3___rarg(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Command_expandBuiltinInitialize___closed__2; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; lean_object* l_Lean_Elab_Command_elabAxiom___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*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMutualPreamble___closed__4; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -6927,7 +6927,7 @@ x_57 = l_Lean_Elab_Command_expandInitCmd___closed__21; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_60 = lean_array_push(x_59, x_58); x_61 = lean_array_push(x_60, x_26); x_62 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; @@ -7128,7 +7128,7 @@ x_179 = l_Lean_Elab_Command_expandInitCmd___closed__21; x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_179); lean_ctor_set(x_180, 1, x_178); -x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_182 = lean_array_push(x_181, x_180); x_183 = lean_array_push(x_182, x_115); x_184 = l_Lean_Elab_Command_mkDefViewOfConstant___closed__6; diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 7c81b7c099..1b826ebce5 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -16,6 +16,7 @@ extern "C" { lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_MkInstanceName_collect___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__7; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__13; size_t l_USize_add(size_t, size_t); lean_object* l_Lean_Elab_expandOptDeclSig(lean_object*); lean_object* l_Lean_Elab_Command_mkDefView___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -162,7 +163,6 @@ extern lean_object* l___regBuiltin_Lean_Elab_Term_elabSort___closed__1; lean_object* l_Lean_Elab_Command_MkInstanceName_collect_match__2(lean_object*); lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_DefView___hyg_1018_(lean_object*); lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_Command_MkInstanceName_kindReplacements___closed__10; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Lean_Elab_Command_isDefLike___closed__6; lean_object* l_Lean_Elab_Command_getMainModule___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_mkDefViewOfDef_match__1___rarg(lean_object*, lean_object*); @@ -4832,7 +4832,7 @@ lean_ctor_set(x_25, 0, x_22); lean_ctor_set(x_25, 1, x_23); lean_ctor_set(x_25, 2, x_21); lean_ctor_set(x_25, 3, x_24); -x_26 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; +x_26 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; x_27 = l_Lean_mkAtomFrom(x_2, x_26); x_28 = l_Lean_Syntax_mkApp___closed__1; x_29 = lean_array_push(x_28, x_27); diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 8ac97cd534..3dc60bc1b6 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -25,6 +25,7 @@ lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_getDoLetRecVars___s lean_object* l_Lean_Elab_Term_Do_pullExitPointsAux___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_Lean_Elab_Term_Do_ToTerm_returnToTermCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkDoSeq___spec__1___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_nameSetToArray(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__5___closed__3; lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); @@ -137,6 +138,7 @@ lean_object* l_Lean_Elab_Term_Do_elabDo(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Elab_Term_Do_ToTerm_declToTermCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Do_hasReturn___spec__2(lean_object*, size_t, size_t); lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__11; lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -156,7 +158,6 @@ lean_object* l_Lean_Elab_Term_Do_getDoLetRecVars___boxed(lean_object*, lean_obje lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___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* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_getLetPatDeclVars___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeq___boxed(lean_object*); @@ -169,12 +170,14 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessag lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkDoIfView___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___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*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_let___closed__2; extern lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; lean_object* l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__11; lean_object* l_Lean_Elab_Term_expandTermFor(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode(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_Do_0__Lean_Elab_Term_Do_mkUnit___boxed(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__5; lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__8; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode_match__1(lean_object*); @@ -279,6 +282,7 @@ uint8_t l_USize_decLt(size_t, size_t); lean_object* l_Lean_Elab_Term_Do_eraseVars(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTermCore_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_expandTermReturn___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; lean_object* l_Lean_Elab_Term_Do_mkFreshJP___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_Do_ToCodeBlock_expandLiftMethod(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3___closed__3; @@ -446,6 +450,7 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__20; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkIte___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; lean_object* l_Lean_Elab_Term_Do_mkSimpleJmp___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkUVarTuple___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTermCore___closed__10; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__18; @@ -554,6 +559,7 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode_match__1___rarg(le lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_tryCatchPred___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__11; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__1___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__4; lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop_match__1___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*); @@ -596,7 +602,6 @@ lean_object* l_Lean_Elab_Term_Do_extendUpdatedVars(lean_object*, lean_object*, l lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkDoSeq___spec__1(size_t, size_t, lean_object*); lean_object* l_Std_RBNode_erase___at_Lean_Meta_ToHide_unmark___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_instInhabitedCode; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__5; lean_object* l_Lean_Meta_mkAppM___at___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___spec__1___boxed(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_38____closed__8; @@ -670,7 +675,6 @@ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_concat___ lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__32; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkJmp___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTermCore___closed__10; -extern lean_object* l_Lean_Parser_Tactic_let___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__2___closed__3; extern lean_object* l_Lean_instToExprUnit___lambda__1___closed__2; extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__13; @@ -871,7 +875,6 @@ lean_object* l_Lean_Core_mkFreshUserName___at_Lean_Elab_Term_Do_mkFreshJP___spec extern lean_object* l_Lean_Parser_Tactic_done___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__16; lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___boxed__const__1; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l_Lean_Elab_Term_Do_getLetEqnsDeclVar(lean_object*); lean_object* l_Lean_Elab_Term_Do_concat___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_Lean_Elab_Term_Do_ToTerm_continueToTermCore___closed__26; @@ -990,7 +993,6 @@ lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___closed__8; lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__1; lean_object* l_Array_foldlMUnsafe_fold___at_Lean_initFn____x40_Lean_Environment___hyg_2532____spec__2(lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Elab_Term_Do_mkIte_match__1(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_expandTermTry(lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkFreshJP_x27___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -1096,7 +1098,6 @@ lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode_match__2(lean_obje lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkTuple___spec__1___closed__7; extern lean_object* l_List_foldl___at_Lean_Meta_Match_Pattern_toMessageData___spec__1___closed__1; lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToCodeBlock_checkReassignable___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*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTermCore___closed__16; lean_object* l_Lean_Elab_Term_Do_mkTerminalAction(lean_object*); extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__9; @@ -1170,7 +1171,6 @@ lean_object* l_Lean_Elab_Term_Do_ToTerm_mkNestedTerm(lean_object*, lean_object*, lean_object* l_Lean_Elab_Term_expandTermTry(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Do_ToTerm_instInhabitedKind; lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___closed__2; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_mkJmp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Do_getDoReassignVars___closed__2; lean_object* l_List_map___at___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___spec__1(lean_object* x_1) { @@ -3751,7 +3751,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___clo _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_let___closed__3; +x_1 = l_Lean_Parser_Tactic_let___closed__2; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -5882,7 +5882,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__3___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -16607,7 +16607,7 @@ x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); lean_inc(x_10); x_11 = l_Lean_Syntax_getKind(x_10); -x_12 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_12 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_13 = lean_name_eq(x_11, x_12); if (x_13 == 0) { @@ -17264,7 +17264,7 @@ x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); lean_inc(x_10); x_11 = l_Lean_Syntax_getKind(x_10); -x_12 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_12 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_13 = lean_name_eq(x_11, x_12); if (x_13 == 0) { @@ -25968,7 +25968,7 @@ x_47 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); x_48 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__8; x_49 = lean_array_push(x_48, x_47); -x_50 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_50 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_51 = lean_array_push(x_49, x_50); x_52 = lean_array_push(x_51, x_2); x_53 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__5; @@ -25991,7 +25991,7 @@ x_56 = l_Lean_Syntax_getArg(x_1, x_8); lean_dec(x_1); x_57 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__13; x_58 = lean_array_push(x_57, x_56); -x_59 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_59 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_60 = lean_array_push(x_58, x_59); x_61 = lean_array_push(x_60, x_2); x_62 = l_Lean_Elab_Term_Do_ToTerm_seqToTermCore___closed__10; @@ -26609,12 +26609,12 @@ lean_dec(x_4); x_208 = lean_unsigned_to_nat(2u); x_209 = l_Lean_Syntax_getArg(x_1, x_208); lean_dec(x_1); -x_210 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_210 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_211 = lean_array_push(x_210, x_209); -x_212 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_212 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_213 = lean_array_push(x_211, x_212); x_214 = lean_array_push(x_213, x_2); -x_215 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_215 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_216 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_216, 0, x_215); lean_ctor_set(x_216, 1, x_214); @@ -26841,7 +26841,7 @@ x_23 = l_Lean_Syntax_getArg(x_1, x_22); lean_dec(x_1); lean_inc(x_23); x_24 = l_Lean_Syntax_getKind(x_23); -x_25 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_25 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_26 = lean_name_eq(x_24, x_25); lean_dec(x_24); if (x_26 == 0) @@ -26849,16 +26849,16 @@ if (x_26 == 0) lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_27 = l_Lean_mkOptionalNode___closed__2; x_28 = lean_array_push(x_27, x_23); -x_29 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_29 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_30 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_30, 0, x_29); lean_ctor_set(x_30, 1, x_28); -x_31 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_31 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_32 = lean_array_push(x_31, x_30); -x_33 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_33 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_34 = lean_array_push(x_32, x_33); x_35 = lean_array_push(x_34, x_2); -x_36 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_36 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); @@ -26885,16 +26885,16 @@ lean_ctor_set(x_48, 1, x_46); x_49 = l_Lean_Syntax_setArg(x_23, x_40, x_48); x_50 = l_Lean_mkOptionalNode___closed__2; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_52 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_53 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_51); -x_54 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_54 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_55 = lean_array_push(x_54, x_53); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_56 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_57 = lean_array_push(x_55, x_56); x_58 = lean_array_push(x_57, x_2); -x_59 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_59 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_60 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_60, 0, x_59); lean_ctor_set(x_60, 1, x_58); @@ -27395,21 +27395,21 @@ x_40 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_40, 0, x_32); lean_ctor_set(x_40, 1, x_39); x_41 = lean_array_push(x_34, x_40); -x_42 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_42 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_43 = lean_array_push(x_41, x_42); x_44 = lean_array_push(x_43, x_3); -x_45 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_45 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); x_47 = lean_array_push(x_23, x_46); -x_48 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_48 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); x_50 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2; x_51 = lean_array_push(x_50, x_49); -x_52 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_52 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_53 = lean_array_push(x_51, x_52); x_54 = lean_array_push(x_53, x_4); x_55 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; @@ -27458,21 +27458,21 @@ x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_69); lean_ctor_set(x_77, 1, x_76); x_78 = lean_array_push(x_71, x_77); -x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_3); -x_82 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_82 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); x_84 = lean_array_push(x_60, x_83); -x_85 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_85 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); x_87 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2; x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_89 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_90 = lean_array_push(x_88, x_89); x_91 = lean_array_push(x_90, x_4); x_92 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; @@ -27582,21 +27582,21 @@ x_128 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_128, 0, x_120); lean_ctor_set(x_128, 1, x_127); x_129 = lean_array_push(x_122, x_128); -x_130 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_130 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_131 = lean_array_push(x_129, x_130); x_132 = lean_array_push(x_131, x_3); -x_133 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_133 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_134 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_134, 0, x_133); lean_ctor_set(x_134, 1, x_132); x_135 = lean_array_push(x_111, x_134); -x_136 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_136 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; 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_Elab_Term_Do_ToTerm_mkJoinPointCore___closed__2; x_139 = lean_array_push(x_138, x_137); -x_140 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_140 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_141 = lean_array_push(x_139, x_140); x_142 = lean_array_push(x_141, x_4); x_143 = l_Lean_Elab_Term_elabLetDeclCore___closed__9; @@ -29766,7 +29766,7 @@ x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); x_47 = lean_array_push(x_31, x_46); -x_48 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_48 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_49 = lean_array_push(x_47, x_48); x_50 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_51 = lean_alloc_ctor(1, 2, 0); @@ -29832,7 +29832,7 @@ x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_31, x_22); x_86 = lean_array_push(x_85, x_33); x_87 = lean_array_push(x_86, x_33); -x_88 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_88 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_89 = lean_array_push(x_87, x_88); x_90 = lean_array_push(x_89, x_74); x_91 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -29992,7 +29992,7 @@ x_179 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_179, 0, x_178); lean_ctor_set(x_179, 1, x_177); x_180 = lean_array_push(x_164, x_179); -x_181 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_181 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_182 = lean_array_push(x_180, x_181); x_183 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_184 = lean_alloc_ctor(1, 2, 0); @@ -30058,7 +30058,7 @@ x_217 = lean_array_push(x_215, x_216); x_218 = lean_array_push(x_164, x_154); x_219 = lean_array_push(x_218, x_166); x_220 = lean_array_push(x_219, x_166); -x_221 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_221 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_222 = lean_array_push(x_220, x_221); x_223 = lean_array_push(x_222, x_207); x_224 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -30227,7 +30227,7 @@ x_314 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_314, 0, x_313); lean_ctor_set(x_314, 1, x_312); x_315 = lean_array_push(x_299, x_314); -x_316 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_316 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_317 = lean_array_push(x_315, x_316); x_318 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_319 = lean_alloc_ctor(1, 2, 0); @@ -30237,7 +30237,7 @@ x_320 = lean_array_push(x_299, x_319); x_321 = lean_array_push(x_299, x_289); x_322 = lean_array_push(x_321, x_301); x_323 = lean_array_push(x_322, x_301); -x_324 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_324 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_325 = lean_array_push(x_323, x_324); x_326 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_327 = lean_array_push(x_300, x_326); @@ -30350,7 +30350,7 @@ x_390 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_390, 0, x_389); lean_ctor_set(x_390, 1, x_388); x_391 = lean_array_push(x_375, x_390); -x_392 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_392 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_393 = lean_array_push(x_391, x_392); x_394 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_395 = lean_alloc_ctor(1, 2, 0); @@ -30447,7 +30447,7 @@ 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 = lean_array_push(x_429, x_444); -x_446 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_446 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_447 = lean_array_push(x_445, x_446); x_448 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_449 = lean_alloc_ctor(1, 2, 0); @@ -30457,7 +30457,7 @@ x_450 = lean_array_push(x_429, x_449); x_451 = lean_array_push(x_429, x_418); x_452 = lean_array_push(x_451, x_431); x_453 = lean_array_push(x_452, x_431); -x_454 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_454 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_455 = lean_array_push(x_453, x_454); x_456 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_457 = lean_array_push(x_430, x_456); @@ -30572,7 +30572,7 @@ 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_506, x_521); -x_523 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_523 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_524 = lean_array_push(x_522, x_523); x_525 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_526 = lean_alloc_ctor(1, 2, 0); @@ -30670,7 +30670,7 @@ x_575 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_575, 0, x_574); lean_ctor_set(x_575, 1, x_573); x_576 = lean_array_push(x_560, x_575); -x_577 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_577 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_578 = lean_array_push(x_576, x_577); x_579 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_580 = lean_alloc_ctor(1, 2, 0); @@ -30705,11 +30705,11 @@ lean_ctor_set(x_598, 1, x_596); lean_ctor_set(x_598, 2, x_595); lean_ctor_set(x_598, 3, x_597); x_599 = lean_array_push(x_560, x_598); -x_600 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_600 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_552); lean_inc(x_553); x_601 = l_Lean_addMacroScope(x_553, x_600, x_552); -x_602 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_602 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_603 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_603, 0, x_557); lean_ctor_set(x_603, 1, x_602); @@ -30747,7 +30747,7 @@ x_618 = lean_array_push(x_616, x_617); x_619 = lean_array_push(x_560, x_551); x_620 = lean_array_push(x_619, x_562); x_621 = lean_array_push(x_620, x_562); -x_622 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_622 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_623 = lean_array_push(x_621, x_622); lean_inc(x_608); x_624 = lean_array_push(x_623, x_608); @@ -30964,7 +30964,7 @@ x_743 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_743, 0, x_742); lean_ctor_set(x_743, 1, x_741); x_744 = lean_array_push(x_728, x_743); -x_745 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_745 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_746 = lean_array_push(x_744, x_745); x_747 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_748 = lean_alloc_ctor(1, 2, 0); @@ -30999,11 +30999,11 @@ lean_ctor_set(x_766, 1, x_764); lean_ctor_set(x_766, 2, x_763); lean_ctor_set(x_766, 3, x_765); x_767 = lean_array_push(x_728, x_766); -x_768 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_768 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_720); lean_inc(x_721); x_769 = l_Lean_addMacroScope(x_721, x_768, x_720); -x_770 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_770 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_771 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_771, 0, x_725); lean_ctor_set(x_771, 1, x_770); @@ -31041,7 +31041,7 @@ x_786 = lean_array_push(x_784, x_785); x_787 = lean_array_push(x_728, x_718); x_788 = lean_array_push(x_787, x_730); x_789 = lean_array_push(x_788, x_730); -x_790 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_790 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_791 = lean_array_push(x_789, x_790); lean_inc(x_776); x_792 = lean_array_push(x_791, x_776); @@ -31272,7 +31272,7 @@ x_913 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_913, 0, x_912); lean_ctor_set(x_913, 1, x_911); x_914 = lean_array_push(x_898, x_913); -x_915 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_915 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_916 = lean_array_push(x_914, x_915); x_917 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_918 = lean_alloc_ctor(1, 2, 0); @@ -31282,7 +31282,7 @@ x_919 = lean_array_push(x_898, x_918); x_920 = lean_array_push(x_898, x_888); x_921 = lean_array_push(x_920, x_900); x_922 = lean_array_push(x_921, x_900); -x_923 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_923 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_924 = lean_array_push(x_922, x_923); x_925 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_926 = lean_array_push(x_899, x_925); @@ -31461,7 +31461,7 @@ x_1021 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1021, 0, x_1020); lean_ctor_set(x_1021, 1, x_1019); x_1022 = lean_array_push(x_1006, x_1021); -x_1023 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_1023 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_1024 = lean_array_push(x_1022, x_1023); x_1025 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1026 = lean_alloc_ctor(1, 2, 0); @@ -31471,7 +31471,7 @@ x_1027 = lean_array_push(x_1006, x_1026); x_1028 = lean_array_push(x_1006, x_995); x_1029 = lean_array_push(x_1028, x_1008); x_1030 = lean_array_push(x_1029, x_1008); -x_1031 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_1031 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_1032 = lean_array_push(x_1030, x_1031); x_1033 = l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__16; x_1034 = lean_array_push(x_1007, x_1033); @@ -31651,7 +31651,7 @@ x_1130 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1130, 0, x_1129); lean_ctor_set(x_1130, 1, x_1128); x_1131 = lean_array_push(x_1115, x_1130); -x_1132 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_1132 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_1133 = lean_array_push(x_1131, x_1132); x_1134 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1135 = lean_alloc_ctor(1, 2, 0); @@ -31686,11 +31686,11 @@ lean_ctor_set(x_1153, 1, x_1151); lean_ctor_set(x_1153, 2, x_1150); lean_ctor_set(x_1153, 3, x_1152); x_1154 = lean_array_push(x_1115, x_1153); -x_1155 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_1155 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_1107); lean_inc(x_1108); x_1156 = l_Lean_addMacroScope(x_1108, x_1155, x_1107); -x_1157 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1157 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_1158 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1158, 0, x_1112); lean_ctor_set(x_1158, 1, x_1157); @@ -31728,7 +31728,7 @@ x_1173 = lean_array_push(x_1171, x_1172); x_1174 = lean_array_push(x_1115, x_1106); x_1175 = lean_array_push(x_1174, x_1117); x_1176 = lean_array_push(x_1175, x_1117); -x_1177 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_1177 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_1178 = lean_array_push(x_1176, x_1177); lean_inc(x_1163); x_1179 = lean_array_push(x_1178, x_1163); @@ -31959,7 +31959,7 @@ x_1304 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1304, 0, x_1303); lean_ctor_set(x_1304, 1, x_1302); x_1305 = lean_array_push(x_1289, x_1304); -x_1306 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_1306 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_1307 = lean_array_push(x_1305, x_1306); x_1308 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1309 = lean_alloc_ctor(1, 2, 0); @@ -31994,11 +31994,11 @@ lean_ctor_set(x_1327, 1, x_1325); lean_ctor_set(x_1327, 2, x_1324); lean_ctor_set(x_1327, 3, x_1326); x_1328 = lean_array_push(x_1289, x_1327); -x_1329 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_1329 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_1281); lean_inc(x_1282); x_1330 = l_Lean_addMacroScope(x_1282, x_1329, x_1281); -x_1331 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1331 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_1332 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1332, 0, x_1286); lean_ctor_set(x_1332, 1, x_1331); @@ -32036,7 +32036,7 @@ x_1347 = lean_array_push(x_1345, x_1346); x_1348 = lean_array_push(x_1289, x_1279); x_1349 = lean_array_push(x_1348, x_1291); x_1350 = lean_array_push(x_1349, x_1291); -x_1351 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_1351 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_1352 = lean_array_push(x_1350, x_1351); lean_inc(x_1337); x_1353 = lean_array_push(x_1352, x_1337); @@ -32274,7 +32274,7 @@ x_1479 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1479, 0, x_1478); lean_ctor_set(x_1479, 1, x_1477); x_1480 = lean_array_push(x_1464, x_1479); -x_1481 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_1481 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_1482 = lean_array_push(x_1480, x_1481); x_1483 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1484 = lean_alloc_ctor(1, 2, 0); @@ -32309,11 +32309,11 @@ lean_ctor_set(x_1502, 1, x_1500); lean_ctor_set(x_1502, 2, x_1499); lean_ctor_set(x_1502, 3, x_1501); x_1503 = lean_array_push(x_1464, x_1502); -x_1504 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_1504 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_1456); lean_inc(x_1457); x_1505 = l_Lean_addMacroScope(x_1457, x_1504, x_1456); -x_1506 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1506 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_1507 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1507, 0, x_1461); lean_ctor_set(x_1507, 1, x_1506); @@ -32351,7 +32351,7 @@ x_1522 = lean_array_push(x_1520, x_1521); x_1523 = lean_array_push(x_1464, x_1455); x_1524 = lean_array_push(x_1523, x_1466); x_1525 = lean_array_push(x_1524, x_1466); -x_1526 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_1526 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_1527 = lean_array_push(x_1525, x_1526); lean_inc(x_1512); x_1528 = lean_array_push(x_1527, x_1512); @@ -32568,7 +32568,7 @@ x_1644 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1644, 0, x_1643); lean_ctor_set(x_1644, 1, x_1642); x_1645 = lean_array_push(x_1629, x_1644); -x_1646 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_1646 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_1647 = lean_array_push(x_1645, x_1646); x_1648 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1649 = lean_alloc_ctor(1, 2, 0); @@ -32603,11 +32603,11 @@ lean_ctor_set(x_1667, 1, x_1665); lean_ctor_set(x_1667, 2, x_1664); lean_ctor_set(x_1667, 3, x_1666); x_1668 = lean_array_push(x_1629, x_1667); -x_1669 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_1669 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_1621); lean_inc(x_1622); x_1670 = l_Lean_addMacroScope(x_1622, x_1669, x_1621); -x_1671 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1671 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_1672 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1672, 0, x_1626); lean_ctor_set(x_1672, 1, x_1671); @@ -32645,7 +32645,7 @@ x_1687 = lean_array_push(x_1685, x_1686); x_1688 = lean_array_push(x_1629, x_1619); x_1689 = lean_array_push(x_1688, x_1631); x_1690 = lean_array_push(x_1689, x_1631); -x_1691 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_1691 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_1692 = lean_array_push(x_1690, x_1691); lean_inc(x_1677); x_1693 = lean_array_push(x_1692, x_1677); @@ -32865,7 +32865,7 @@ x_1810 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1810, 0, x_1809); lean_ctor_set(x_1810, 1, x_1808); x_1811 = lean_array_push(x_1795, x_1810); -x_1812 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_1812 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_1813 = lean_array_push(x_1811, x_1812); x_1814 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_1815 = lean_alloc_ctor(1, 2, 0); @@ -32900,11 +32900,11 @@ lean_ctor_set(x_1833, 1, x_1831); lean_ctor_set(x_1833, 2, x_1830); lean_ctor_set(x_1833, 3, x_1832); x_1834 = lean_array_push(x_1795, x_1833); -x_1835 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_1835 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_1787); lean_inc(x_1788); x_1836 = l_Lean_addMacroScope(x_1788, x_1835, x_1787); -x_1837 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_1837 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_1838 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_1838, 0, x_1792); lean_ctor_set(x_1838, 1, x_1837); @@ -32943,7 +32943,7 @@ x_1853 = lean_array_push(x_1851, x_1852); x_1854 = lean_array_push(x_1795, x_1786); x_1855 = lean_array_push(x_1854, x_1797); x_1856 = lean_array_push(x_1855, x_1797); -x_1857 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_1857 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_1858 = lean_array_push(x_1856, x_1857); lean_inc(x_1843); x_1859 = lean_array_push(x_1858, x_1843); @@ -33223,7 +33223,7 @@ x_2011 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_2011, 0, x_2010); lean_ctor_set(x_2011, 1, x_2009); x_2012 = lean_array_push(x_1996, x_2011); -x_2013 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_2013 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_2014 = lean_array_push(x_2012, x_2013); x_2015 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_2016 = lean_alloc_ctor(1, 2, 0); @@ -33258,11 +33258,11 @@ lean_ctor_set(x_2034, 1, x_2032); lean_ctor_set(x_2034, 2, x_2031); lean_ctor_set(x_2034, 3, x_2033); x_2035 = lean_array_push(x_1996, x_2034); -x_2036 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_2036 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_inc(x_1988); lean_inc(x_1989); x_2037 = l_Lean_addMacroScope(x_1989, x_2036, x_1988); -x_2038 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_2038 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_2039 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_2039, 0, x_1993); lean_ctor_set(x_2039, 1, x_2038); @@ -33301,7 +33301,7 @@ x_2054 = lean_array_push(x_2052, x_2053); x_2055 = lean_array_push(x_1996, x_1986); x_2056 = lean_array_push(x_2055, x_1998); x_2057 = lean_array_push(x_2056, x_1998); -x_2058 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_2058 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_2059 = lean_array_push(x_2057, x_2058); lean_inc(x_2044); x_2060 = lean_array_push(x_2059, x_2044); @@ -34750,11 +34750,11 @@ if (x_49 == 0) 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; x_50 = lean_ctor_get(x_48, 0); x_51 = lean_ctor_get(x_48, 1); -x_52 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_52 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_53 = l_Lean_addMacroScope(x_44, x_52, x_4); x_54 = lean_box(0); x_55 = l_Lean_instInhabitedSourceInfo___closed__1; -x_56 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_56 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_57 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_57, 0, x_55); lean_ctor_set(x_57, 1, x_56); @@ -34798,11 +34798,11 @@ x_76 = lean_ctor_get(x_48, 1); lean_inc(x_76); lean_inc(x_75); lean_dec(x_48); -x_77 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_77 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_78 = l_Lean_addMacroScope(x_44, x_77, x_4); x_79 = lean_box(0); x_80 = l_Lean_instInhabitedSourceInfo___closed__1; -x_81 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_81 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_80); lean_ctor_set(x_82, 1, x_81); @@ -34861,11 +34861,11 @@ if (lean_is_exclusive(x_101)) { lean_dec_ref(x_101); x_105 = lean_box(0); } -x_106 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_106 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_107 = l_Lean_addMacroScope(x_44, x_106, x_4); x_108 = lean_box(0); x_109 = l_Lean_instInhabitedSourceInfo___closed__1; -x_110 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_110 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_111 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_111, 0, x_109); lean_ctor_set(x_111, 1, x_110); @@ -34987,11 +34987,11 @@ if (lean_is_exclusive(x_142)) { lean_dec_ref(x_142); x_147 = lean_box(0); } -x_148 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_148 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_149 = l_Lean_addMacroScope(x_136, x_148, x_4); x_150 = lean_box(0); x_151 = l_Lean_instInhabitedSourceInfo___closed__1; -x_152 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_152 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_153 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_153, 0, x_151); lean_ctor_set(x_153, 1, x_152); @@ -35234,11 +35234,11 @@ if (lean_is_exclusive(x_212)) { lean_dec_ref(x_212); x_217 = lean_box(0); } -x_218 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_218 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_219 = l_Lean_addMacroScope(x_205, x_218, x_4); x_220 = lean_box(0); x_221 = l_Lean_instInhabitedSourceInfo___closed__1; -x_222 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_222 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_223 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_223, 0, x_221); lean_ctor_set(x_223, 1, x_222); @@ -35907,7 +35907,7 @@ x_54 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_54, 0, x_37); lean_ctor_set(x_54, 1, x_53); x_55 = lean_array_push(x_44, x_54); -x_56 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_56 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_57 = lean_array_push(x_55, x_56); lean_inc(x_35); x_58 = lean_alloc_ctor(1, 2, 0); @@ -36085,7 +36085,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___clo _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_2 = l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___closed__6; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -36275,7 +36275,7 @@ x_73 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_73, 0, x_72); lean_ctor_set(x_73, 1, x_71); x_74 = lean_array_push(x_62, x_73); -x_75 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_75 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_76 = lean_array_push(x_74, x_75); x_77 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_78 = lean_alloc_ctor(1, 2, 0); @@ -36285,7 +36285,7 @@ x_79 = lean_array_push(x_62, x_78); x_80 = lean_array_push(x_62, x_22); x_81 = lean_array_push(x_80, x_64); x_82 = lean_array_push(x_81, x_64); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_83 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_61); x_86 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36293,7 +36293,7 @@ x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); x_88 = lean_array_push(x_62, x_87); -x_89 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_89 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); @@ -36370,7 +36370,7 @@ 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 = lean_array_push(x_120, x_131); -x_133 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_133 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_134 = lean_array_push(x_132, x_133); x_135 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_136 = lean_alloc_ctor(1, 2, 0); @@ -36380,7 +36380,7 @@ x_137 = lean_array_push(x_120, x_136); x_138 = lean_array_push(x_120, x_22); x_139 = lean_array_push(x_138, x_122); x_140 = lean_array_push(x_139, x_122); -x_141 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_141 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_142 = lean_array_push(x_140, x_141); x_143 = lean_array_push(x_142, x_119); x_144 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36388,7 +36388,7 @@ x_145 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_145, 0, x_144); lean_ctor_set(x_145, 1, x_143); x_146 = lean_array_push(x_120, x_145); -x_147 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_147 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_148 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_148, 0, x_147); lean_ctor_set(x_148, 1, x_146); @@ -36494,7 +36494,7 @@ 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 = lean_array_push(x_188, x_199); -x_201 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_201 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_202 = lean_array_push(x_200, x_201); x_203 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_204 = lean_alloc_ctor(1, 2, 0); @@ -36504,7 +36504,7 @@ x_205 = lean_array_push(x_188, x_204); x_206 = lean_array_push(x_188, x_22); x_207 = lean_array_push(x_206, x_190); x_208 = lean_array_push(x_207, x_190); -x_209 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_209 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_210 = lean_array_push(x_208, x_209); x_211 = lean_array_push(x_210, x_187); x_212 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36512,7 +36512,7 @@ x_213 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_213, 0, x_212); lean_ctor_set(x_213, 1, x_211); x_214 = lean_array_push(x_188, x_213); -x_215 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_215 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_216 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_216, 0, x_215); lean_ctor_set(x_216, 1, x_214); @@ -36589,7 +36589,7 @@ x_257 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_257, 0, x_256); lean_ctor_set(x_257, 1, x_255); x_258 = lean_array_push(x_246, x_257); -x_259 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_259 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_260 = lean_array_push(x_258, x_259); x_261 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_262 = lean_alloc_ctor(1, 2, 0); @@ -36599,7 +36599,7 @@ x_263 = lean_array_push(x_246, x_262); x_264 = lean_array_push(x_246, x_22); x_265 = lean_array_push(x_264, x_248); x_266 = lean_array_push(x_265, x_248); -x_267 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_267 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_268 = lean_array_push(x_266, x_267); x_269 = lean_array_push(x_268, x_245); x_270 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36607,7 +36607,7 @@ x_271 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_271, 0, x_270); lean_ctor_set(x_271, 1, x_269); x_272 = lean_array_push(x_246, x_271); -x_273 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_273 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_274 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_274, 0, x_273); lean_ctor_set(x_274, 1, x_272); @@ -36749,7 +36749,7 @@ x_335 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_335, 0, x_334); lean_ctor_set(x_335, 1, x_333); x_336 = lean_array_push(x_324, x_335); -x_337 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_337 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_338 = lean_array_push(x_336, x_337); x_339 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_340 = lean_alloc_ctor(1, 2, 0); @@ -36759,7 +36759,7 @@ x_341 = lean_array_push(x_324, x_340); x_342 = lean_array_push(x_324, x_22); x_343 = lean_array_push(x_342, x_326); x_344 = lean_array_push(x_343, x_326); -x_345 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_345 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_346 = lean_array_push(x_344, x_345); x_347 = lean_array_push(x_346, x_323); x_348 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36767,7 +36767,7 @@ x_349 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_349, 0, x_348); lean_ctor_set(x_349, 1, x_347); x_350 = lean_array_push(x_324, x_349); -x_351 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_351 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_352 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_352, 0, x_351); lean_ctor_set(x_352, 1, x_350); @@ -36844,7 +36844,7 @@ x_393 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_393, 0, x_392); lean_ctor_set(x_393, 1, x_391); x_394 = lean_array_push(x_382, x_393); -x_395 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_395 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_396 = lean_array_push(x_394, x_395); x_397 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_398 = lean_alloc_ctor(1, 2, 0); @@ -36854,7 +36854,7 @@ x_399 = lean_array_push(x_382, x_398); x_400 = lean_array_push(x_382, x_22); x_401 = lean_array_push(x_400, x_384); x_402 = lean_array_push(x_401, x_384); -x_403 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_403 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_404 = lean_array_push(x_402, x_403); x_405 = lean_array_push(x_404, x_381); x_406 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -36862,7 +36862,7 @@ x_407 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_407, 0, x_406); lean_ctor_set(x_407, 1, x_405); x_408 = lean_array_push(x_382, x_407); -x_409 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_409 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_410 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_410, 0, x_409); lean_ctor_set(x_410, 1, x_408); @@ -37938,7 +37938,7 @@ x_63 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_63, 0, x_62); lean_ctor_set(x_63, 1, x_61); x_64 = lean_array_push(x_52, x_63); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_65 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_66 = lean_array_push(x_64, x_65); x_67 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_68 = lean_alloc_ctor(1, 2, 0); @@ -37948,7 +37948,7 @@ x_69 = lean_array_push(x_52, x_68); x_70 = lean_array_push(x_52, x_21); x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_54); -x_73 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_73 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_74 = lean_array_push(x_72, x_73); x_75 = lean_array_push(x_74, x_51); x_76 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -38055,7 +38055,7 @@ x_130 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_130, 0, x_129); lean_ctor_set(x_130, 1, x_128); x_131 = lean_array_push(x_119, x_130); -x_132 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_132 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_133 = lean_array_push(x_131, x_132); x_134 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_135 = lean_alloc_ctor(1, 2, 0); @@ -38065,7 +38065,7 @@ x_136 = lean_array_push(x_119, x_135); x_137 = lean_array_push(x_119, x_21); x_138 = lean_array_push(x_137, x_121); x_139 = lean_array_push(x_138, x_121); -x_140 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_140 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_141 = lean_array_push(x_139, x_140); x_142 = lean_array_push(x_141, x_118); x_143 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -38208,7 +38208,7 @@ x_207 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_207, 0, x_206); lean_ctor_set(x_207, 1, x_205); x_208 = lean_array_push(x_196, x_207); -x_209 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_209 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_210 = lean_array_push(x_208, x_209); x_211 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_212 = lean_alloc_ctor(1, 2, 0); @@ -38218,7 +38218,7 @@ x_213 = lean_array_push(x_196, x_212); x_214 = lean_array_push(x_196, x_21); x_215 = lean_array_push(x_214, x_198); x_216 = lean_array_push(x_215, x_198); -x_217 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_217 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_218 = lean_array_push(x_216, x_217); x_219 = lean_array_push(x_218, x_195); x_220 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -38309,7 +38309,7 @@ x_268 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_268, 0, x_267); lean_ctor_set(x_268, 1, x_266); x_269 = lean_array_push(x_257, x_268); -x_270 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_270 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_271 = lean_array_push(x_269, x_270); x_272 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_273 = lean_alloc_ctor(1, 2, 0); @@ -38319,10 +38319,10 @@ x_274 = lean_array_push(x_257, x_273); x_275 = lean_array_push(x_257, x_244); x_276 = lean_array_push(x_275, x_259); x_277 = lean_array_push(x_276, x_259); -x_278 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_278 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_279 = lean_array_push(x_277, x_278); x_280 = lean_array_push(x_279, x_256); -x_281 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_281 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_282 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_282, 0, x_281); lean_ctor_set(x_282, 1, x_280); @@ -38960,7 +38960,7 @@ static lean_object* _init_l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_2 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_3 = lean_array_push(x_1, x_2); return x_3; @@ -39243,7 +39243,7 @@ x_101 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_101, 0, x_100); lean_ctor_set(x_101, 1, x_99); x_102 = lean_array_push(x_42, x_101); -x_103 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_103 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_104 = lean_array_push(x_102, x_103); x_105 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_106 = lean_alloc_ctor(1, 2, 0); @@ -39252,7 +39252,7 @@ lean_ctor_set(x_106, 1, x_104); x_107 = lean_array_push(x_42, x_106); x_108 = lean_array_push(x_56, x_88); x_109 = lean_array_push(x_108, x_88); -x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_110 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_111 = lean_array_push(x_109, x_110); x_112 = lean_array_push(x_111, x_86); x_113 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -39340,7 +39340,7 @@ x_158 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_158, 0, x_157); lean_ctor_set(x_158, 1, x_156); x_159 = lean_array_push(x_42, x_158); -x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_160 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_161 = lean_array_push(x_159, x_160); x_162 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_163 = lean_alloc_ctor(1, 2, 0); @@ -39349,7 +39349,7 @@ lean_ctor_set(x_163, 1, x_161); x_164 = lean_array_push(x_42, x_163); x_165 = lean_array_push(x_56, x_145); x_166 = lean_array_push(x_165, x_145); -x_167 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_167 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_168 = lean_array_push(x_166, x_167); x_169 = lean_array_push(x_168, x_143); x_170 = l_Lean_Elab_Term_elabLetDeclCore___closed__2; @@ -39623,7 +39623,7 @@ x_324 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_324, 0, x_323); lean_ctor_set(x_324, 1, x_322); x_325 = lean_array_push(x_230, x_324); -x_326 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_326 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_327 = lean_array_push(x_325, x_326); x_328 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__8; x_329 = lean_alloc_ctor(1, 2, 0); @@ -39633,7 +39633,7 @@ x_330 = lean_array_push(x_230, x_329); x_331 = lean_array_push(x_230, x_32); x_332 = lean_array_push(x_331, x_263); x_333 = lean_array_push(x_332, x_263); -x_334 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_334 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_335 = lean_array_push(x_333, x_334); x_336 = lean_array_push(x_311, x_232); x_337 = l_Lean_Elab_Term_Do_ToTerm_matchNestedTermResult___closed__39; @@ -39777,9 +39777,9 @@ lean_ctor_set(x_415, 1, x_413); lean_ctor_set(x_415, 2, x_412); lean_ctor_set(x_415, 3, x_414); x_416 = lean_array_push(x_230, x_415); -x_417 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_417 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_418 = l_Lean_addMacroScope(x_305, x_417, x_302); -x_419 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__9; +x_419 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; x_420 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_420, 0, x_237); lean_ctor_set(x_420, 1, x_419); diff --git a/stage0/stdlib/Lean/Elab/LetRec.c b/stage0/stdlib/Lean/Elab/LetRec.c index cd9743a588..097146d061 100644 --- a/stage0/stdlib/Lean/Elab/LetRec.c +++ b/stage0/stdlib/Lean/Elab/LetRec.c @@ -37,6 +37,7 @@ lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_abortIfContainsSynth lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Elab_Term_0__Lean_Elab_Term_tryPureCoe_x3f___spec__3___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* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___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_Meta_mkFreshExprMVar___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -139,7 +140,6 @@ lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Term_0__Lean_Ela lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__8___lambda__1___closed__1; lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_withDeclName___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView_match__1(lean_object*); lean_object* l_Lean_Elab_elabAttr___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_LetRec_0__Lean_Elab_Term_mkLetRecDeclView___spec__8___lambda__1___closed__3; @@ -989,7 +989,7 @@ x_15 = l_Lean_Syntax_isOfKind(x_13, x_14); if (x_15 == 0) { lean_object* x_16; uint8_t x_17; lean_object* x_18; -x_16 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_16 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_inc(x_13); x_17 = l_Lean_Syntax_isOfKind(x_13, x_16); if (x_17 == 0) diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index 7e9be307f6..8d00f0256d 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -21,10 +21,12 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_pr lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType_match__3(lean_object*); extern lean_object* l_Lean_instToExprName___closed__1; extern lean_object* l_Lean_Name_toString___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___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_array_set(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabNoMatch___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_getNumExplicitCtorParams___lambda__1(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_8830____closed__13; lean_object* l_List_map___at_Lean_Elab_Term_reportMatcherResultErrors___spec__1(lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__8; lean_object* l_Lean_Elab_Term_elabMatch_match__2(lean_object*); @@ -83,7 +85,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_Ct lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__9; lean_object* l_Lean_addTrace___at_Lean_Elab_Term_CollectPatternVars_main___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_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__14; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp_match__1(lean_object*); lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Elab_Term_elabMatchAltView___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabPatterns___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -113,6 +114,7 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_th lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_mkMVarSyntax___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l_Lean_Elab_Term_expandMacrosInPatterns___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorAppAux_match__3(lean_object*); lean_object* l_Lean_Meta_getFVarLocalDecl___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -135,6 +137,7 @@ lean_object* l_Lean_mkMVar(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern___rarg___closed__2; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__15; lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__8(lean_object*); extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__12; @@ -142,6 +145,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_ToDepElimPattern_main___ lean_object* l_Lean_Meta_kabstract___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); extern lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___closed__7; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__8; lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f_match__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__3___closed__3; @@ -180,6 +184,7 @@ lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___lambda__2(lean_object*, le lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_withExistingLocalDecls___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__3(lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_elabMatch___spec__1___boxed(lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop___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*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_nameToPattern___closed__9; lean_object* l_Lean_Meta_mkLambdaFVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -232,6 +237,7 @@ lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_ob lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___lambda__1___boxed(lean_object**); lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__4___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___rarg(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_8830____closed__2; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_isAuxDiscrName___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__8; lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_instInhabitedContext; @@ -348,6 +354,7 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_State_found___default; lean_object* l_Lean_Elab_Term_ToDepElimPattern_main_match__2(lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___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_addTrace___at_Lean_Elab_Term_elabMatchAltView___spec__1(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_8830____closed__14; lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_quotedNameToPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__11(lean_object*); @@ -413,7 +420,7 @@ lean_object* l_Lean_Elab_Term_synthesizeSyntheticMVars_loop(uint8_t, lean_object lean_object* l_Array_mapSepElemsM___at_Lean_Elab_Term_CollectPatternVars_collect___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_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType_match__2(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1; -extern lean_object* l_Lean_Parser_Tactic_let___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; lean_object* l_Lean_Elab_Term_finalizePatternDecls_match__2(lean_object*); lean_object* l_Lean_Elab_Term_resolveName(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_elabMatch_match__19(lean_object*); @@ -448,7 +455,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTyp 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_Array_forInUnsafe_loop___at_Lean_Elab_Term_getPatternsVars___spec__2(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___regBuiltin_Lean_Elab_Term_elabInaccessible(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_collectPatternVars_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_CollectPatternVars_resolveId_x3f_match__3(lean_object*); @@ -644,11 +650,8 @@ lean_object* l_Lean_LocalContext_addDecl(lean_object*, lean_object*); lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkLocalDeclFor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___closed__3; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withDepElimPatterns___spec__1(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_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_Parser_registerBuiltinNodeKind(lean_object*, lean_object*); uint8_t l_Lean_Meta_Match_Pattern_hasExprMVar(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processImplicitArg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -723,7 +726,6 @@ lean_object* l_Lean_Elab_Term_elabMatchAltView___closed__1; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_tryPostponeIfDiscrTypeIsMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_ToDepElimPattern_main___spec__5(lean_object*, lean_object*, size_t, size_t); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__7; lean_object* l_Lean_Meta_inferType___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -818,7 +820,6 @@ lean_object* l_Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorApp_match__3 lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabDiscrsWitMatchType___spec__1___lambda__1___closed__1; lean_object* l_Lean_Elab_throwIllFormedSyntax___at_Lean_Elab_Term_elabStrLit___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_isNextArgAccessible___boxed(lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_pushNewArg_match__1(lean_object*); lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_CtorApp_processCtorAppAux_match__1(lean_object*); lean_object* l_Lean_Elab_Term_elabMatch_match__17___rarg(lean_object*, lean_object*, lean_object*); @@ -847,7 +848,6 @@ lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_CollectPatternVars_ge extern lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__4; lean_object* l_Lean_Elab_Term_instToStringPatternVar___closed__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedTypeAndDiscrs_match__1___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___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* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withElaboratedLHS___rarg___boxed__const__1; lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_loop_match__1___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -926,24 +926,24 @@ x_18 = lean_array_push(x_17, x_3); x_19 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_20 = lean_array_push(x_18, x_19); x_21 = lean_array_push(x_20, x_19); -x_22 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_22 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_23 = lean_array_push(x_21, x_22); x_24 = lean_array_push(x_23, x_2); -x_25 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_25 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); x_27 = lean_array_push(x_17, x_26); -x_28 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_28 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_29 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_29, 0, x_28); lean_ctor_set(x_29, 1, x_27); -x_30 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_31 = lean_array_push(x_30, x_29); -x_32 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_32 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_33 = lean_array_push(x_31, x_32); x_34 = lean_array_push(x_33, x_4); -x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_35 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); @@ -1034,24 +1034,24 @@ x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_26); x_29 = lean_array_push(x_21, x_28); -x_30 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_31 = lean_array_push(x_29, x_30); x_32 = lean_array_push(x_31, x_2); -x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_33 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); x_35 = lean_array_push(x_18, x_34); -x_36 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_36 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_37 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); -x_38 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_38 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_39 = lean_array_push(x_38, x_37); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_40 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_41 = lean_array_push(x_39, x_40); x_42 = lean_array_push(x_41, x_5); -x_43 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_43 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_43); lean_ctor_set(x_44, 1, x_42); @@ -25647,7 +25647,7 @@ if (x_29 == 0) { lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; x_30 = lean_ctor_get(x_28, 0); -x_31 = l_Lean_Parser_Tactic_let___closed__1; +x_31 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_inc(x_6); x_32 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_32, 0, x_6); @@ -25665,24 +25665,24 @@ x_37 = lean_array_push(x_33, x_36); x_38 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_39 = lean_array_push(x_37, x_38); x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; +x_41 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; lean_inc(x_6); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_6); lean_ctor_set(x_42, 1, x_41); x_43 = lean_array_push(x_40, x_42); x_44 = lean_array_push(x_43, x_10); -x_45 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_45 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_46 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_44); x_47 = lean_array_push(x_33, x_46); -x_48 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_48 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_49 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_49, 0, x_48); lean_ctor_set(x_49, 1, x_47); x_50 = lean_array_push(x_34, x_49); -x_51 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_51 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_6); lean_ctor_set(x_52, 1, x_51); @@ -25693,7 +25693,7 @@ lean_ctor_set(x_55, 0, x_54); lean_ctor_set(x_55, 1, x_53); x_56 = lean_array_push(x_50, x_55); x_57 = lean_array_push(x_56, x_23); -x_58 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_58 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); @@ -25708,7 +25708,7 @@ x_61 = lean_ctor_get(x_28, 1); lean_inc(x_61); lean_inc(x_60); lean_dec(x_28); -x_62 = l_Lean_Parser_Tactic_let___closed__1; +x_62 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_inc(x_6); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_6); @@ -25726,24 +25726,24 @@ x_68 = lean_array_push(x_64, x_67); x_69 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_70 = lean_array_push(x_68, x_69); x_71 = lean_array_push(x_70, x_69); -x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; +x_72 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; lean_inc(x_6); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_6); lean_ctor_set(x_73, 1, x_72); x_74 = lean_array_push(x_71, x_73); x_75 = lean_array_push(x_74, x_10); -x_76 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_76 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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_64, x_77); -x_79 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_80 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_78); x_81 = lean_array_push(x_65, x_80); -x_82 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_82 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_6); lean_ctor_set(x_83, 1, x_82); @@ -25754,7 +25754,7 @@ lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); x_87 = lean_array_push(x_81, x_86); x_88 = lean_array_push(x_87, x_23); -x_89 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_89 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_90 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_88); diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 9972328be5..e588bfb230 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -20,6 +20,7 @@ lean_object* lean_expr_update_forall(lean_object*, uint8_t, lean_object*, lean_o lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_expandWhereDeclsAsStructInst___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_removeUnused(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_8830____closed__13; lean_object* l_Lean_extractMacroScopes(lean_object*); lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___lambda__2___closed__3; lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -502,7 +503,6 @@ lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_Fix lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___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_checkNotAlreadyDeclared___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_elabModifiers___at_Lean_Elab_Command_elabMutualDef___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_declValToTerm(lean_object*, lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_MutualClosure_getModifiersForLetRecs___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_MutualClosure_pushMain(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4525,7 +4525,7 @@ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_MutualDef_0__Lean_E _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; +x_6 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; x_7 = l_Lean_mkAtomFrom(x_1, x_6); x_8 = l_Std_PersistentHashMap_mkCollisionNode___rarg___closed__1; x_9 = lean_array_push(x_8, x_1); diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 2f72dfee71..3376550c98 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -19,6 +19,7 @@ lean_object* l_List_head_x21___at___private_Lean_Elab_Quotation_0__Lean_Elab_Ter lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__5; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__5; lean_object* l_List_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__12; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__2___closed__5; @@ -48,7 +49,6 @@ lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); uint8_t l_USize_decEq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__44; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__2(lean_object*); @@ -64,13 +64,14 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSy lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__3; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__55; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__7; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__19; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__5; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__24; +extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__63; extern lean_object* l_Lean_Syntax_isAntiquot_match__1___rarg___closed__1; lean_object* l_Lean_Elab_Term_Quotation_elabTacticQuot(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,6 +80,7 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuot___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__3; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__6; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__3; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; @@ -86,6 +88,7 @@ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_ lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__21; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__5; lean_object* l_List_append___rarg(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_letBindRhss___closed__12; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -97,6 +100,7 @@ extern lean_object* l___kind_stx____x40_Init_Notation___hyg_7296____closed__1; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__39; lean_object* l_ReaderT_pure___at_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___spec__1(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__65; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot___closed__2; lean_object* lean_array_push(lean_object*, lean_object*); @@ -140,6 +144,7 @@ lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand(lean_object*, lean_ extern lean_object* l_myMacro____x40_Init_Notation___hyg_2714____closed__3; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__8; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__11; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__2; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__4; @@ -190,6 +195,7 @@ lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Qu lean_object* lean_st_ref_take(lean_object*, lean_object*); extern lean_object* l_Lean_numLitKind; extern lean_object* l_Lean_choiceKind___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch_match__2___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instQuoteProd___rarg___closed__2; extern lean_object* l_Lean_choiceKind___closed__2; @@ -204,6 +210,7 @@ lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__1; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___boxed(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_8830____closed__14; lean_object* l_Lean_Elab_Term_Quotation_isAntiquotSplice___boxed(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__18; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__7; @@ -236,7 +243,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHead lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_2549____closed__3; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTacticQuotSeq___closed__3; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__34; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__64; @@ -247,7 +253,7 @@ extern lean_object* l_Lean_choiceKind; lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_argPats___default; lean_object* l_Lean_Elab_Term_Quotation_antiquotKind_x3f_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*); -extern lean_object* l_Lean_Parser_Tactic_let___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__14; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__1; lean_object* l_Lean_Elab_Term_getCurrMacroScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -261,7 +267,6 @@ lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___closed__12; lean_object* l_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___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*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; extern lean_object* l_Lean_Elab_Level_elabLevel___closed__2; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__1___closed__2; @@ -384,7 +389,6 @@ lean_object* l_Lean_Elab_Term_Quotation_elabfunBinderQuot(lean_object*, lean_obj lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__62; lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot___closed__2; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(lean_object*, size_t, size_t, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__14; @@ -425,7 +429,6 @@ lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__1; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__58; lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabDoElemQuot___closed__2; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explodeHeadPat___closed__5; lean_object* l_ReaderT_pure___at_Lean_Elab_Term_Quotation_instInhabitedHeadInfo___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabStxQuot(lean_object*); @@ -469,10 +472,8 @@ lean_object* l_List_mapM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Qu lean_object* l_Lean_Elab_Term_Quotation_antiquotKind_x3f(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_4868____closed__7; lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___closed__4; -extern lean_object* l_Lean_Parser_Tactic_let___closed__5; extern lean_object* l_List_zip___rarg___closed__1; lean_object* l_Lean_Elab_Term_Quotation_HeadInfo_generalizes_match__1(lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_Syntax_findAux(lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -485,7 +486,6 @@ lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_explode lean_object* l_List_filterAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotTerm___boxed(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabTermQuot(lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; uint8_t l_Lean_Elab_Term_Quotation_isEscapedAntiquot(lean_object*); lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Elab_Term_Quotation_HeadInfo_generalizes(lean_object*, lean_object*); @@ -5034,7 +5034,7 @@ x_17 = lean_array_push(x_16, x_1); x_18 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_19 = lean_array_push(x_17, x_18); x_20 = lean_array_push(x_19, x_18); -x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_22 = lean_array_push(x_20, x_21); x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); @@ -5047,21 +5047,21 @@ lean_ctor_set(x_28, 1, x_27); lean_ctor_set(x_28, 2, x_24); lean_ctor_set(x_28, 3, x_25); x_29 = lean_array_push(x_22, x_28); -x_30 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); x_32 = lean_array_push(x_16, x_31); -x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_33 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); -x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_36 = lean_array_push(x_35, x_34); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_38 = lean_array_push(x_36, x_37); x_39 = lean_array_push(x_38, x_2); -x_40 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_40 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -5081,7 +5081,7 @@ x_45 = lean_array_push(x_44, x_1); x_46 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_47 = lean_array_push(x_45, x_46); x_48 = lean_array_push(x_47, x_46); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_49 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_50 = lean_array_push(x_48, x_49); x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); @@ -5094,21 +5094,21 @@ lean_ctor_set(x_56, 1, x_55); lean_ctor_set(x_56, 2, x_52); lean_ctor_set(x_56, 3, x_53); x_57 = lean_array_push(x_50, x_56); -x_58 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_58 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); x_60 = lean_array_push(x_44, x_59); -x_61 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_61 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; 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_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_63 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_64 = lean_array_push(x_63, x_62); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_65 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_66 = lean_array_push(x_64, x_65); x_67 = lean_array_push(x_66, x_2); -x_68 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_68 = l_myMacro____x40_Init_Notation___hyg_8830____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); @@ -5322,13 +5322,13 @@ if (x_16 == 0) { lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; x_17 = lean_ctor_get(x_15, 0); -x_18 = l_Lean_Parser_Tactic_let___closed__1; +x_18 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_inc(x_1); x_19 = lean_name_mk_string(x_1, x_18); -x_20 = l_Lean_Parser_Tactic_let___closed__5; +x_20 = l_myMacro____x40_Init_Notation___hyg_8830____closed__5; lean_inc(x_1); x_21 = lean_name_mk_string(x_1, x_20); -x_22 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__5; +x_22 = l_myMacro____x40_Init_Notation___hyg_8830____closed__7; lean_inc(x_1); x_23 = lean_name_mk_string(x_1, x_22); x_24 = l_Array_empty___closed__1; @@ -5336,7 +5336,7 @@ x_25 = lean_array_push(x_24, x_2); x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_29 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_30 = lean_array_push(x_28, x_29); x_31 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; x_32 = lean_name_mk_string(x_1, x_31); @@ -5388,9 +5388,9 @@ x_57 = lean_array_push(x_24, x_56); x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_21); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_59 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_60 = lean_array_push(x_59, x_58); -x_61 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_61 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_62 = lean_array_push(x_60, x_61); x_63 = lean_array_push(x_62, x_4); x_64 = lean_alloc_ctor(1, 2, 0); @@ -5407,13 +5407,13 @@ x_66 = lean_ctor_get(x_15, 1); lean_inc(x_66); lean_inc(x_65); lean_dec(x_15); -x_67 = l_Lean_Parser_Tactic_let___closed__1; +x_67 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_inc(x_1); x_68 = lean_name_mk_string(x_1, x_67); -x_69 = l_Lean_Parser_Tactic_let___closed__5; +x_69 = l_myMacro____x40_Init_Notation___hyg_8830____closed__5; lean_inc(x_1); x_70 = lean_name_mk_string(x_1, x_69); -x_71 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__5; +x_71 = l_myMacro____x40_Init_Notation___hyg_8830____closed__7; lean_inc(x_1); x_72 = lean_name_mk_string(x_1, x_71); x_73 = l_Array_empty___closed__1; @@ -5421,7 +5421,7 @@ x_74 = lean_array_push(x_73, x_2); x_75 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_76 = lean_array_push(x_74, x_75); x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_78 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_79 = lean_array_push(x_77, x_78); x_80 = l_myMacro____x40_Init_Notation___hyg_38____closed__7; x_81 = lean_name_mk_string(x_1, x_80); @@ -5473,9 +5473,9 @@ x_106 = lean_array_push(x_73, x_105); x_107 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_107, 0, x_70); lean_ctor_set(x_107, 1, x_106); -x_108 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_108 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_109 = lean_array_push(x_108, x_107); -x_110 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_110 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_111 = lean_array_push(x_109, x_110); x_112 = lean_array_push(x_111, x_4); x_113 = lean_alloc_ctor(1, 2, 0); @@ -5570,7 +5570,7 @@ x_17 = lean_array_push(x_16, x_1); x_18 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_19 = lean_array_push(x_17, x_18); x_20 = lean_array_push(x_19, x_18); -x_21 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_21 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_22 = lean_array_push(x_20, x_21); x_23 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_24 = l_Lean_addMacroScope(x_15, x_23, x_11); @@ -5583,21 +5583,21 @@ lean_ctor_set(x_28, 1, x_27); lean_ctor_set(x_28, 2, x_24); lean_ctor_set(x_28, 3, x_25); x_29 = lean_array_push(x_22, x_28); -x_30 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_30 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_31 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_31, 0, x_30); lean_ctor_set(x_31, 1, x_29); x_32 = lean_array_push(x_16, x_31); -x_33 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_33 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_34 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_34, 0, x_33); lean_ctor_set(x_34, 1, x_32); -x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_35 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_36 = lean_array_push(x_35, x_34); -x_37 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_37 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_38 = lean_array_push(x_36, x_37); x_39 = lean_array_push(x_38, x_2); -x_40 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_40 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_41 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_41, 0, x_40); lean_ctor_set(x_41, 1, x_39); @@ -5617,7 +5617,7 @@ x_45 = lean_array_push(x_44, x_1); x_46 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_47 = lean_array_push(x_45, x_46); x_48 = lean_array_push(x_47, x_46); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_49 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_50 = lean_array_push(x_48, x_49); x_51 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___elambda__3___closed__4; x_52 = l_Lean_addMacroScope(x_42, x_51, x_11); @@ -5630,21 +5630,21 @@ lean_ctor_set(x_56, 1, x_55); lean_ctor_set(x_56, 2, x_52); lean_ctor_set(x_56, 3, x_53); x_57 = lean_array_push(x_50, x_56); -x_58 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_58 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_59 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_59, 0, x_58); lean_ctor_set(x_59, 1, x_57); x_60 = lean_array_push(x_44, x_59); -x_61 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_61 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; 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_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_63 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_64 = lean_array_push(x_63, x_62); -x_65 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_65 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_66 = lean_array_push(x_64, x_65); x_67 = lean_array_push(x_66, x_2); -x_68 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_68 = l_myMacro____x40_Init_Notation___hyg_8830____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); @@ -7670,21 +7670,21 @@ x_25 = lean_array_push(x_24, x_23); x_26 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_27 = lean_array_push(x_25, x_26); x_28 = lean_array_push(x_27, x_26); -x_29 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_29 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_30 = lean_array_push(x_28, x_29); x_31 = lean_array_push(x_30, x_2); -x_32 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_32 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_31); x_34 = lean_array_push(x_24, x_33); -x_35 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_35 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_36 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_34); -x_37 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_37 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_38 = lean_array_push(x_37, x_36); -x_39 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_39 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_40 = lean_array_push(x_38, x_39); x_41 = l_myMacro____x40_Init_Notation___hyg_6138____closed__4; lean_inc(x_14); @@ -7775,7 +7775,7 @@ x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_67); lean_ctor_set(x_83, 1, x_82); x_84 = lean_array_push(x_40, x_83); -x_85 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_85 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); @@ -7807,21 +7807,21 @@ x_95 = lean_array_push(x_94, x_93); x_96 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_97 = lean_array_push(x_95, x_96); x_98 = lean_array_push(x_97, x_96); -x_99 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_99 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_100 = lean_array_push(x_98, x_99); x_101 = lean_array_push(x_100, x_2); -x_102 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_102 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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_array_push(x_94, x_103); -x_105 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_105 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_106 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_106, 0, x_105); lean_ctor_set(x_106, 1, x_104); -x_107 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_107 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_108 = lean_array_push(x_107, x_106); -x_109 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_109 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_110 = lean_array_push(x_108, x_109); x_111 = l_myMacro____x40_Init_Notation___hyg_6138____closed__4; lean_inc(x_14); @@ -7912,7 +7912,7 @@ x_153 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_153, 0, x_137); lean_ctor_set(x_153, 1, x_152); x_154 = lean_array_push(x_110, x_153); -x_155 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_155 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_156 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_156, 0, x_155); lean_ctor_set(x_156, 1, x_154); @@ -8090,7 +8090,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__1; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -8282,24 +8282,24 @@ x_53 = lean_array_push(x_52, x_51); x_54 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_55 = lean_array_push(x_53, x_54); x_56 = lean_array_push(x_55, x_54); -x_57 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_57 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_58 = lean_array_push(x_56, x_57); x_59 = lean_array_push(x_58, x_4); -x_60 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_60 = l_myMacro____x40_Init_Notation___hyg_8830____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_52, x_61); -x_63 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_63 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_64 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_62); -x_65 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_65 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_66 = lean_array_push(x_65, x_64); -x_67 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_67 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_68 = lean_array_push(x_66, x_67); x_69 = lean_array_push(x_68, x_39); -x_70 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_70 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); @@ -8328,24 +8328,24 @@ x_80 = lean_array_push(x_79, x_78); x_81 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_82 = lean_array_push(x_80, x_81); x_83 = lean_array_push(x_82, x_81); -x_84 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_84 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_85 = lean_array_push(x_83, x_84); x_86 = lean_array_push(x_85, x_4); -x_87 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_87 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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 = lean_array_push(x_79, x_88); -x_90 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_90 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_91 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_91, 0, x_90); lean_ctor_set(x_91, 1, x_89); -x_92 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_92 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_93 = lean_array_push(x_92, x_91); -x_94 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_94 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_95 = lean_array_push(x_93, x_94); x_96 = lean_array_push(x_95, x_39); -x_97 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_97 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_98 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_98, 0, x_97); lean_ctor_set(x_98, 1, x_96); @@ -9202,24 +9202,24 @@ x_439 = lean_array_push(x_438, x_437); x_440 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_441 = lean_array_push(x_439, x_440); x_442 = lean_array_push(x_441, x_440); -x_443 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_443 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_444 = lean_array_push(x_442, x_443); x_445 = lean_array_push(x_444, x_4); -x_446 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_446 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_447 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_447, 0, x_446); lean_ctor_set(x_447, 1, x_445); x_448 = lean_array_push(x_438, x_447); -x_449 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_449 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_450 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_450, 0, x_449); lean_ctor_set(x_450, 1, x_448); -x_451 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_451 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_452 = lean_array_push(x_451, x_450); -x_453 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_453 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_454 = lean_array_push(x_452, x_453); x_455 = lean_array_push(x_454, x_424); -x_456 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_456 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_457 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_457, 0, x_456); lean_ctor_set(x_457, 1, x_455); @@ -10474,7 +10474,7 @@ x_68 = lean_array_push(x_33, x_67); x_69 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_70 = lean_array_push(x_68, x_69); x_71 = lean_array_push(x_70, x_69); -x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_72 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_73 = lean_array_push(x_71, x_72); x_74 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_75 = lean_array_push(x_74, x_18); @@ -10489,21 +10489,21 @@ x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); x_82 = lean_array_push(x_73, x_81); -x_83 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_83 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_84 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_84, 0, x_83); lean_ctor_set(x_84, 1, x_82); x_85 = lean_array_push(x_33, x_84); -x_86 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_86 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_87 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_87, 0, x_86); lean_ctor_set(x_87, 1, x_85); -x_88 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_88 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_89 = lean_array_push(x_88, x_87); -x_90 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_90 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_91 = lean_array_push(x_89, x_90); x_92 = lean_array_push(x_91, x_58); -x_93 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_93 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_94 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_92); @@ -10528,7 +10528,7 @@ x_99 = lean_array_push(x_33, x_98); x_100 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_101 = lean_array_push(x_99, x_100); x_102 = lean_array_push(x_101, x_100); -x_103 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_103 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_104 = lean_array_push(x_102, x_103); x_105 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_106 = lean_array_push(x_105, x_18); @@ -10543,21 +10543,21 @@ x_112 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_112, 0, x_111); lean_ctor_set(x_112, 1, x_110); x_113 = lean_array_push(x_104, x_112); -x_114 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_114 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_115 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_115, 0, x_114); lean_ctor_set(x_115, 1, x_113); x_116 = lean_array_push(x_33, x_115); -x_117 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_117 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_118 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_118, 0, x_117); lean_ctor_set(x_118, 1, x_116); -x_119 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_119 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_120 = lean_array_push(x_119, x_118); -x_121 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_121 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_122 = lean_array_push(x_120, x_121); x_123 = lean_array_push(x_122, x_58); -x_124 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_124 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_125 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_125, 0, x_124); lean_ctor_set(x_125, 1, x_123); @@ -10692,7 +10692,7 @@ x_161 = lean_array_push(x_33, x_160); x_162 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_163 = lean_array_push(x_161, x_162); x_164 = lean_array_push(x_163, x_162); -x_165 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_165 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_166 = lean_array_push(x_164, x_165); x_167 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_168 = lean_array_push(x_167, x_18); @@ -10707,21 +10707,21 @@ x_174 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_174, 0, x_173); lean_ctor_set(x_174, 1, x_172); x_175 = lean_array_push(x_166, x_174); -x_176 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_176 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_177 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_177, 0, x_176); lean_ctor_set(x_177, 1, x_175); x_178 = lean_array_push(x_33, x_177); -x_179 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_179 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_180 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_180, 0, x_179); lean_ctor_set(x_180, 1, x_178); -x_181 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_181 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_182 = lean_array_push(x_181, x_180); -x_183 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_183 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_184 = lean_array_push(x_182, x_183); x_185 = lean_array_push(x_184, x_150); -x_186 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_186 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_187 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_187, 0, x_186); lean_ctor_set(x_187, 1, x_185); @@ -10906,24 +10906,24 @@ x_250 = lean_array_push(x_249, x_248); x_251 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_252 = lean_array_push(x_250, x_251); x_253 = lean_array_push(x_252, x_251); -x_254 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_254 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_255 = lean_array_push(x_253, x_254); x_256 = lean_array_push(x_255, x_207); -x_257 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_257 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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_array_push(x_249, x_258); -x_260 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_260 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_261 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_261, 0, x_260); lean_ctor_set(x_261, 1, x_259); -x_262 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_262 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_263 = lean_array_push(x_262, x_261); -x_264 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_264 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_265 = lean_array_push(x_263, x_264); x_266 = lean_array_push(x_265, x_239); -x_267 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_267 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_268 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_268, 0, x_267); lean_ctor_set(x_268, 1, x_266); @@ -10949,24 +10949,24 @@ x_274 = lean_array_push(x_273, x_272); x_275 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_276 = lean_array_push(x_274, x_275); x_277 = lean_array_push(x_276, x_275); -x_278 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_278 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_279 = lean_array_push(x_277, x_278); x_280 = lean_array_push(x_279, x_207); -x_281 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_281 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_282 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_282, 0, x_281); lean_ctor_set(x_282, 1, x_280); x_283 = lean_array_push(x_273, x_282); -x_284 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_284 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_285 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_285, 0, x_284); lean_ctor_set(x_285, 1, x_283); -x_286 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_286 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_287 = lean_array_push(x_286, x_285); -x_288 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_288 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_289 = lean_array_push(x_287, x_288); x_290 = lean_array_push(x_289, x_239); -x_291 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_291 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_292 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_292, 0, x_291); lean_ctor_set(x_292, 1, x_290); @@ -11102,24 +11102,24 @@ x_329 = lean_array_push(x_328, x_327); x_330 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_331 = lean_array_push(x_329, x_330); x_332 = lean_array_push(x_331, x_330); -x_333 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_333 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_334 = lean_array_push(x_332, x_333); x_335 = lean_array_push(x_334, x_207); -x_336 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_336 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_337 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_337, 0, x_336); lean_ctor_set(x_337, 1, x_335); x_338 = lean_array_push(x_328, x_337); -x_339 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_339 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_340 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_340, 0, x_339); lean_ctor_set(x_340, 1, x_338); -x_341 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_341 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_342 = lean_array_push(x_341, x_340); -x_343 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_343 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_344 = lean_array_push(x_342, x_343); x_345 = lean_array_push(x_344, x_317); -x_346 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_346 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_347 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_347, 0, x_346); lean_ctor_set(x_347, 1, x_345); @@ -11320,24 +11320,24 @@ x_410 = lean_array_push(x_409, x_408); x_411 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_412 = lean_array_push(x_410, x_411); x_413 = lean_array_push(x_412, x_411); -x_414 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_414 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_415 = lean_array_push(x_413, x_414); x_416 = lean_array_push(x_415, x_361); -x_417 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_417 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_418 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_418, 0, x_417); lean_ctor_set(x_418, 1, x_416); x_419 = lean_array_push(x_409, x_418); -x_420 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_420 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_421 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_421, 0, x_420); lean_ctor_set(x_421, 1, x_419); -x_422 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_422 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_423 = lean_array_push(x_422, x_421); -x_424 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_424 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_425 = lean_array_push(x_423, x_424); x_426 = lean_array_push(x_425, x_398); -x_427 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_427 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_428 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_428, 0, x_427); lean_ctor_set(x_428, 1, x_426); @@ -11545,7 +11545,7 @@ x_492 = lean_array_push(x_451, x_491); x_493 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_494 = lean_array_push(x_492, x_493); x_495 = lean_array_push(x_494, x_493); -x_496 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_496 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_497 = lean_array_push(x_495, x_496); x_498 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_499 = lean_array_push(x_498, x_436); @@ -11560,21 +11560,21 @@ x_505 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_505, 0, x_504); lean_ctor_set(x_505, 1, x_503); x_506 = lean_array_push(x_497, x_505); -x_507 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_507 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_508 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_508, 0, x_507); lean_ctor_set(x_508, 1, x_506); x_509 = lean_array_push(x_451, x_508); -x_510 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_510 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_511 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_511, 0, x_510); lean_ctor_set(x_511, 1, x_509); -x_512 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_512 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_513 = lean_array_push(x_512, x_511); -x_514 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_514 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_515 = lean_array_push(x_513, x_514); x_516 = lean_array_push(x_515, x_481); -x_517 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_517 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_518 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_518, 0, x_517); lean_ctor_set(x_518, 1, x_516); @@ -11793,24 +11793,24 @@ x_586 = lean_array_push(x_585, x_584); x_587 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_588 = lean_array_push(x_586, x_587); x_589 = lean_array_push(x_588, x_587); -x_590 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_590 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_591 = lean_array_push(x_589, x_590); x_592 = lean_array_push(x_591, x_536); -x_593 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_593 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_594 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_594, 0, x_593); lean_ctor_set(x_594, 1, x_592); x_595 = lean_array_push(x_585, x_594); -x_596 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_596 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_597 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_597, 0, x_596); lean_ctor_set(x_597, 1, x_595); -x_598 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_598 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_599 = lean_array_push(x_598, x_597); -x_600 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_600 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_601 = lean_array_push(x_599, x_600); x_602 = lean_array_push(x_601, x_574); -x_603 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_603 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_604 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_604, 0, x_603); lean_ctor_set(x_604, 1, x_602); @@ -12034,7 +12034,7 @@ x_671 = lean_array_push(x_629, x_670); x_672 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_673 = lean_array_push(x_671, x_672); x_674 = lean_array_push(x_673, x_672); -x_675 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_675 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_676 = lean_array_push(x_674, x_675); x_677 = l_Lean_expandExplicitBindersAux_loop___closed__4; x_678 = lean_array_push(x_677, x_613); @@ -12049,21 +12049,21 @@ x_684 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_684, 0, x_683); lean_ctor_set(x_684, 1, x_682); x_685 = lean_array_push(x_676, x_684); -x_686 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_686 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_687 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_687, 0, x_686); lean_ctor_set(x_687, 1, x_685); x_688 = lean_array_push(x_629, x_687); -x_689 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_689 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_690 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_690, 0, x_689); lean_ctor_set(x_690, 1, x_688); -x_691 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_691 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_692 = lean_array_push(x_691, x_690); -x_693 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_693 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_694 = lean_array_push(x_692, x_693); x_695 = lean_array_push(x_694, x_660); -x_696 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_696 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_697 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_697, 0, x_696); lean_ctor_set(x_697, 1, x_695); @@ -12285,24 +12285,24 @@ x_765 = lean_array_push(x_764, x_763); x_766 = l_myMacro____x40_Init_Notation___hyg_8168____closed__22; x_767 = lean_array_push(x_765, x_766); x_768 = lean_array_push(x_767, x_766); -x_769 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_769 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_770 = lean_array_push(x_768, x_769); x_771 = lean_array_push(x_770, x_715); -x_772 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_772 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_773 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_773, 0, x_772); lean_ctor_set(x_773, 1, x_771); x_774 = lean_array_push(x_764, x_773); -x_775 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_775 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_776 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_776, 0, x_775); lean_ctor_set(x_776, 1, x_774); -x_777 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_777 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_778 = lean_array_push(x_777, x_776); -x_779 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_779 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_780 = lean_array_push(x_778, x_779); x_781 = lean_array_push(x_780, x_753); -x_782 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_782 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_783 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_783, 0, x_782); lean_ctor_set(x_783, 1, x_781); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 3dd95926c9..0c63fda02f 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -23,6 +23,7 @@ lean_object* l_List_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_St lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__10___closed__3; lean_object* l_Std_HashMap_toList___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__6(lean_object*); extern lean_object* l_Lean_Name_toString___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__4; uint8_t l_List_foldr___at_Lean_Elab_Term_StructInst_Struct_allDefault___spec__1(uint8_t, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__3; size_t l_USize_add(size_t, size_t); @@ -73,7 +74,6 @@ lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax_match__1___rarg(lean_ lean_object* lean_array_uget(lean_object*, size_t); lean_object* l_Lean_Elab_Term_StructInst_instToFormatFieldLHS_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_step_match__2(lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__6___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f_match__2(lean_object*); lean_object* lean_expr_update_mdata(lean_object*, lean_object*); @@ -88,6 +88,7 @@ lean_object* l_Lean_Elab_Term_StructInst_formatStruct_match__1___rarg(lean_objec lean_object* l_List_forIn_loop___at_Lean_Elab_Term_StructInst_DefaultFields_step___spec__1___lambda__1___closed__2; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_expandApp___spec__1___closed__1; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkProjStx(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst___closed__1; lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__3; @@ -117,6 +118,7 @@ lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_mkDefaultValueAux_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isModifyOp_x3f___spec__1___closed__5; uint8_t l_Lean_checkTraceOption(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct_match__2(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -195,6 +197,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_isMod lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___closed__5; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_propagate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; lean_object* l_Lean_Elab_Term_StructInst_instInhabitedStruct___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__4; extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__8; @@ -284,6 +287,7 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabM lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_Context_structs___default; lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkStructView___spec__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__11(lean_object*, lean_object*, lean_object*, 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*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__14; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_toFieldLHS___closed__2; lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax(uint8_t, lean_object*); @@ -355,6 +359,7 @@ lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_reduce_match__1(lean_obje uint8_t l_Array_contains___at_Lean_findField_x3f___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource_match__1(lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx___lambda__1___boxed(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__18; lean_object* l_Lean_getStructureFields(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_StructInst_CtorHeaderResult_instMVars___default; lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); @@ -382,7 +387,6 @@ lean_object* l_Lean_Elab_Term_StructInst_defaultMissing_x3f(lean_object*); lean_object* l_Lean_getPathToBaseStructure_x3f(lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_elabAppFn___closed__13; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields___closed__1; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__8; size_t lean_usize_modn(size_t, lean_object*); @@ -553,7 +557,6 @@ lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Le lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_findDefaultMissing_x3f___lambda__1___closed__1; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStructInstAux_match__2(lean_object*); lean_object* l_Std_AssocList_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct___spec__7(lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_match__3___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getFieldIdx_match__1(lean_object*); @@ -624,7 +627,6 @@ lean_object* l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term lean_object* l_Std_HashMapImp_insert___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_List_mapM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields___spec__1___closed__6; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap_match__2___rarg(lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructSource___closed__3; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_propagateExpectedType_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__3___rarg(lean_object*, lean_object*, lean_object*); @@ -695,7 +697,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_group lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_DefaultFields_getFieldValue_x3f___lambda__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSubstructSource___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_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_Elab_Term_StructInst_Source_isNone_match__1(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_Field_toSyntax(lean_object*); lean_object* l_Lean_Elab_Term_StructInst_formatStruct___closed__4; @@ -709,7 +710,6 @@ lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMi lean_object* l_Lean_Elab_Term_StructInst_FieldVal_toSyntax(lean_object*); extern lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandCompositeFields_match__1(lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_object* l_Lean_throwError___at_Lean_Elab_Term_StructInst_DefaultFields_propagateLoop___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* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandParentFields_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___lambda__3___closed__2; @@ -1033,24 +1033,24 @@ x_50 = lean_array_push(x_49, x_48); x_51 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_52 = lean_array_push(x_50, x_51); x_53 = lean_array_push(x_52, x_51); -x_54 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_54 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_55 = lean_array_push(x_53, x_54); x_56 = lean_array_push(x_55, x_23); -x_57 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_57 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_58 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_58, 0, x_57); lean_ctor_set(x_58, 1, x_56); x_59 = lean_array_push(x_49, x_58); -x_60 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_60 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_61 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_59); -x_62 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_62 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_63 = lean_array_push(x_62, x_61); -x_64 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_64 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_65 = lean_array_push(x_63, x_64); x_66 = lean_array_push(x_65, x_40); -x_67 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_67 = l_myMacro____x40_Init_Notation___hyg_8830____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); @@ -1078,24 +1078,24 @@ x_75 = lean_array_push(x_74, x_73); x_76 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_77 = lean_array_push(x_75, x_76); x_78 = lean_array_push(x_77, x_76); -x_79 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_79 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_80 = lean_array_push(x_78, x_79); x_81 = lean_array_push(x_80, x_23); -x_82 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_82 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_83 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_83, 0, x_82); lean_ctor_set(x_83, 1, x_81); x_84 = lean_array_push(x_74, x_83); -x_85 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_85 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_86 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_86, 0, x_85); lean_ctor_set(x_86, 1, x_84); -x_87 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_87 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_88 = lean_array_push(x_87, x_86); -x_89 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_89 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_90 = lean_array_push(x_88, x_89); x_91 = lean_array_push(x_90, x_40); -x_92 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_92 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_93 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_93, 0, x_92); lean_ctor_set(x_93, 1, x_91); @@ -1236,24 +1236,24 @@ x_140 = lean_array_push(x_139, x_138); x_141 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_142 = lean_array_push(x_140, x_141); x_143 = lean_array_push(x_142, x_141); -x_144 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_144 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_145 = lean_array_push(x_143, x_144); x_146 = lean_array_push(x_145, x_112); -x_147 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_147 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_148 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_148, 0, x_147); lean_ctor_set(x_148, 1, x_146); x_149 = lean_array_push(x_139, x_148); -x_150 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_150 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_151 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_151, 0, x_150); lean_ctor_set(x_151, 1, x_149); -x_152 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_152 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_153 = lean_array_push(x_152, x_151); -x_154 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_154 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_155 = lean_array_push(x_153, x_154); x_156 = lean_array_push(x_155, x_129); -x_157 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_157 = l_myMacro____x40_Init_Notation___hyg_8830____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); @@ -1464,24 +1464,24 @@ x_218 = lean_array_push(x_217, x_216); x_219 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_220 = lean_array_push(x_218, x_219); x_221 = lean_array_push(x_220, x_219); -x_222 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_222 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_223 = lean_array_push(x_221, x_222); x_224 = lean_array_push(x_223, x_190); -x_225 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_225 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; 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 = lean_array_push(x_217, x_226); -x_228 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_228 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_229 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_229, 0, x_228); lean_ctor_set(x_229, 1, x_227); -x_230 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__3; +x_230 = l_myMacro____x40_Init_Notation___hyg_8830____closed__4; x_231 = lean_array_push(x_230, x_229); -x_232 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__7; +x_232 = l_myMacro____x40_Init_Notation___hyg_8830____closed__18; x_233 = lean_array_push(x_231, x_232); x_234 = lean_array_push(x_233, x_207); -x_235 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_235 = l_myMacro____x40_Init_Notation___hyg_8830____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); @@ -3011,7 +3011,7 @@ lean_ctor_set(x_80, 2, x_78); lean_ctor_set(x_80, 3, x_24); x_81 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; x_82 = lean_array_push(x_81, x_80); -x_83 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_83 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_84 = lean_array_push(x_82, x_83); x_85 = lean_array_push(x_84, x_57); x_86 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; @@ -3307,7 +3307,7 @@ lean_ctor_set(x_234, 2, x_232); lean_ctor_set(x_234, 3, x_223); x_235 = l_myMacro____x40_Init_Notation___hyg_5739____closed__11; x_236 = lean_array_push(x_235, x_234); -x_237 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__6; +x_237 = l_myMacro____x40_Init_Notation___hyg_8830____closed__14; x_238 = lean_array_push(x_236, x_237); x_239 = lean_array_push(x_238, x_209); x_240 = l_myMacro____x40_Init_Notation___hyg_5739____closed__22; diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index ae98994138..79e3629f79 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -244,7 +244,6 @@ lean_object* l___private_Lean_Elab_Command_0__Lean_Elab_Command_getVarDecls(lean lean_object* l_Lean_throwError___at_Lean_Elab_Term_checkLeftRec___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* l_Lean_Name_toStringWithSep(lean_object*, lean_object*); lean_object* l_Lean_Elab_Command_expandMixfix___closed__21; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; lean_object* l_Lean_Elab_Command_expandElab___closed__28; lean_object* l_Lean_Elab_Command_expandElab___closed__14; @@ -352,6 +351,7 @@ lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_8964_(lean lean_object* l_Lean_Elab_Command_elabSyntax_match__2___rarg(lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__15; lean_object* l_Lean_Elab_Command_elabSyntax___lambda__3___closed__8; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; lean_object* l_Lean_Elab_Command_expandElab___closed__26; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__32; lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__10; @@ -10322,7 +10322,7 @@ x_158 = lean_array_push(x_73, x_157); x_159 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_159, 0, x_94); lean_ctor_set(x_159, 1, x_158); -x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_160 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_161 = lean_array_push(x_160, x_159); x_162 = lean_array_push(x_161, x_26); x_163 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -12146,7 +12146,7 @@ x_109 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; 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 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_111 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_112 = lean_array_push(x_111, x_110); x_113 = lean_array_push(x_112, x_69); x_114 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -12285,7 +12285,7 @@ x_195 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_196 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_196, 0, x_195); lean_ctor_set(x_196, 1, x_194); -x_197 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_197 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_198 = lean_array_push(x_197, x_196); x_199 = lean_array_push(x_198, x_155); x_200 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -12846,7 +12846,7 @@ x_70 = l_myMacro____x40_Init_Notation___hyg_38____closed__8; x_71 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_71, 0, x_70); lean_ctor_set(x_71, 1, x_69); -x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_72 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_73 = lean_array_push(x_72, x_71); x_74 = l_myMacro____x40_Init_Notation___hyg_5739____closed__20; x_75 = lean_array_push(x_73, x_74); @@ -13990,7 +13990,7 @@ x_125 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_126 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_126, 0, x_125); lean_ctor_set(x_126, 1, x_124); -x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_127 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_128 = lean_array_push(x_127, x_126); x_129 = lean_array_push(x_128, x_43); x_130 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -14203,7 +14203,7 @@ x_249 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_250 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_250, 0, x_249); lean_ctor_set(x_250, 1, x_248); -x_251 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_251 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_252 = lean_array_push(x_251, x_250); x_253 = lean_array_push(x_252, x_167); x_254 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -21179,7 +21179,7 @@ x_209 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_210 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_210, 0, x_209); lean_ctor_set(x_210, 1, x_208); -x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_211 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_212 = lean_array_push(x_211, x_210); x_213 = lean_array_push(x_212, x_125); x_214 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -21433,7 +21433,7 @@ x_362 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_363 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_363, 0, x_362); lean_ctor_set(x_363, 1, x_361); -x_364 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_364 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_365 = lean_array_push(x_364, x_363); x_366 = lean_array_push(x_365, x_278); x_367 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -21689,7 +21689,7 @@ x_517 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_518 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_518, 0, x_517); lean_ctor_set(x_518, 1, x_516); -x_519 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_519 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_520 = lean_array_push(x_519, x_518); x_521 = lean_array_push(x_520, x_431); x_522 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22020,7 +22020,7 @@ x_705 = lean_array_push(x_671, x_704); x_706 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_706, 0, x_673); lean_ctor_set(x_706, 1, x_705); -x_707 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_707 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_708 = lean_array_push(x_707, x_706); x_709 = lean_array_push(x_708, x_596); x_710 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22329,7 +22329,7 @@ x_878 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_879 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_879, 0, x_878); lean_ctor_set(x_879, 1, x_877); -x_880 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_880 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_881 = lean_array_push(x_880, x_879); x_882 = lean_array_push(x_881, x_794); x_883 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22585,7 +22585,7 @@ x_1032 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_1033 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1033, 0, x_1032); lean_ctor_set(x_1033, 1, x_1031); -x_1034 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_1034 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_1035 = lean_array_push(x_1034, x_1033); x_1036 = lean_array_push(x_1035, x_948); x_1037 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -22843,7 +22843,7 @@ x_1188 = l_myMacro____x40_Init_Notation___hyg_5739____closed__13; x_1189 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1189, 0, x_1188); lean_ctor_set(x_1189, 1, x_1187); -x_1190 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_1190 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_1191 = lean_array_push(x_1190, x_1189); x_1192 = lean_array_push(x_1191, x_1102); x_1193 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; @@ -23175,7 +23175,7 @@ x_1377 = lean_array_push(x_1343, x_1376); x_1378 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_1378, 0, x_1345); lean_ctor_set(x_1378, 1, x_1377); -x_1379 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__7; +x_1379 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__5; x_1380 = lean_array_push(x_1379, x_1378); x_1381 = lean_array_push(x_1380, x_1268); x_1382 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Basic.c index d47748fac5..188a0cf435 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Basic.c @@ -16,7 +16,6 @@ extern "C" { extern lean_object* l_Lean_Parser_Tactic_orelse___closed__4; lean_object* l_List_reverse___rarg(lean_object*); lean_object* l_Lean_Meta_inferType___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; lean_object* l_Lean_Elab_Tactic_getMainTag___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalAssumption___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t l_USize_add(size_t, size_t); @@ -28,7 +27,6 @@ lean_object* l_Lean_Elab_Tactic_evalIntroMatch(lean_object*, lean_object*, lean_ lean_object* l_Lean_Elab_Tactic_getMainTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__5; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; lean_object* l_Lean_Elab_Tactic_withMainMVarContext___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_Tactic_evalIntro_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_mkTacticAttribute___closed__3; @@ -276,7 +274,6 @@ lean_object* l_Lean_Elab_Tactic_initFn____x40_Lean_Elab_Tactic_Basic___hyg_3861_ lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_introMatch___closed__2; lean_object* l_Lean_Elab_Tactic_getGoals___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalIntro___closed__1; size_t l_Lean_Name_hash(lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal___closed__1; @@ -285,6 +282,7 @@ lean_object* l_Lean_Elab_Tactic_instInhabitedSavedState; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice___closed__1; lean_object* l_Lean_Elab_Tactic_tagUntaggedGoals_match__1___rarg(lean_object*, lean_object*); lean_object* l_Lean_Meta_assignExprMVar___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__4___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_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAssumption___closed__1; lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Elab_Tactic_evalTactic___spec__5___boxed(lean_object*, lean_object*); @@ -333,6 +331,7 @@ lean_object* l_Lean_Meta_introNCore(lean_object*, lean_object*, lean_object*, ui lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_getIntrosSize(lean_object*); lean_object* l_Lean_Elab_Tactic_evalRevert_match__2___rarg(lean_object*, lean_object*); lean_object* l_Lean_Elab_mkElabAttribute___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__16; lean_object* l___private_Lean_Meta_InferType_0__Lean_Meta_getLevelImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_throwUnknownConstant___rarg___closed__3; lean_object* l_Lean_Elab_Tactic_evalTactic_match__3(lean_object*); @@ -382,6 +381,7 @@ lean_object* l_Lean_Elab_Tactic_getNameOfIdent_x27___boxed(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_8168____closed__13; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds(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_Tactic_appendGoals(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_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_object* l_Lean_Elab_Tactic_saveBacktrackableState(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubst___closed__1; lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_introStep___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*); @@ -407,6 +407,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus(lean_object*); lean_object* l___private_Lean_Elab_Tactic_Basic_0__Lean_Elab_Tactic_sortFVarIds___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_environment_main_module(lean_object*); lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTraceState___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__2; extern lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Util___hyg_839____closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -416,7 +417,6 @@ lean_object* l_Lean_Elab_Tactic_focusAux(lean_object*); lean_object* l_Lean_Elab_log___at_Lean_Elab_Tactic_evalTactic___spec__8___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_Tactic_evalTacticSeqBracketed___closed__1; lean_object* l_Lean_Elab_Tactic_evalIntro___closed__4; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Syntax_getArgs(lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); lean_object* l_ReaderT_bind___at_Lean_Elab_Tactic_liftMetaTacticAux___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*); @@ -8864,7 +8864,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalSeq1___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -9095,7 +9095,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq1Indented___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -9402,7 +9402,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_Tactic_tacticElabAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; x_4 = l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -10657,7 +10657,7 @@ x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_11); lean_ctor_set(x_38, 1, x_37); x_39 = lean_array_push(x_32, x_38); -x_40 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +x_40 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; x_41 = lean_array_push(x_39, x_40); x_42 = l_Array_appendCore___rarg(x_32, x_27); lean_dec(x_27); @@ -10673,7 +10673,7 @@ x_47 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_47, 0, x_34); lean_ctor_set(x_47, 1, x_46); x_48 = lean_array_push(x_32, x_47); -x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_49 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); lean_ctor_set(x_50, 1, x_48); @@ -10848,7 +10848,7 @@ x_100 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_100, 0, x_11); lean_ctor_set(x_100, 1, x_99); x_101 = lean_array_push(x_95, x_100); -x_102 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__5; +x_102 = l_myMacro____x40_Init_Notation___hyg_8830____closed__16; x_103 = lean_array_push(x_101, x_102); x_104 = l_Lean_Elab_Tactic_evalIntro___closed__5; x_105 = lean_array_push(x_104, x_94); @@ -10907,7 +10907,7 @@ x_141 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_141, 0, x_71); lean_ctor_set(x_141, 1, x_140); x_142 = lean_array_push(x_95, x_141); -x_143 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_143 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____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); @@ -14716,7 +14716,7 @@ x_20 = l_Lean_Syntax_getArg(x_1, x_19); x_21 = lean_unsigned_to_nat(3u); x_22 = l_Lean_Syntax_getArg(x_1, x_21); lean_dec(x_1); -x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_23 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_inc(x_22); x_24 = l_Lean_Syntax_isOfKind(x_22, x_23); if (x_24 == 0) diff --git a/stage0/stdlib/Lean/Elab/Tactic/Binders.c b/stage0/stdlib/Lean/Elab/Tactic/Binders.c index bf80cfaebd..73bacb26ae 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Binders.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Binders.c @@ -21,7 +21,6 @@ lean_object* l_Lean_Elab_Tactic_expandHaveTactic(lean_object*, lean_object*, lea lean_object* lean_name_mk_string(lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; -extern lean_object* l_Lean_Parser_Tactic_let___closed__2; extern lean_object* l_Lean_Parser_Tactic_have___closed__2; lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__4; lean_object* l_Lean_Elab_Tactic_expandLetTactic___boxed(lean_object*, lean_object*, lean_object*); @@ -44,6 +43,7 @@ lean_object* l___regBuiltin_Lean_Elab_Tactic_expandLetTactic___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_5739____closed__20; extern lean_object* l_Lean_instInhabitedSourceInfo___closed__1; lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__7; +extern lean_object* l_Lean_Parser_Tactic_let___closed__1; lean_object* l_Lean_Elab_Tactic_expandShowTactic___closed__10; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__5; lean_object* l___private_Lean_Elab_Tactic_Binders_0__Lean_Elab_Tactic_liftTermBinderSyntax___closed__5; @@ -399,7 +399,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Elab_macroAttribute; -x_3 = l_Lean_Parser_Tactic_let___closed__2; +x_3 = l_Lean_Parser_Tactic_let___closed__1; x_4 = l___regBuiltin_Lean_Elab_Tactic_expandLetTactic___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index 7136a8d9e1..5648004b87 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -150,7 +150,6 @@ lean_object* l_Lean_MacroScopesView_format(lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__3; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_metavar_ctx_get_expr_assignment(lean_object*, lean_object*); -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l_Lean_Meta_mkLambdaFVars___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambdaAux___spec__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_initFn____x40_Lean_Elab_Term___hyg_1004____closed__3; lean_object* l___private_Lean_Util_Trace_0__Lean_checkTraceOptionM___at_Lean_Meta_isLevelDefEqAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -653,7 +652,6 @@ lean_object* l_Lean_Meta_isExprDefEq___at_Lean_Elab_Term_synthesizeInstMVarCore_ lean_object* l_Lean_Elab_Term_tryPostponeIfHasMVars___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_resolveLocalName_loop_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Meta_evalNat___closed__3; extern lean_object* l_myMacro____x40_Init_Notation___hyg_38____closed__6; size_t l_USize_land(size_t, size_t); lean_object* l_Lean_Elab_Term_mkConst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -859,6 +857,7 @@ lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__1( lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__3; extern lean_object* l___kind_term____x40_Init_Notation___hyg_3____closed__3; lean_object* l_Lean_mkForall(lean_object*, uint8_t, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__3; lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4; lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -874,7 +873,6 @@ lean_object* l_Lean_Elab_Term_withFreshMacroScope___rarg(lean_object*, lean_obje lean_object* l_Lean_Elab_Term_TermElabM_toIO_match__1(lean_object*, lean_object*); lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1___closed__1; uint8_t l_Lean_Syntax_isNone(lean_object*); -extern lean_object* l_Lean_Meta_evalNat___closed__2; extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MessageLog_forM___at_Lean_Elab_Term_instMetaEvalTermElabM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -893,6 +891,7 @@ lean_object* l_Lean_Elab_Term_instMonadLogTermElabM___lambda__2___boxed(lean_obj extern lean_object* l_Lean_Meta_Context_config___default___closed__1; lean_object* l_Array_anyMUnsafe_any___at___private_Lean_Elab_Term_0__Lean_Elab_Term_isLambdaWithImplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_liftCoreM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__2; lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); extern size_t l_Std_PersistentHashMap_insertAux___rarg___closed__2; @@ -1066,6 +1065,7 @@ lean_object* l_Lean_Elab_Term_throwTypeMismatchError___rarg___boxed(lean_object* lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFns___closed__1; lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed__3; lean_object* l_Lean_Elab_Term_levelMVarToParam_x27_match__1(lean_object*); +extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_object* l_Lean_Elab_Term_elabBadCDot___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getAttributeImpl(lean_object*, lean_object*); @@ -14740,7 +14740,7 @@ lean_inc(x_27); x_135 = lean_array_push(x_134, x_27); x_136 = l_Lean_mkAppN(x_130, x_135); lean_dec(x_135); -x_137 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_137 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_138 = 0; lean_inc(x_49); x_139 = l_Lean_mkForall(x_137, x_138, x_49, x_136); @@ -15658,7 +15658,7 @@ lean_inc(x_27); x_314 = lean_array_push(x_313, x_27); x_315 = l_Lean_mkAppN(x_309, x_314); lean_dec(x_314); -x_316 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_316 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_317 = 0; lean_inc(x_230); x_318 = l_Lean_mkForall(x_316, x_317, x_230, x_315); @@ -16695,7 +16695,7 @@ lean_inc(x_397); x_501 = lean_array_push(x_500, x_397); x_502 = l_Lean_mkAppN(x_496, x_501); lean_dec(x_501); -x_503 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; +x_503 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; x_504 = 0; lean_inc(x_417); x_505 = l_Lean_mkForall(x_503, x_504, x_417, x_502); @@ -31839,7 +31839,7 @@ x_17 = lean_box(0); x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_15); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Meta_evalNat___closed__2; +x_19 = l_Lean_Meta_evalNat_visit___closed__2; lean_inc(x_18); x_20 = l_Lean_mkConst(x_19, x_18); lean_inc(x_1); @@ -31853,7 +31853,7 @@ if (x_23 == 0) { lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_24 = lean_ctor_get(x_22, 0); -x_25 = l_Lean_Meta_evalNat___closed__3; +x_25 = l_Lean_Meta_evalNat_visit___closed__3; x_26 = l_Lean_mkConst(x_25, x_18); x_27 = l_Lean_mkApp3(x_26, x_1, x_24, x_2); lean_ctor_set(x_22, 0, x_27); @@ -31867,7 +31867,7 @@ x_29 = lean_ctor_get(x_22, 1); lean_inc(x_29); lean_inc(x_28); lean_dec(x_22); -x_30 = l_Lean_Meta_evalNat___closed__3; +x_30 = l_Lean_Meta_evalNat_visit___closed__3; x_31 = l_Lean_mkConst(x_30, x_18); x_32 = l_Lean_mkApp3(x_31, x_1, x_28, x_2); x_33 = lean_alloc_ctor(0, 2, 0); diff --git a/stage0/stdlib/Lean/Meta/AppBuilder.c b/stage0/stdlib/Lean/Meta/AppBuilder.c index aacdb32b3a..616d72ee75 100644 --- a/stage0/stdlib/Lean/Meta/AppBuilder.c +++ b/stage0/stdlib/Lean/Meta/AppBuilder.c @@ -67,7 +67,6 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqOfHEqImp___closed lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___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*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrImp___closed__1; lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp_match__3(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkEqNDRecImp_match__2(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkHEqTransImp_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -322,6 +321,7 @@ lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrImp_match__1(l lean_object* l_List_map___at_Lean_MessageData_instCoeListExprMessageData___spec__1(lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp_match__5___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkProjectionImp___lambda__1___closed__7; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1; lean_object* l___private_Lean_Meta_AppBuilder_0__Lean_Meta_mkCongrArgImp_match__1(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_mkApp(lean_object*, lean_object*); @@ -11231,7 +11231,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_mkDecIsTrue___closed__2; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Meta/Closure.c b/stage0/stdlib/Lean/Meta/Closure.c index 7f3c1a8fcc..ff993973c9 100644 --- a/stage0/stdlib/Lean/Meta/Closure.c +++ b/stage0/stdlib/Lean/Meta/Closure.c @@ -221,8 +221,8 @@ lean_object* l_Lean_Meta_Closure_mkForall(lean_object*, lean_object*); lean_object* l_Std_HashMapImp_find_x3f___at_Lean_Meta_Closure_visitLevel___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_mkValueTypeClosureAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_505____closed__4; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; lean_object* l___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefinitionImp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Meta_Closure_instInhabitedToProcessElement___closed__1; lean_object* lean_metavar_ctx_find_decl(lean_object*, lean_object*); @@ -14251,7 +14251,7 @@ static lean_object* _init_l___private_Lean_Meta_Closure_0__Lean_Meta_mkAuxDefini _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index d355ca2b50..2301bf58ba 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -533,6 +533,7 @@ extern lean_object* l_Lean_Meta_isExprDefEqAuxRef; lean_object* l_Lean_Meta_CheckAssignment_throwCheckAssignmentFailure(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isAssignable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDelayedAssigned___at_Lean_Meta_CheckAssignment_check___spec__67(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; uint8_t l_Std_PersistentArray_anyM___at_Lean_Meta_CheckAssignment_check___spec__10(lean_object*, lean_object*); lean_object* l_Array_anyMUnsafe_any___at_Lean_Meta_CheckAssignment_check___spec__49___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignmentFOApprox_loop_match__1(lean_object*); @@ -540,7 +541,6 @@ lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkTypesAndAssign___ uint8_t l_Array_contains___at___private_Lean_Class_0__Lean_checkOutParam___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqQuickOther___closed__4; lean_object* l_Lean_Meta_whenUndefDo_match__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_Meta_mkLambdaFVars___at_Lean_Meta_CheckAssignment_assignToConstFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unfoldBothDefEq_match__1(lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Meta_CheckAssignment_check___spec__65(lean_object*, size_t, size_t, lean_object*); @@ -5430,7 +5430,7 @@ static lean_object* _init_l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_checkType _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } diff --git a/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c index d69ce3866c..c46dc12fa4 100644 --- a/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c +++ b/stage0/stdlib/Lean/Meta/Match/CaseArraySizes.c @@ -28,6 +28,7 @@ lean_object* l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayL lean_object* l_Lean_Meta_CaseArraySizesSubgoal_diseqs___default; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); lean_object* l_Lean_Meta_inferType___at___private_Lean_Meta_InferType_0__Lean_Meta_inferAppType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLocalDeclImp___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Array_empty___closed__1; lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -73,7 +74,6 @@ lean_object* l___private_Lean_Meta_Match_CaseArraySizes_0__Lean_Meta_introArrayL lean_object* l_Lean_Meta_clear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_appendIndexAfter(lean_object*, lean_object*); lean_object* l_Lean_Meta_getArrayArgType___closed__2; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16; lean_object* l_Lean_Meta_instInhabitedCaseArraySizesSubgoal; lean_object* l_Array_mapMUnsafe_map___at_Lean_Meta_caseArraySizes___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2239,7 +2239,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array___kind_term____x40_Init_Data_Array_Subarray___hyg_510____closed__1; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__16; +x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__10; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Meta/Match/Match.c b/stage0/stdlib/Lean/Meta/Match/Match.c index b94a9bdba2..c2348497fb 100644 --- a/stage0/stdlib/Lean/Meta/Match/Match.c +++ b/stage0/stdlib/Lean/Meta/Match/Match.c @@ -156,7 +156,6 @@ uint8_t l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_has lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isNextVar___boxed(lean_object*); 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*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processValue___closed__2; -extern lean_object* l_Lean_Meta_evalNat___closed__8; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isFirstPatternVar___boxed(lean_object*); lean_object* l_Lean_Meta_commitWhenSome_x3f___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_inLocalDecls(lean_object*, lean_object*); @@ -296,7 +295,6 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_loop_ lean_object* l_Lean_Meta_Match_processInaccessibleAsCtor___lambda__1___closed__1; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___closed__1; lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processSkipInaccessible___spec__1___closed__1; -extern lean_object* l_Lean_Meta_evalNat_match__2___rarg___closed__1; lean_object* l_List_foldr___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isValueTransition___spec__1___boxed(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_isVariableTransition(lean_object*); @@ -460,6 +458,7 @@ lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_withAlts_mkMin lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processConstructor___spec__8___closed__1; lean_object* l_Lean_Meta_getLocalDecl___at_Lean_Meta_getFVarLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_map___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_expandNatValuePattern___spec__1(lean_object*); +extern lean_object* l_Lean_Meta_evalNat_visit___closed__8; extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; uint8_t l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasAsPattern(lean_object*); lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_hasVarPattern_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -673,6 +672,7 @@ lean_object* l_Lean_Meta_caseArraySizes(lean_object*, lean_object*, lean_object* lean_object* l_Lean_Meta_MatcherApp_addArg___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_Meta_Match_Match_0__Lean_Meta_updateAlts___closed__2; lean_object* l___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_getInductiveVal_x3f_match__2___rarg(lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Meta_evalNat_match__1___rarg___closed__1; lean_object* l_List_filterMapM_loop___at___private_Lean_Meta_Match_Match_0__Lean_Meta_Match_processNonVariable___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_Match_Match_0__Lean_Meta_updateAlts___spec__1(lean_object*); lean_object* l_Lean_Meta_Match_Alt_applyFVarSubst(lean_object*, lean_object*); @@ -16493,7 +16493,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Literal_type___closed__2; -x_2 = l_Lean_Meta_evalNat_match__2___rarg___closed__1; +x_2 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } @@ -16608,7 +16608,7 @@ x_30 = lean_box(0); x_31 = l_Lean_mkNatLit(x_29); lean_ctor_set(x_12, 0, x_31); lean_ctor_set(x_10, 1, x_30); -x_32 = l_Lean_Meta_evalNat___closed__8; +x_32 = l_Lean_Meta_evalNat_visit___closed__8; x_33 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_30); @@ -16656,7 +16656,7 @@ lean_ctor_set(x_12, 0, x_43); x_44 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_44, 0, x_12); lean_ctor_set(x_44, 1, x_42); -x_45 = l_Lean_Meta_evalNat___closed__8; +x_45 = l_Lean_Meta_evalNat_visit___closed__8; x_46 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_42); @@ -16720,7 +16720,7 @@ if (lean_is_scalar(x_51)) { } lean_ctor_set(x_59, 0, x_12); lean_ctor_set(x_59, 1, x_57); -x_60 = l_Lean_Meta_evalNat___closed__8; +x_60 = l_Lean_Meta_evalNat_visit___closed__8; x_61 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_57); @@ -16888,7 +16888,7 @@ if (lean_is_scalar(x_79)) { } lean_ctor_set(x_88, 0, x_87); lean_ctor_set(x_88, 1, x_85); -x_89 = l_Lean_Meta_evalNat___closed__8; +x_89 = l_Lean_Meta_evalNat_visit___closed__8; x_90 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_90, 0, x_89); lean_ctor_set(x_90, 1, x_85); @@ -17130,7 +17130,7 @@ if (lean_is_scalar(x_119)) { } lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_125); -x_129 = l_Lean_Meta_evalNat___closed__8; +x_129 = l_Lean_Meta_evalNat_visit___closed__8; x_130 = lean_alloc_ctor(2, 4, 0); lean_ctor_set(x_130, 0, x_129); lean_ctor_set(x_130, 1, x_125); diff --git a/stage0/stdlib/Lean/Meta/Offset.c b/stage0/stdlib/Lean/Meta/Offset.c index 75440caefb..bd3148f89a 100644 --- a/stage0/stdlib/Lean/Meta/Offset.c +++ b/stage0/stdlib/Lean/Meta/Offset.c @@ -17,30 +17,29 @@ lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1(lean_ob lean_object* l_Lean_Meta_isDefEqOffset_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__2___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__3___rarg(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(lean_object*, uint8_t); +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__4(lean_object*); lean_object* lean_name_mk_string(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__3(lean_object*); lean_object* l_Lean_Meta_isExprDefEqAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(lean_object*); +lean_object* l_Lean_Meta_evalNat_visit_match__1(lean_object*); +lean_object* l_Lean_Meta_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__1___rarg(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4(lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__5___rarg(lean_object*, uint8_t, lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat___closed__8; -lean_object* l_Lean_Meta_evalNat___closed__4; +lean_object* l_Lean_Meta_evalNat_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__5(lean_object*); lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat(lean_object*); +lean_object* l_Lean_Meta_evalNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instantiateMVarsImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__3___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat_match__2(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat___closed__7; lean_object* l_Lean_Meta_isDefEqOffset_match__2(lean_object*); -lean_object* l_Lean_Meta_evalNat_match__2___rarg___closed__1; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__5(lean_object*); lean_object* l_Lean_Meta_isDefEqOffset(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__6; @@ -51,82 +50,309 @@ lean_object* l_Lean_Meta_evalNat_match__1(lean_object*); extern lean_object* l_Lean_Expr_isCharLit___closed__3; lean_object* l_Lean_Meta_isDefEqOffset_match__1(lean_object*); extern lean_object* l_Lean_Literal_type___closed__2; -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__7; -lean_object* l_Lean_Meta_evalNat___closed__5; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__2___rarg(lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat___closed__3; -lean_object* l_Lean_Meta_evalNat___closed__6; lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__1(lean_object*); -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero___boxed(lean_object*); -lean_object* l_Lean_Meta_evalNat_match__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__2(lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__6; +lean_object* l_Lean_Meta_evalNat_visit___closed__6; lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__8; +lean_object* l_Lean_Meta_evalNat_visit___closed__4; +uint8_t l_Lean_Expr_isMVar(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__1; extern lean_object* l_myMacro____x40_Init_Notation___hyg_538____closed__6; extern lean_object* l_myMacro____x40_Init_Notation___hyg_706____closed__7; uint8_t l_Bool_toLBool(uint8_t); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__2(lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat___closed__2; -lean_object* l_Lean_Meta_evalNat___closed__1; +lean_object* l_Lean_Meta_evalNat_visit___closed__3; lean_object* l_Lean_Meta_isDefEqOffset_match__5___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffset(lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__2; +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffset(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1; lean_object* l_Lean_Meta_isDefEqOffset_match__3(lean_object*); lean_object* l_Lean_mkNatLit(lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__7; +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Syntax_decodeNatLitVal___closed__1; lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__4___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero_match__1___rarg(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero_match__1(lean_object*); +lean_object* l_Lean_Meta_evalNat_visit_match__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkConst(lean_object*, lean_object*); lean_object* l_Lean_Meta_isDefEqOffset_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat_match__1___rarg(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_match__1___rarg___closed__1; +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_evalNat_visit___closed__5; +lean_object* l_Lean_Meta_evalNat_match__1___rarg(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_Lean_Meta_isDefEqOffset_match__6___rarg(lean_object*, lean_object*, lean_object*); extern lean_object* l_myMacro____x40_Init_Notation___hyg_370____closed__7; -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(lean_object*); -lean_object* l_Lean_Meta_evalNat_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -if (lean_obj_tag(x_1) == 4) +lean_object* x_7; +x_7 = l_Lean_Meta_instantiateMVarsImp(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); -return x_8; +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); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_7, 0, x_10); +return x_7; } else { +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_ctor_get(x_7, 0); +x_12 = lean_ctor_get(x_7, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_7); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_11); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} +} +else +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_7); +if (x_15 == 0) +{ +return x_7; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_7, 0); +x_17 = lean_ctor_get(x_7, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_7); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars(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_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_9 = l_Lean_Meta_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +uint8_t x_17; +x_17 = !lean_is_exclusive(x_9); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_9, 1); +x_19 = lean_ctor_get(x_9, 0); +lean_dec(x_19); +x_20 = lean_ctor_get(x_10, 0); +lean_inc(x_20); +lean_dec(x_10); +x_21 = l_Lean_Expr_getAppFn(x_20); +x_22 = l_Lean_Expr_isMVar(x_21); +lean_dec(x_21); +if (x_22 == 0) +{ +lean_object* x_23; +lean_free_object(x_9); +x_23 = lean_apply_6(x_3, x_20, x_4, x_5, x_6, x_7, x_18); +return x_23; +} +else +{ +lean_object* x_24; +lean_dec(x_20); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_24 = lean_box(0); +lean_ctor_set(x_9, 0, x_24); return x_9; } } +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_9, 1); +lean_inc(x_25); +lean_dec(x_9); +x_26 = lean_ctor_get(x_10, 0); +lean_inc(x_26); +lean_dec(x_10); +x_27 = l_Lean_Expr_getAppFn(x_26); +x_28 = l_Lean_Expr_isMVar(x_27); +lean_dec(x_27); +if (x_28 == 0) +{ +lean_object* x_29; +x_29 = lean_apply_6(x_3, x_26, x_4, x_5, x_6, x_7, x_25); +return x_29; } -lean_object* l_Lean_Meta_evalNat_match__1(lean_object* x_1) { +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_26); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_30 = lean_box(0); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_25); +return x_31; +} +} +} +} +else +{ +uint8_t x_32; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_32 = !lean_is_exclusive(x_9); +if (x_32 == 0) +{ +return x_9; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_9, 0); +x_34 = lean_ctor_get(x_9, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_9); +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_Lean_Meta_evalNat_visit_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)) { +case 2: +{ +lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_2(x_2, x_5, x_7); +return x_8; +} +case 4: +{ +lean_object* x_9; lean_object* x_10; uint64_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); +lean_dec(x_2); +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +x_11 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_12 = lean_box_uint64(x_11); +x_13 = lean_apply_3(x_3, x_9, x_10, x_12); +return x_13; +} +default: +{ +lean_object* x_14; +lean_dec(x_3); +lean_dec(x_2); +x_14 = lean_apply_1(x_4, x_1); +return x_14; +} +} +} +} +lean_object* l_Lean_Meta_evalNat_visit_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_evalNat_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_evalNat_visit_match__1___rarg), 4, 0); return x_2; } } -static lean_object* _init_l_Lean_Meta_evalNat_match__2___rarg___closed__1() { +static lean_object* _init_l_Lean_Meta_evalNat_match__1___rarg___closed__1() { _start: { lean_object* x_1; @@ -134,406 +360,426 @@ x_1 = lean_mk_string("zero"); return x_1; } } -lean_object* l_Lean_Meta_evalNat_match__2___rarg(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_Lean_Meta_evalNat_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { switch (lean_obj_tag(x_1)) { +case 2: +{ +lean_object* x_8; uint64_t x_9; lean_object* x_10; lean_object* x_11; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +x_10 = lean_box_uint64(x_9); +x_11 = lean_apply_3(x_6, x_1, x_8, x_10); +return x_11; +} case 4: { -lean_object* x_7; +lean_object* x_12; +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_7 = lean_ctor_get(x_1, 0); -lean_inc(x_7); -if (lean_obj_tag(x_7) == 1) +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 1) { -lean_object* x_8; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -if (lean_obj_tag(x_8) == 1) +lean_object* x_13; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 1) { -lean_object* x_9; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -if (lean_obj_tag(x_9) == 0) +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_10; uint8_t x_11; -x_10 = lean_ctor_get(x_1, 1); -lean_inc(x_10); -x_11 = !lean_is_exclusive(x_7); -if (x_11 == 0) -{ -uint64_t x_12; lean_object* x_13; size_t x_14; lean_object* x_15; uint8_t x_16; -x_12 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_13 = lean_ctor_get(x_7, 1); -x_14 = lean_ctor_get_usize(x_7, 2); -x_15 = lean_ctor_get(x_7, 0); -lean_dec(x_15); -x_16 = !lean_is_exclusive(x_8); +lean_object* x_15; uint8_t x_16; +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +x_16 = !lean_is_exclusive(x_12); if (x_16 == 0) { -lean_object* x_17; size_t x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_8, 1); -x_18 = lean_ctor_get_usize(x_8, 2); -x_19 = lean_ctor_get(x_8, 0); -lean_dec(x_19); -x_20 = l_Lean_Literal_type___closed__1; -x_21 = lean_string_dec_eq(x_17, x_20); -lean_dec(x_17); +uint64_t x_17; lean_object* x_18; size_t x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_18 = lean_ctor_get(x_12, 1); +x_19 = lean_ctor_get_usize(x_12, 2); +x_20 = lean_ctor_get(x_12, 0); +lean_dec(x_20); +x_21 = !lean_is_exclusive(x_13); if (x_21 == 0) { -lean_object* x_22; -lean_free_object(x_8); -lean_free_object(x_7); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_4); -x_22 = lean_apply_1(x_6, x_1); -return x_22; -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_1); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_24 = lean_ctor_get(x_1, 1); +lean_object* x_22; size_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_13, 1); +x_23 = lean_ctor_get_usize(x_13, 2); +x_24 = lean_ctor_get(x_13, 0); lean_dec(x_24); -x_25 = lean_ctor_get(x_1, 0); -lean_dec(x_25); -x_26 = l_Lean_Meta_evalNat_match__2___rarg___closed__1; -x_27 = lean_string_dec_eq(x_13, x_26); -if (x_27 == 0) +x_25 = l_Lean_Literal_type___closed__1; +x_26 = lean_string_dec_eq(x_22, x_25); +lean_dec(x_22); +if (x_26 == 0) { -lean_object* x_28; +lean_object* x_27; +lean_free_object(x_13); +lean_free_object(x_12); +lean_dec(x_18); +lean_dec(x_15); lean_dec(x_4); -lean_ctor_set(x_8, 1, x_20); -x_28 = lean_apply_1(x_6, x_1); -return x_28; +x_27 = lean_apply_1(x_7, x_1); +return x_27; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +uint8_t x_28; +x_28 = !lean_is_exclusive(x_1); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_29 = lean_ctor_get(x_1, 1); +lean_dec(x_29); +x_30 = lean_ctor_get(x_1, 0); +lean_dec(x_30); +x_31 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; +x_32 = lean_string_dec_eq(x_18, x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_4); +lean_ctor_set(x_13, 1, x_25); +x_33 = lean_apply_1(x_7, x_1); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_free_object(x_1); -lean_free_object(x_8); -lean_free_object(x_7); -lean_dec(x_13); -lean_dec(x_6); -x_29 = lean_box_uint64(x_12); -x_30 = lean_box_usize(x_18); -x_31 = lean_box_usize(x_14); -x_32 = lean_apply_4(x_4, x_10, x_29, x_30, x_31); -return x_32; +lean_free_object(x_13); +lean_free_object(x_12); +lean_dec(x_18); +lean_dec(x_7); +x_34 = lean_box_uint64(x_17); +x_35 = lean_box_usize(x_23); +x_36 = lean_box_usize(x_19); +x_37 = lean_apply_4(x_4, x_15, x_34, x_35, x_36); +return x_37; } } else { -lean_object* x_33; uint8_t x_34; +lean_object* x_38; uint8_t x_39; lean_dec(x_1); -x_33 = l_Lean_Meta_evalNat_match__2___rarg___closed__1; -x_34 = lean_string_dec_eq(x_13, x_33); -if (x_34 == 0) +x_38 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; +x_39 = lean_string_dec_eq(x_18, x_38); +if (x_39 == 0) { -lean_object* x_35; lean_object* x_36; +lean_object* x_40; lean_object* x_41; lean_dec(x_4); -lean_ctor_set(x_8, 1, x_20); -x_35 = lean_alloc_ctor(4, 2, 8); -lean_ctor_set(x_35, 0, x_7); -lean_ctor_set(x_35, 1, x_10); -lean_ctor_set_uint64(x_35, sizeof(void*)*2, x_12); -x_36 = lean_apply_1(x_6, x_35); -return x_36; +lean_ctor_set(x_13, 1, x_25); +x_40 = lean_alloc_ctor(4, 2, 8); +lean_ctor_set(x_40, 0, x_12); +lean_ctor_set(x_40, 1, x_15); +lean_ctor_set_uint64(x_40, sizeof(void*)*2, x_17); +x_41 = lean_apply_1(x_7, x_40); +return x_41; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -lean_free_object(x_8); -lean_free_object(x_7); -lean_dec(x_13); -lean_dec(x_6); -x_37 = lean_box_uint64(x_12); -x_38 = lean_box_usize(x_18); -x_39 = lean_box_usize(x_14); -x_40 = lean_apply_4(x_4, x_10, x_37, x_38, x_39); -return x_40; -} -} -} -} -else -{ -lean_object* x_41; size_t x_42; lean_object* x_43; uint8_t x_44; -x_41 = lean_ctor_get(x_8, 1); -x_42 = lean_ctor_get_usize(x_8, 2); -lean_inc(x_41); -lean_dec(x_8); -x_43 = l_Lean_Literal_type___closed__1; -x_44 = lean_string_dec_eq(x_41, x_43); -lean_dec(x_41); -if (x_44 == 0) -{ -lean_object* x_45; -lean_free_object(x_7); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_4); -x_45 = lean_apply_1(x_6, x_1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_free_object(x_13); +lean_free_object(x_12); +lean_dec(x_18); +lean_dec(x_7); +x_42 = lean_box_uint64(x_17); +x_43 = lean_box_usize(x_23); +x_44 = lean_box_usize(x_19); +x_45 = lean_apply_4(x_4, x_15, x_42, x_43, x_44); return x_45; } -else -{ -lean_object* x_46; lean_object* x_47; uint8_t x_48; -if (lean_is_exclusive(x_1)) { - lean_ctor_release(x_1, 0); - lean_ctor_release(x_1, 1); - x_46 = x_1; -} else { - lean_dec_ref(x_1); - x_46 = lean_box(0); } -x_47 = l_Lean_Meta_evalNat_match__2___rarg___closed__1; -x_48 = lean_string_dec_eq(x_13, x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; -lean_dec(x_4); -x_49 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_49, 0, x_9); -lean_ctor_set(x_49, 1, x_43); -lean_ctor_set_usize(x_49, 2, x_42); -lean_ctor_set(x_7, 0, x_49); -if (lean_is_scalar(x_46)) { - x_50 = lean_alloc_ctor(4, 2, 8); -} else { - x_50 = x_46; } -lean_ctor_set(x_50, 0, x_7); -lean_ctor_set(x_50, 1, x_10); -lean_ctor_set_uint64(x_50, sizeof(void*)*2, x_12); -x_51 = lean_apply_1(x_6, x_50); -return x_51; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -lean_dec(x_46); -lean_free_object(x_7); +lean_object* x_46; size_t x_47; lean_object* x_48; uint8_t x_49; +x_46 = lean_ctor_get(x_13, 1); +x_47 = lean_ctor_get_usize(x_13, 2); +lean_inc(x_46); lean_dec(x_13); -lean_dec(x_6); -x_52 = lean_box_uint64(x_12); -x_53 = lean_box_usize(x_42); -x_54 = lean_box_usize(x_14); -x_55 = lean_apply_4(x_4, x_10, x_52, x_53, x_54); -return x_55; -} -} -} -} -else +x_48 = l_Lean_Literal_type___closed__1; +x_49 = lean_string_dec_eq(x_46, x_48); +lean_dec(x_46); +if (x_49 == 0) { -uint64_t x_56; lean_object* x_57; size_t x_58; lean_object* x_59; size_t x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_56 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_57 = lean_ctor_get(x_7, 1); -x_58 = lean_ctor_get_usize(x_7, 2); -lean_inc(x_57); -lean_dec(x_7); -x_59 = lean_ctor_get(x_8, 1); -lean_inc(x_59); -x_60 = lean_ctor_get_usize(x_8, 2); -if (lean_is_exclusive(x_8)) { - lean_ctor_release(x_8, 0); - lean_ctor_release(x_8, 1); - x_61 = x_8; -} else { - lean_dec_ref(x_8); - x_61 = lean_box(0); -} -x_62 = l_Lean_Literal_type___closed__1; -x_63 = lean_string_dec_eq(x_59, x_62); -lean_dec(x_59); -if (x_63 == 0) -{ -lean_object* x_64; -lean_dec(x_61); -lean_dec(x_57); -lean_dec(x_10); +lean_object* x_50; +lean_free_object(x_12); +lean_dec(x_18); +lean_dec(x_15); lean_dec(x_4); -x_64 = lean_apply_1(x_6, x_1); -return x_64; +x_50 = lean_apply_1(x_7, x_1); +return x_50; } else { -lean_object* x_65; lean_object* x_66; uint8_t x_67; +lean_object* x_51; lean_object* x_52; uint8_t x_53; if (lean_is_exclusive(x_1)) { lean_ctor_release(x_1, 0); lean_ctor_release(x_1, 1); - x_65 = x_1; + x_51 = x_1; } else { lean_dec_ref(x_1); - x_65 = lean_box(0); + x_51 = lean_box(0); } -x_66 = l_Lean_Meta_evalNat_match__2___rarg___closed__1; -x_67 = lean_string_dec_eq(x_57, x_66); -if (x_67 == 0) +x_52 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; +x_53 = lean_string_dec_eq(x_18, x_52); +if (x_53 == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_dec(x_4); -if (lean_is_scalar(x_61)) { - x_68 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +x_54 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_54, 0, x_14); +lean_ctor_set(x_54, 1, x_48); +lean_ctor_set_usize(x_54, 2, x_47); +lean_ctor_set(x_12, 0, x_54); +if (lean_is_scalar(x_51)) { + x_55 = lean_alloc_ctor(4, 2, 8); } else { - x_68 = x_61; + x_55 = x_51; } -lean_ctor_set(x_68, 0, x_9); -lean_ctor_set(x_68, 1, x_62); -lean_ctor_set_usize(x_68, 2, x_60); -x_69 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_57); -lean_ctor_set_usize(x_69, 2, x_58); -if (lean_is_scalar(x_65)) { - x_70 = lean_alloc_ctor(4, 2, 8); -} else { - x_70 = x_65; -} -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_10); -lean_ctor_set_uint64(x_70, sizeof(void*)*2, x_56); -x_71 = lean_apply_1(x_6, x_70); -return x_71; +lean_ctor_set(x_55, 0, x_12); +lean_ctor_set(x_55, 1, x_15); +lean_ctor_set_uint64(x_55, sizeof(void*)*2, x_17); +x_56 = lean_apply_1(x_7, x_55); +return x_56; } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_65); -lean_dec(x_61); -lean_dec(x_57); -lean_dec(x_6); -x_72 = lean_box_uint64(x_56); -x_73 = lean_box_usize(x_60); -x_74 = lean_box_usize(x_58); -x_75 = lean_apply_4(x_4, x_10, x_72, x_73, x_74); -return x_75; -} -} -} -} -else -{ -lean_object* x_76; -lean_dec(x_9); -lean_dec(x_8); +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +lean_dec(x_51); +lean_free_object(x_12); +lean_dec(x_18); lean_dec(x_7); +x_57 = lean_box_uint64(x_17); +x_58 = lean_box_usize(x_47); +x_59 = lean_box_usize(x_19); +x_60 = lean_apply_4(x_4, x_15, x_57, x_58, x_59); +return x_60; +} +} +} +} +else +{ +uint64_t x_61; lean_object* x_62; size_t x_63; lean_object* x_64; size_t x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_61 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_62 = lean_ctor_get(x_12, 1); +x_63 = lean_ctor_get_usize(x_12, 2); +lean_inc(x_62); +lean_dec(x_12); +x_64 = lean_ctor_get(x_13, 1); +lean_inc(x_64); +x_65 = lean_ctor_get_usize(x_13, 2); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_66 = x_13; +} else { + lean_dec_ref(x_13); + x_66 = lean_box(0); +} +x_67 = l_Lean_Literal_type___closed__1; +x_68 = lean_string_dec_eq(x_64, x_67); +lean_dec(x_64); +if (x_68 == 0) +{ +lean_object* x_69; +lean_dec(x_66); +lean_dec(x_62); +lean_dec(x_15); lean_dec(x_4); -x_76 = lean_apply_1(x_6, x_1); +x_69 = lean_apply_1(x_7, x_1); +return x_69; +} +else +{ +lean_object* x_70; lean_object* x_71; uint8_t x_72; +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_70 = x_1; +} else { + lean_dec_ref(x_1); + x_70 = lean_box(0); +} +x_71 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; +x_72 = lean_string_dec_eq(x_62, x_71); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_4); +if (lean_is_scalar(x_66)) { + x_73 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +} else { + x_73 = x_66; +} +lean_ctor_set(x_73, 0, x_14); +lean_ctor_set(x_73, 1, x_67); +lean_ctor_set_usize(x_73, 2, x_65); +x_74 = lean_alloc_ctor(1, 2, sizeof(size_t)*1); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_62); +lean_ctor_set_usize(x_74, 2, x_63); +if (lean_is_scalar(x_70)) { + x_75 = lean_alloc_ctor(4, 2, 8); +} else { + x_75 = x_70; +} +lean_ctor_set(x_75, 0, x_74); +lean_ctor_set(x_75, 1, x_15); +lean_ctor_set_uint64(x_75, sizeof(void*)*2, x_61); +x_76 = lean_apply_1(x_7, x_75); return x_76; } -} else { -lean_object* x_77; -lean_dec(x_8); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_dec(x_70); +lean_dec(x_66); +lean_dec(x_62); lean_dec(x_7); -lean_dec(x_4); -x_77 = lean_apply_1(x_6, x_1); -return x_77; +x_77 = lean_box_uint64(x_61); +x_78 = lean_box_usize(x_65); +x_79 = lean_box_usize(x_63); +x_80 = lean_apply_4(x_4, x_15, x_77, x_78, x_79); +return x_80; +} +} } } else { -lean_object* x_78; -lean_dec(x_7); +lean_object* x_81; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_4); -x_78 = lean_apply_1(x_6, x_1); -return x_78; +x_81 = lean_apply_1(x_7, x_1); +return x_81; +} +} +else +{ +lean_object* x_82; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_4); +x_82 = lean_apply_1(x_7, x_1); +return x_82; +} +} +else +{ +lean_object* x_83; +lean_dec(x_12); +lean_dec(x_4); +x_83 = lean_apply_1(x_7, x_1); +return x_83; } } case 5: { -lean_object* x_79; lean_object* x_80; uint64_t x_81; lean_object* x_82; lean_object* x_83; +lean_object* x_84; lean_object* x_85; uint64_t x_86; lean_object* x_87; lean_object* x_88; +lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_79 = lean_ctor_get(x_1, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_1, 1); -lean_inc(x_80); -x_81 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -x_82 = lean_box_uint64(x_81); -x_83 = lean_apply_4(x_5, x_1, x_79, x_80, x_82); -return x_83; +x_84 = lean_ctor_get(x_1, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_1, 1); +lean_inc(x_85); +x_86 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_87 = lean_box_uint64(x_86); +x_88 = lean_apply_4(x_5, x_1, x_84, x_85, x_87); +return x_88; } case 9: { -lean_object* x_84; +lean_object* x_89; +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_84 = lean_ctor_get(x_1, 0); -lean_inc(x_84); -if (lean_obj_tag(x_84) == 0) +x_89 = lean_ctor_get(x_1, 0); +lean_inc(x_89); +if (lean_obj_tag(x_89) == 0) { -uint64_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -lean_dec(x_6); -x_85 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +uint64_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_7); +x_90 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); lean_dec(x_1); -x_86 = lean_ctor_get(x_84, 0); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_box_uint64(x_85); -x_88 = lean_apply_2(x_2, x_86, x_87); -return x_88; +x_91 = lean_ctor_get(x_89, 0); +lean_inc(x_91); +lean_dec(x_89); +x_92 = lean_box_uint64(x_90); +x_93 = lean_apply_2(x_2, x_91, x_92); +return x_93; } else { -lean_object* x_89; -lean_dec(x_84); +lean_object* x_94; +lean_dec(x_89); lean_dec(x_2); -x_89 = lean_apply_1(x_6, x_1); -return x_89; +x_94 = lean_apply_1(x_7, x_1); +return x_94; } } case 10: { -lean_object* x_90; lean_object* x_91; uint64_t x_92; lean_object* x_93; lean_object* x_94; +lean_object* x_95; lean_object* x_96; uint64_t x_97; lean_object* x_98; lean_object* x_99; +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_90 = lean_ctor_get(x_1, 0); -lean_inc(x_90); -x_91 = lean_ctor_get(x_1, 1); -lean_inc(x_91); -x_92 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_95 = lean_ctor_get(x_1, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_1, 1); +lean_inc(x_96); +x_97 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); lean_dec(x_1); -x_93 = lean_box_uint64(x_92); -x_94 = lean_apply_3(x_3, x_90, x_91, x_93); -return x_94; +x_98 = lean_box_uint64(x_97); +x_99 = lean_apply_3(x_3, x_95, x_96, x_98); +return x_99; } default: { -lean_object* x_95; +lean_object* x_100; +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_95 = lean_apply_1(x_6, x_1); -return x_95; +x_100 = lean_apply_1(x_7, x_1); +return x_100; } } } } -lean_object* l_Lean_Meta_evalNat_match__2(lean_object* x_1) { +lean_object* l_Lean_Meta_evalNat_match__1(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Meta_evalNat_match__2___rarg), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Meta_evalNat_match__1___rarg), 7, 0); return x_2; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__1() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__1() { _start: { lean_object* x_1; @@ -541,27 +787,27 @@ x_1 = lean_mk_string("OfNat"); return x_1; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__2() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_evalNat___closed__1; +x_2 = l_Lean_Meta_evalNat_visit___closed__1; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__3() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Meta_evalNat___closed__2; +x_1 = l_Lean_Meta_evalNat_visit___closed__2; x_2 = l_Lean_Expr_isCharLit___closed__3; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__4() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -571,7 +817,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__5() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -581,7 +827,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__6() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -591,7 +837,7 @@ x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__7() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__7() { _start: { lean_object* x_1; @@ -599,786 +845,1351 @@ x_1 = lean_mk_string("succ"); return x_1; } } -static lean_object* _init_l_Lean_Meta_evalNat___closed__8() { +static lean_object* _init_l_Lean_Meta_evalNat_visit___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Literal_type___closed__2; -x_2 = l_Lean_Meta_evalNat___closed__7; +x_2 = l_Lean_Meta_evalNat_visit___closed__7; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } } -lean_object* l_Lean_Meta_evalNat(lean_object* x_1) { +lean_object* l_Lean_Meta_evalNat_visit(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: { -switch (lean_obj_tag(x_1)) { -case 4: +lean_object* x_7; +x_7 = l_Lean_Expr_getAppFn(x_1); +switch (lean_obj_tag(x_7)) { +case 2: { -lean_object* x_2; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -lean_dec(x_1); -if (lean_obj_tag(x_2) == 1) -{ -lean_object* x_3; -x_3 = lean_ctor_get(x_2, 0); -lean_inc(x_3); -if (lean_obj_tag(x_3) == 1) -{ -lean_object* x_4; -x_4 = lean_ctor_get(x_3, 0); -lean_inc(x_4); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; -x_5 = lean_ctor_get(x_2, 1); +lean_object* x_8; +lean_dec(x_7); lean_inc(x_5); -lean_dec(x_2); -x_6 = lean_ctor_get(x_3, 1); -lean_inc(x_6); -lean_dec(x_3); -x_7 = l_Lean_Literal_type___closed__1; -x_8 = lean_string_dec_eq(x_6, x_7); -lean_dec(x_6); -if (x_8 == 0) +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_8 = l_Lean_Meta_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_8) == 0) { lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; lean_dec(x_5); -x_9 = lean_box(0); -return x_9; -} -else -{ -lean_object* x_10; uint8_t x_11; -x_10 = l_Lean_Meta_evalNat_match__2___rarg___closed__1; -x_11 = lean_string_dec_eq(x_5, x_10); -lean_dec(x_5); -if (x_11 == 0) -{ -lean_object* x_12; -x_12 = lean_box(0); -return x_12; -} -else -{ -lean_object* x_13; -x_13 = l_Lean_Syntax_decodeNatLitVal___closed__1; -return x_13; -} -} -} -else -{ -lean_object* x_14; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_14 = lean_box(0); -return x_14; -} +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 0); +lean_dec(x_11); +x_12 = lean_box(0); +lean_ctor_set(x_8, 0, x_12); +return x_8; } else { -lean_object* x_15; -lean_dec(x_3); -lean_dec(x_2); -x_15 = lean_box(0); +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); return x_15; } } else { -lean_object* x_16; -lean_dec(x_2); -x_16 = lean_box(0); -return x_16; -} -} -case 5: +uint8_t x_16; +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_1, 1); -lean_inc(x_17); -x_18 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_18) == 4) -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_121; lean_object* x_189; uint8_t x_190; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_8, 1); +x_18 = lean_ctor_get(x_8, 0); lean_dec(x_18); -x_20 = lean_unsigned_to_nat(0u); -x_21 = l_Lean_Expr_getAppNumArgsAux(x_1, x_20); -x_189 = l_Lean_Meta_evalNat___closed__8; -x_190 = lean_name_eq(x_19, x_189); -if (x_190 == 0) +x_19 = lean_ctor_get(x_9, 0); +lean_inc(x_19); +lean_dec(x_9); +x_20 = l_Lean_Expr_getAppFn(x_19); +x_21 = l_Lean_Expr_isMVar(x_20); +lean_dec(x_20); +if (x_21 == 0) { -lean_object* x_191; -lean_dec(x_17); -x_191 = lean_box(0); -x_121 = x_191; -goto block_188; +lean_object* x_22; +lean_free_object(x_8); +x_22 = l_Lean_Meta_evalNat(x_19, x_2, x_3, x_4, x_5, x_17); +return x_22; } else { -lean_object* x_192; uint8_t x_193; -x_192 = lean_unsigned_to_nat(1u); -x_193 = lean_nat_dec_eq(x_21, x_192); -if (x_193 == 0) -{ -lean_object* x_194; -lean_dec(x_17); -x_194 = lean_box(0); -x_121 = x_194; -goto block_188; -} -else -{ -lean_object* x_195; -lean_dec(x_21); +lean_object* x_23; lean_dec(x_19); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(0); +lean_ctor_set(x_8, 0, x_23); +return x_8; +} +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_8, 1); +lean_inc(x_24); +lean_dec(x_8); +x_25 = lean_ctor_get(x_9, 0); +lean_inc(x_25); +lean_dec(x_9); +x_26 = l_Lean_Expr_getAppFn(x_25); +x_27 = l_Lean_Expr_isMVar(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = l_Lean_Meta_evalNat(x_25, x_2, x_3, x_4, x_5, x_24); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_25); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +return x_30; +} +} +} +} +else +{ +uint8_t x_31; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_8); +if (x_31 == 0) +{ +return x_8; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_8, 0); +x_33 = lean_ctor_get(x_8, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_8); +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; +} +} +} +case 4: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_54; lean_object* x_215; lean_object* x_370; uint8_t x_371; +x_35 = lean_ctor_get(x_7, 0); +lean_inc(x_35); +lean_dec(x_7); +x_36 = lean_unsigned_to_nat(0u); +x_37 = l_Lean_Expr_getAppNumArgsAux(x_1, x_36); +x_370 = l_Lean_Meta_evalNat_visit___closed__8; +x_371 = lean_name_eq(x_35, x_370); +if (x_371 == 0) +{ +lean_object* x_372; +x_372 = lean_box(0); +x_215 = x_372; +goto block_369; +} +else +{ +lean_object* x_373; uint8_t x_374; +x_373 = lean_unsigned_to_nat(1u); +x_374 = lean_nat_dec_eq(x_37, x_373); +if (x_374 == 0) +{ +lean_object* x_375; +x_375 = lean_box(0); +x_215 = x_375; +goto block_369; +} +else +{ +lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; +lean_dec(x_35); +x_376 = lean_nat_sub(x_37, x_36); +lean_dec(x_37); +x_377 = lean_nat_sub(x_376, x_373); +lean_dec(x_376); +x_378 = l_Lean_Expr_getRevArg_x21(x_1, x_377); lean_dec(x_1); -x_195 = l_Lean_Meta_evalNat(x_17); -if (lean_obj_tag(x_195) == 0) +x_379 = l_Lean_Meta_evalNat(x_378, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_379) == 0) { -lean_object* x_196; -x_196 = lean_box(0); -return x_196; +lean_object* x_380; +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +if (lean_obj_tag(x_380) == 0) +{ +uint8_t x_381; +x_381 = !lean_is_exclusive(x_379); +if (x_381 == 0) +{ +lean_object* x_382; lean_object* x_383; +x_382 = lean_ctor_get(x_379, 0); +lean_dec(x_382); +x_383 = lean_box(0); +lean_ctor_set(x_379, 0, x_383); +return x_379; } else { -uint8_t x_197; -x_197 = !lean_is_exclusive(x_195); -if (x_197 == 0) -{ -lean_object* x_198; lean_object* x_199; -x_198 = lean_ctor_get(x_195, 0); -x_199 = lean_nat_add(x_198, x_192); -lean_dec(x_198); -lean_ctor_set(x_195, 0, x_199); -return x_195; +lean_object* x_384; lean_object* x_385; lean_object* x_386; +x_384 = lean_ctor_get(x_379, 1); +lean_inc(x_384); +lean_dec(x_379); +x_385 = lean_box(0); +x_386 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_386, 0, x_385); +lean_ctor_set(x_386, 1, x_384); +return x_386; +} } else { -lean_object* x_200; lean_object* x_201; lean_object* x_202; -x_200 = lean_ctor_get(x_195, 0); -lean_inc(x_200); -lean_dec(x_195); -x_201 = lean_nat_add(x_200, x_192); -lean_dec(x_200); -x_202 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_202, 0, x_201); -return x_202; -} -} -} -} -block_120: +uint8_t x_387; +x_387 = !lean_is_exclusive(x_379); +if (x_387 == 0) { -lean_object* x_23; uint8_t x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; -lean_dec(x_22); -x_23 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; -x_24 = lean_name_eq(x_19, x_23); -x_25 = lean_unsigned_to_nat(4u); -x_26 = lean_nat_dec_eq(x_21, x_25); -if (x_24 == 0) +lean_object* x_388; uint8_t x_389; +x_388 = lean_ctor_get(x_379, 0); +lean_dec(x_388); +x_389 = !lean_is_exclusive(x_380); +if (x_389 == 0) { -lean_object* x_75; uint8_t x_76; -x_75 = l_myMacro____x40_Init_Notation___hyg_538____closed__7; -x_76 = lean_name_eq(x_19, x_75); -if (x_76 == 0) -{ -lean_object* x_77; -x_77 = lean_box(0); -x_27 = x_77; -goto block_74; +lean_object* x_390; lean_object* x_391; +x_390 = lean_ctor_get(x_380, 0); +x_391 = lean_nat_add(x_390, x_373); +lean_dec(x_390); +lean_ctor_set(x_380, 0, x_391); +return x_379; } else { -if (x_26 == 0) -{ -lean_object* x_78; -x_78 = lean_box(0); -x_27 = x_78; -goto block_74; +lean_object* x_392; lean_object* x_393; lean_object* x_394; +x_392 = lean_ctor_get(x_380, 0); +lean_inc(x_392); +lean_dec(x_380); +x_393 = lean_nat_add(x_392, x_373); +lean_dec(x_392); +x_394 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_394, 0, x_393); +lean_ctor_set(x_379, 0, x_394); +return x_379; +} } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -lean_dec(x_19); -x_79 = lean_unsigned_to_nat(2u); -x_80 = lean_nat_sub(x_21, x_79); -x_81 = lean_unsigned_to_nat(1u); -x_82 = lean_nat_sub(x_80, x_81); -lean_dec(x_80); +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; +x_395 = lean_ctor_get(x_379, 1); +lean_inc(x_395); +lean_dec(x_379); +x_396 = lean_ctor_get(x_380, 0); +lean_inc(x_396); +if (lean_is_exclusive(x_380)) { + lean_ctor_release(x_380, 0); + x_397 = x_380; +} else { + lean_dec_ref(x_380); + x_397 = lean_box(0); +} +x_398 = lean_nat_add(x_396, x_373); +lean_dec(x_396); +if (lean_is_scalar(x_397)) { + x_399 = lean_alloc_ctor(1, 1, 0); +} else { + x_399 = x_397; +} +lean_ctor_set(x_399, 0, x_398); +x_400 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_400, 0, x_399); +lean_ctor_set(x_400, 1, x_395); +return x_400; +} +} +} +else +{ +uint8_t x_401; +x_401 = !lean_is_exclusive(x_379); +if (x_401 == 0) +{ +return x_379; +} +else +{ +lean_object* x_402; lean_object* x_403; lean_object* x_404; +x_402 = lean_ctor_get(x_379, 0); +x_403 = lean_ctor_get(x_379, 1); +lean_inc(x_403); +lean_inc(x_402); +lean_dec(x_379); +x_404 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_404, 0, x_402); +lean_ctor_set(x_404, 1, x_403); +return x_404; +} +} +} +} +block_53: +{ +lean_object* x_39; uint8_t x_40; +lean_dec(x_38); +x_39 = l_Lean_Meta_evalNat_visit___closed__3; +x_40 = lean_name_eq(x_35, x_39); +lean_dec(x_35); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_41 = lean_box(0); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_6); +return x_42; +} +else +{ +lean_object* x_43; uint8_t x_44; +x_43 = lean_unsigned_to_nat(3u); +x_44 = lean_nat_dec_eq(x_37, x_43); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_6); +return x_46; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_47 = lean_unsigned_to_nat(2u); +x_48 = lean_nat_sub(x_37, x_47); +lean_dec(x_37); +x_49 = lean_unsigned_to_nat(1u); +x_50 = lean_nat_sub(x_48, x_49); +lean_dec(x_48); +x_51 = l_Lean_Expr_getRevArg_x21(x_1, x_50); +lean_dec(x_1); +x_52 = l_Lean_Meta_evalNat(x_51, x_2, x_3, x_4, x_5, x_6); +return x_52; +} +} +} +block_214: +{ +lean_object* x_55; uint8_t x_56; lean_object* x_57; uint8_t x_58; +lean_dec(x_54); +x_55 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; +x_56 = lean_name_eq(x_35, x_55); +x_57 = lean_unsigned_to_nat(4u); +x_58 = lean_nat_dec_eq(x_37, x_57); +if (x_56 == 0) +{ +lean_object* x_59; uint8_t x_60; +x_59 = l_myMacro____x40_Init_Notation___hyg_538____closed__7; +x_60 = lean_name_eq(x_35, x_59); +if (x_60 == 0) +{ +lean_object* x_61; uint8_t x_62; +x_61 = l_myMacro____x40_Init_Notation___hyg_706____closed__7; +x_62 = lean_name_eq(x_35, x_61); +if (x_62 == 0) +{ +lean_object* x_63; +x_63 = lean_box(0); +x_38 = x_63; +goto block_53; +} +else +{ +if (x_58 == 0) +{ +lean_object* x_64; +x_64 = lean_box(0); +x_38 = x_64; +goto block_53; +} +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_dec(x_35); +x_65 = lean_unsigned_to_nat(2u); +x_66 = lean_nat_sub(x_37, x_65); +x_67 = lean_unsigned_to_nat(1u); +x_68 = lean_nat_sub(x_66, x_67); +lean_dec(x_66); +x_69 = l_Lean_Expr_getRevArg_x21(x_1, x_68); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_70 = l_Lean_Meta_evalNat(x_69, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +if (lean_obj_tag(x_71) == 0) +{ +uint8_t x_72; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_72 = !lean_is_exclusive(x_70); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = lean_ctor_get(x_70, 0); +lean_dec(x_73); +x_74 = lean_box(0); +lean_ctor_set(x_70, 0, x_74); +return x_70; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +lean_dec(x_70); +x_76 = lean_box(0); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_76); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_78 = lean_ctor_get(x_70, 1); +lean_inc(x_78); +lean_dec(x_70); +x_79 = lean_ctor_get(x_71, 0); +lean_inc(x_79); +lean_dec(x_71); +x_80 = lean_unsigned_to_nat(3u); +x_81 = lean_nat_sub(x_37, x_80); +lean_dec(x_37); +x_82 = lean_nat_sub(x_81, x_67); +lean_dec(x_81); x_83 = l_Lean_Expr_getRevArg_x21(x_1, x_82); -x_84 = l_Lean_Meta_evalNat(x_83); +lean_dec(x_1); +x_84 = l_Lean_Meta_evalNat(x_83, x_2, x_3, x_4, x_5, x_78); if (lean_obj_tag(x_84) == 0) { lean_object* x_85; -lean_dec(x_21); -lean_dec(x_1); -x_85 = lean_box(0); -return x_85; +x_85 = lean_ctor_get(x_84, 0); +lean_inc(x_85); +if (lean_obj_tag(x_85) == 0) +{ +uint8_t x_86; +lean_dec(x_79); +x_86 = !lean_is_exclusive(x_84); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_84, 0); +lean_dec(x_87); +x_88 = lean_box(0); +lean_ctor_set(x_84, 0, x_88); +return x_84; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_86 = lean_ctor_get(x_84, 0); -lean_inc(x_86); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); lean_dec(x_84); -x_87 = lean_unsigned_to_nat(3u); -x_88 = lean_nat_sub(x_21, x_87); -lean_dec(x_21); -x_89 = lean_nat_sub(x_88, x_81); -lean_dec(x_88); -x_90 = l_Lean_Expr_getRevArg_x21(x_1, x_89); -lean_dec(x_1); -x_91 = l_Lean_Meta_evalNat(x_90); -if (lean_obj_tag(x_91) == 0) -{ -lean_object* x_92; -lean_dec(x_86); -x_92 = lean_box(0); -return x_92; -} -else -{ -uint8_t x_93; -x_93 = !lean_is_exclusive(x_91); -if (x_93 == 0) -{ -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_91, 0); -x_95 = lean_nat_sub(x_86, x_94); -lean_dec(x_94); -lean_dec(x_86); -lean_ctor_set(x_91, 0, x_95); +x_90 = lean_box(0); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_89); return x_91; } -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_91, 0); -lean_inc(x_96); -lean_dec(x_91); -x_97 = lean_nat_sub(x_86, x_96); -lean_dec(x_96); -lean_dec(x_86); -x_98 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_98, 0, x_97); -return x_98; -} -} -} -} -} } else { -if (x_26 == 0) +uint8_t x_92; +x_92 = !lean_is_exclusive(x_84); +if (x_92 == 0) { -lean_object* x_99; -x_99 = lean_box(0); -x_27 = x_99; -goto block_74; +lean_object* x_93; uint8_t x_94; +x_93 = lean_ctor_get(x_84, 0); +lean_dec(x_93); +x_94 = !lean_is_exclusive(x_85); +if (x_94 == 0) +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_85, 0); +x_96 = lean_nat_mul(x_79, x_95); +lean_dec(x_95); +lean_dec(x_79); +lean_ctor_set(x_85, 0, x_96); +return x_84; +} +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_85, 0); +lean_inc(x_97); +lean_dec(x_85); +x_98 = lean_nat_mul(x_79, x_97); +lean_dec(x_97); +lean_dec(x_79); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_84, 0, x_99); +return x_84; +} } else { lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -lean_dec(x_19); -x_100 = lean_unsigned_to_nat(2u); -x_101 = lean_nat_sub(x_21, x_100); -x_102 = lean_unsigned_to_nat(1u); -x_103 = lean_nat_sub(x_101, x_102); +x_100 = lean_ctor_get(x_84, 1); +lean_inc(x_100); +lean_dec(x_84); +x_101 = lean_ctor_get(x_85, 0); +lean_inc(x_101); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + x_102 = x_85; +} else { + lean_dec_ref(x_85); + x_102 = lean_box(0); +} +x_103 = lean_nat_mul(x_79, x_101); lean_dec(x_101); -x_104 = l_Lean_Expr_getRevArg_x21(x_1, x_103); -x_105 = l_Lean_Meta_evalNat(x_104); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; -lean_dec(x_21); -lean_dec(x_1); -x_106 = lean_box(0); -return x_106; +lean_dec(x_79); +if (lean_is_scalar(x_102)) { + x_104 = lean_alloc_ctor(1, 1, 0); +} else { + x_104 = x_102; +} +lean_ctor_set(x_104, 0, x_103); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_100); +return x_105; +} +} } else { -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_107 = lean_ctor_get(x_105, 0); -lean_inc(x_107); -lean_dec(x_105); -x_108 = lean_unsigned_to_nat(3u); -x_109 = lean_nat_sub(x_21, x_108); -lean_dec(x_21); -x_110 = lean_nat_sub(x_109, x_102); -lean_dec(x_109); -x_111 = l_Lean_Expr_getRevArg_x21(x_1, x_110); -lean_dec(x_1); -x_112 = l_Lean_Meta_evalNat(x_111); -if (lean_obj_tag(x_112) == 0) +uint8_t x_106; +lean_dec(x_79); +x_106 = !lean_is_exclusive(x_84); +if (x_106 == 0) { -lean_object* x_113; -lean_dec(x_107); -x_113 = lean_box(0); +return x_84; +} +else +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_84, 0); +x_108 = lean_ctor_get(x_84, 1); +lean_inc(x_108); +lean_inc(x_107); +lean_dec(x_84); +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; +} +} +} +} +else +{ +uint8_t x_110; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_110 = !lean_is_exclusive(x_70); +if (x_110 == 0) +{ +return x_70; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_70, 0); +x_112 = lean_ctor_get(x_70, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_70); +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); return x_113; } -else -{ -uint8_t x_114; -x_114 = !lean_is_exclusive(x_112); -if (x_114 == 0) -{ -lean_object* x_115; lean_object* x_116; -x_115 = lean_ctor_get(x_112, 0); -x_116 = lean_nat_add(x_107, x_115); -lean_dec(x_115); -lean_dec(x_107); -lean_ctor_set(x_112, 0, x_116); -return x_112; +} +} +} } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_ctor_get(x_112, 0); -lean_inc(x_117); -lean_dec(x_112); -x_118 = lean_nat_add(x_107, x_117); -lean_dec(x_117); -lean_dec(x_107); -x_119 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_119, 0, x_118); -return x_119; -} -} -} -} -} -block_74: +if (x_58 == 0) { -lean_object* x_28; uint8_t x_29; -lean_dec(x_27); -x_28 = l_myMacro____x40_Init_Notation___hyg_706____closed__7; -x_29 = lean_name_eq(x_19, x_28); -if (x_29 == 0) -{ -lean_object* x_30; uint8_t x_31; -x_30 = l_Lean_Meta_evalNat___closed__3; -x_31 = lean_name_eq(x_19, x_30); -lean_dec(x_19); -if (x_31 == 0) -{ -lean_object* x_32; -lean_dec(x_21); -lean_dec(x_1); -x_32 = lean_box(0); -return x_32; +lean_object* x_114; +x_114 = lean_box(0); +x_38 = x_114; +goto block_53; } else { -lean_object* x_33; uint8_t x_34; -x_33 = lean_unsigned_to_nat(3u); -x_34 = lean_nat_dec_eq(x_21, x_33); -if (x_34 == 0) +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_35); +x_115 = lean_unsigned_to_nat(2u); +x_116 = lean_nat_sub(x_37, x_115); +x_117 = lean_unsigned_to_nat(1u); +x_118 = lean_nat_sub(x_116, x_117); +lean_dec(x_116); +x_119 = l_Lean_Expr_getRevArg_x21(x_1, x_118); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_120 = l_Lean_Meta_evalNat(x_119, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_35; -lean_dec(x_21); -lean_dec(x_1); -x_35 = lean_box(0); -return x_35; -} -else +lean_object* x_121; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +if (lean_obj_tag(x_121) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_36 = lean_unsigned_to_nat(2u); -x_37 = lean_nat_sub(x_21, x_36); -lean_dec(x_21); -x_38 = lean_unsigned_to_nat(1u); -x_39 = lean_nat_sub(x_37, x_38); +uint8_t x_122; lean_dec(x_37); -x_40 = l_Lean_Expr_getRevArg_x21(x_1, x_39); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_1 = x_40; -goto _start; +x_122 = !lean_is_exclusive(x_120); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; +x_123 = lean_ctor_get(x_120, 0); +lean_dec(x_123); +x_124 = lean_box(0); +lean_ctor_set(x_120, 0, x_124); +return x_120; } +else +{ +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_120, 1); +lean_inc(x_125); +lean_dec(x_120); +x_126 = lean_box(0); +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +return x_127; } } else { -if (x_26 == 0) -{ -lean_object* x_42; uint8_t x_43; -x_42 = l_Lean_Meta_evalNat___closed__3; -x_43 = lean_name_eq(x_19, x_42); -lean_dec(x_19); -if (x_43 == 0) -{ -lean_object* x_44; -lean_dec(x_21); -lean_dec(x_1); -x_44 = lean_box(0); -return x_44; -} -else -{ -lean_object* x_45; uint8_t x_46; -x_45 = lean_unsigned_to_nat(3u); -x_46 = lean_nat_dec_eq(x_21, x_45); -if (x_46 == 0) -{ -lean_object* x_47; -lean_dec(x_21); -lean_dec(x_1); -x_47 = lean_box(0); -return x_47; -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_48 = lean_unsigned_to_nat(2u); -x_49 = lean_nat_sub(x_21, x_48); -lean_dec(x_21); -x_50 = lean_unsigned_to_nat(1u); -x_51 = lean_nat_sub(x_49, x_50); -lean_dec(x_49); -x_52 = l_Lean_Expr_getRevArg_x21(x_1, x_51); -lean_dec(x_1); -x_1 = x_52; -goto _start; -} -} -} -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_dec(x_19); -x_54 = lean_unsigned_to_nat(2u); -x_55 = lean_nat_sub(x_21, x_54); -x_56 = lean_unsigned_to_nat(1u); -x_57 = lean_nat_sub(x_55, x_56); -lean_dec(x_55); -x_58 = l_Lean_Expr_getRevArg_x21(x_1, x_57); -x_59 = l_Lean_Meta_evalNat(x_58); -if (lean_obj_tag(x_59) == 0) -{ -lean_object* x_60; -lean_dec(x_21); -lean_dec(x_1); -x_60 = lean_box(0); -return x_60; -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_61 = lean_ctor_get(x_59, 0); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_unsigned_to_nat(3u); -x_63 = lean_nat_sub(x_21, x_62); -lean_dec(x_21); -x_64 = lean_nat_sub(x_63, x_56); -lean_dec(x_63); -x_65 = l_Lean_Expr_getRevArg_x21(x_1, x_64); -lean_dec(x_1); -x_66 = l_Lean_Meta_evalNat(x_65); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; -lean_dec(x_61); -x_67 = lean_box(0); -return x_67; -} -else -{ -uint8_t x_68; -x_68 = !lean_is_exclusive(x_66); -if (x_68 == 0) -{ -lean_object* x_69; lean_object* x_70; -x_69 = lean_ctor_get(x_66, 0); -x_70 = lean_nat_mul(x_61, x_69); -lean_dec(x_69); -lean_dec(x_61); -lean_ctor_set(x_66, 0, x_70); -return x_66; -} -else -{ -lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_71 = lean_ctor_get(x_66, 0); -lean_inc(x_71); -lean_dec(x_66); -x_72 = lean_nat_mul(x_61, x_71); -lean_dec(x_71); -lean_dec(x_61); -x_73 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_73, 0, x_72); -return x_73; -} -} -} -} -} -} -} -block_188: -{ -lean_object* x_122; uint8_t x_123; lean_object* x_124; uint8_t x_125; +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; +x_128 = lean_ctor_get(x_120, 1); +lean_inc(x_128); +lean_dec(x_120); +x_129 = lean_ctor_get(x_121, 0); +lean_inc(x_129); lean_dec(x_121); -x_122 = l_Lean_Meta_evalNat___closed__4; -x_123 = lean_name_eq(x_19, x_122); -x_124 = lean_unsigned_to_nat(2u); -x_125 = lean_nat_dec_eq(x_21, x_124); -if (x_123 == 0) -{ -lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Meta_evalNat___closed__5; -x_127 = lean_name_eq(x_19, x_126); -if (x_127 == 0) -{ -lean_object* x_128; uint8_t x_129; -x_128 = l_Lean_Meta_evalNat___closed__6; -x_129 = lean_name_eq(x_19, x_128); -if (x_129 == 0) -{ -lean_object* x_130; -x_130 = lean_box(0); -x_22 = x_130; -goto block_120; -} -else -{ -if (x_125 == 0) -{ -lean_object* x_131; -x_131 = lean_box(0); -x_22 = x_131; -goto block_120; -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; -lean_dec(x_19); -x_132 = lean_nat_sub(x_21, x_20); -x_133 = lean_unsigned_to_nat(1u); -x_134 = lean_nat_sub(x_132, x_133); -lean_dec(x_132); -x_135 = l_Lean_Expr_getRevArg_x21(x_1, x_134); -x_136 = l_Lean_Meta_evalNat(x_135); -if (lean_obj_tag(x_136) == 0) -{ -lean_object* x_137; -lean_dec(x_21); +x_130 = lean_unsigned_to_nat(3u); +x_131 = lean_nat_sub(x_37, x_130); +lean_dec(x_37); +x_132 = lean_nat_sub(x_131, x_117); +lean_dec(x_131); +x_133 = l_Lean_Expr_getRevArg_x21(x_1, x_132); lean_dec(x_1); -x_137 = lean_box(0); -return x_137; +x_134 = l_Lean_Meta_evalNat(x_133, x_2, x_3, x_4, x_5, x_128); +if (lean_obj_tag(x_134) == 0) +{ +lean_object* x_135; +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +if (lean_obj_tag(x_135) == 0) +{ +uint8_t x_136; +lean_dec(x_129); +x_136 = !lean_is_exclusive(x_134); +if (x_136 == 0) +{ +lean_object* x_137; lean_object* x_138; +x_137 = lean_ctor_get(x_134, 0); +lean_dec(x_137); +x_138 = lean_box(0); +lean_ctor_set(x_134, 0, x_138); +return x_134; } else { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_138 = lean_ctor_get(x_136, 0); -lean_inc(x_138); -lean_dec(x_136); -x_139 = lean_nat_sub(x_21, x_133); -lean_dec(x_21); -x_140 = lean_nat_sub(x_139, x_133); -lean_dec(x_139); -x_141 = l_Lean_Expr_getRevArg_x21(x_1, x_140); -lean_dec(x_1); -x_142 = l_Lean_Meta_evalNat(x_141); -if (lean_obj_tag(x_142) == 0) -{ -lean_object* x_143; -lean_dec(x_138); -x_143 = lean_box(0); -return x_143; +lean_object* x_139; lean_object* x_140; lean_object* x_141; +x_139 = lean_ctor_get(x_134, 1); +lean_inc(x_139); +lean_dec(x_134); +x_140 = lean_box(0); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_139); +return x_141; +} } else { -uint8_t x_144; -x_144 = !lean_is_exclusive(x_142); +uint8_t x_142; +x_142 = !lean_is_exclusive(x_134); +if (x_142 == 0) +{ +lean_object* x_143; uint8_t x_144; +x_143 = lean_ctor_get(x_134, 0); +lean_dec(x_143); +x_144 = !lean_is_exclusive(x_135); if (x_144 == 0) { lean_object* x_145; lean_object* x_146; -x_145 = lean_ctor_get(x_142, 0); -x_146 = lean_nat_mul(x_138, x_145); +x_145 = lean_ctor_get(x_135, 0); +x_146 = lean_nat_sub(x_129, x_145); lean_dec(x_145); -lean_dec(x_138); -lean_ctor_set(x_142, 0, x_146); -return x_142; +lean_dec(x_129); +lean_ctor_set(x_135, 0, x_146); +return x_134; } else { lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_147 = lean_ctor_get(x_142, 0); +x_147 = lean_ctor_get(x_135, 0); lean_inc(x_147); -lean_dec(x_142); -x_148 = lean_nat_mul(x_138, x_147); +lean_dec(x_135); +x_148 = lean_nat_sub(x_129, x_147); lean_dec(x_147); -lean_dec(x_138); +lean_dec(x_129); x_149 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_149, 0, x_148); -return x_149; -} -} -} -} +lean_ctor_set(x_134, 0, x_149); +return x_134; } } else { -if (x_125 == 0) -{ -lean_object* x_150; -x_150 = lean_box(0); -x_22 = x_150; -goto block_120; +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_150 = lean_ctor_get(x_134, 1); +lean_inc(x_150); +lean_dec(x_134); +x_151 = lean_ctor_get(x_135, 0); +lean_inc(x_151); +if (lean_is_exclusive(x_135)) { + lean_ctor_release(x_135, 0); + x_152 = x_135; +} else { + lean_dec_ref(x_135); + x_152 = lean_box(0); } -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; -lean_dec(x_19); -x_151 = lean_nat_sub(x_21, x_20); -x_152 = lean_unsigned_to_nat(1u); -x_153 = lean_nat_sub(x_151, x_152); +x_153 = lean_nat_sub(x_129, x_151); lean_dec(x_151); -x_154 = l_Lean_Expr_getRevArg_x21(x_1, x_153); -x_155 = l_Lean_Meta_evalNat(x_154); -if (lean_obj_tag(x_155) == 0) -{ -lean_object* x_156; -lean_dec(x_21); -lean_dec(x_1); -x_156 = lean_box(0); -return x_156; +lean_dec(x_129); +if (lean_is_scalar(x_152)) { + x_154 = lean_alloc_ctor(1, 1, 0); +} else { + x_154 = x_152; +} +lean_ctor_set(x_154, 0, x_153); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_150); +return x_155; +} +} } else { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_157 = lean_ctor_get(x_155, 0); +uint8_t x_156; +lean_dec(x_129); +x_156 = !lean_is_exclusive(x_134); +if (x_156 == 0) +{ +return x_134; +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; +x_157 = lean_ctor_get(x_134, 0); +x_158 = lean_ctor_get(x_134, 1); +lean_inc(x_158); lean_inc(x_157); -lean_dec(x_155); -x_158 = lean_nat_sub(x_21, x_152); -lean_dec(x_21); -x_159 = lean_nat_sub(x_158, x_152); -lean_dec(x_158); -x_160 = l_Lean_Expr_getRevArg_x21(x_1, x_159); +lean_dec(x_134); +x_159 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_159, 0, x_157); +lean_ctor_set(x_159, 1, x_158); +return x_159; +} +} +} +} +else +{ +uint8_t x_160; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_161 = l_Lean_Meta_evalNat(x_160); -if (lean_obj_tag(x_161) == 0) +x_160 = !lean_is_exclusive(x_120); +if (x_160 == 0) { -lean_object* x_162; -lean_dec(x_157); -x_162 = lean_box(0); -return x_162; +return x_120; } else { -uint8_t x_163; -x_163 = !lean_is_exclusive(x_161); -if (x_163 == 0) -{ -lean_object* x_164; lean_object* x_165; -x_164 = lean_ctor_get(x_161, 0); -x_165 = lean_nat_sub(x_157, x_164); -lean_dec(x_164); -lean_dec(x_157); -lean_ctor_set(x_161, 0, x_165); -return x_161; +lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_161 = lean_ctor_get(x_120, 0); +x_162 = lean_ctor_get(x_120, 1); +lean_inc(x_162); +lean_inc(x_161); +lean_dec(x_120); +x_163 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_163, 0, x_161); +lean_ctor_set(x_163, 1, x_162); +return x_163; +} +} +} +} } else { -lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_166 = lean_ctor_get(x_161, 0); -lean_inc(x_166); -lean_dec(x_161); -x_167 = lean_nat_sub(x_157, x_166); +if (x_58 == 0) +{ +lean_object* x_164; +x_164 = lean_box(0); +x_38 = x_164; +goto block_53; +} +else +{ +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_dec(x_35); +x_165 = lean_unsigned_to_nat(2u); +x_166 = lean_nat_sub(x_37, x_165); +x_167 = lean_unsigned_to_nat(1u); +x_168 = lean_nat_sub(x_166, x_167); lean_dec(x_166); -lean_dec(x_157); -x_168 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_168, 0, x_167); -return x_168; -} -} -} -} -} +x_169 = l_Lean_Expr_getRevArg_x21(x_1, x_168); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_170 = l_Lean_Meta_evalNat(x_169, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; +x_171 = lean_ctor_get(x_170, 0); +lean_inc(x_171); +if (lean_obj_tag(x_171) == 0) +{ +uint8_t x_172; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_172 = !lean_is_exclusive(x_170); +if (x_172 == 0) +{ +lean_object* x_173; lean_object* x_174; +x_173 = lean_ctor_get(x_170, 0); +lean_dec(x_173); +x_174 = lean_box(0); +lean_ctor_set(x_170, 0, x_174); +return x_170; } else { -if (x_125 == 0) -{ -lean_object* x_169; -x_169 = lean_box(0); -x_22 = x_169; -goto block_120; -} -else -{ -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -lean_dec(x_19); -x_170 = lean_nat_sub(x_21, x_20); -x_171 = lean_unsigned_to_nat(1u); -x_172 = lean_nat_sub(x_170, x_171); +lean_object* x_175; lean_object* x_176; lean_object* x_177; +x_175 = lean_ctor_get(x_170, 1); +lean_inc(x_175); lean_dec(x_170); -x_173 = l_Lean_Expr_getRevArg_x21(x_1, x_172); -x_174 = l_Lean_Meta_evalNat(x_173); -if (lean_obj_tag(x_174) == 0) +x_176 = lean_box(0); +x_177 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_177, 0, x_176); +lean_ctor_set(x_177, 1, x_175); +return x_177; +} +} +else { -lean_object* x_175; -lean_dec(x_21); +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_178 = lean_ctor_get(x_170, 1); +lean_inc(x_178); +lean_dec(x_170); +x_179 = lean_ctor_get(x_171, 0); +lean_inc(x_179); +lean_dec(x_171); +x_180 = lean_unsigned_to_nat(3u); +x_181 = lean_nat_sub(x_37, x_180); +lean_dec(x_37); +x_182 = lean_nat_sub(x_181, x_167); +lean_dec(x_181); +x_183 = l_Lean_Expr_getRevArg_x21(x_1, x_182); lean_dec(x_1); -x_175 = lean_box(0); -return x_175; -} -else +x_184 = l_Lean_Meta_evalNat(x_183, x_2, x_3, x_4, x_5, x_178); +if (lean_obj_tag(x_184) == 0) { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_176 = lean_ctor_get(x_174, 0); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_nat_sub(x_21, x_171); -lean_dec(x_21); -x_178 = lean_nat_sub(x_177, x_171); -lean_dec(x_177); -x_179 = l_Lean_Expr_getRevArg_x21(x_1, x_178); -lean_dec(x_1); -x_180 = l_Lean_Meta_evalNat(x_179); -if (lean_obj_tag(x_180) == 0) -{ -lean_object* x_181; -lean_dec(x_176); -x_181 = lean_box(0); -return x_181; -} -else -{ -uint8_t x_182; -x_182 = !lean_is_exclusive(x_180); -if (x_182 == 0) -{ -lean_object* x_183; lean_object* x_184; -x_183 = lean_ctor_get(x_180, 0); -x_184 = lean_nat_add(x_176, x_183); -lean_dec(x_183); -lean_dec(x_176); -lean_ctor_set(x_180, 0, x_184); -return x_180; -} -else -{ -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_180, 0); +lean_object* x_185; +x_185 = lean_ctor_get(x_184, 0); lean_inc(x_185); -lean_dec(x_180); -x_186 = lean_nat_add(x_176, x_185); +if (lean_obj_tag(x_185) == 0) +{ +uint8_t x_186; +lean_dec(x_179); +x_186 = !lean_is_exclusive(x_184); +if (x_186 == 0) +{ +lean_object* x_187; lean_object* x_188; +x_187 = lean_ctor_get(x_184, 0); +lean_dec(x_187); +x_188 = lean_box(0); +lean_ctor_set(x_184, 0, x_188); +return x_184; +} +else +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +x_189 = lean_ctor_get(x_184, 1); +lean_inc(x_189); +lean_dec(x_184); +x_190 = lean_box(0); +x_191 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_189); +return x_191; +} +} +else +{ +uint8_t x_192; +x_192 = !lean_is_exclusive(x_184); +if (x_192 == 0) +{ +lean_object* x_193; uint8_t x_194; +x_193 = lean_ctor_get(x_184, 0); +lean_dec(x_193); +x_194 = !lean_is_exclusive(x_185); +if (x_194 == 0) +{ +lean_object* x_195; lean_object* x_196; +x_195 = lean_ctor_get(x_185, 0); +x_196 = lean_nat_add(x_179, x_195); +lean_dec(x_195); +lean_dec(x_179); +lean_ctor_set(x_185, 0, x_196); +return x_184; +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = lean_ctor_get(x_185, 0); +lean_inc(x_197); lean_dec(x_185); -lean_dec(x_176); -x_187 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_187, 0, x_186); -return x_187; +x_198 = lean_nat_add(x_179, x_197); +lean_dec(x_197); +lean_dec(x_179); +x_199 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_199, 0, x_198); +lean_ctor_set(x_184, 0, x_199); +return x_184; } } +else +{ +lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; +x_200 = lean_ctor_get(x_184, 1); +lean_inc(x_200); +lean_dec(x_184); +x_201 = lean_ctor_get(x_185, 0); +lean_inc(x_201); +if (lean_is_exclusive(x_185)) { + lean_ctor_release(x_185, 0); + x_202 = x_185; +} else { + lean_dec_ref(x_185); + x_202 = lean_box(0); +} +x_203 = lean_nat_add(x_179, x_201); +lean_dec(x_201); +lean_dec(x_179); +if (lean_is_scalar(x_202)) { + x_204 = lean_alloc_ctor(1, 1, 0); +} else { + x_204 = x_202; +} +lean_ctor_set(x_204, 0, x_203); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_200); +return x_205; +} +} +} +else +{ +uint8_t x_206; +lean_dec(x_179); +x_206 = !lean_is_exclusive(x_184); +if (x_206 == 0) +{ +return x_184; +} +else +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; +x_207 = lean_ctor_get(x_184, 0); +x_208 = lean_ctor_get(x_184, 1); +lean_inc(x_208); +lean_inc(x_207); +lean_dec(x_184); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_207); +lean_ctor_set(x_209, 1, x_208); +return x_209; +} +} +} +} +else +{ +uint8_t x_210; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_210 = !lean_is_exclusive(x_170); +if (x_210 == 0) +{ +return x_170; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_211 = lean_ctor_get(x_170, 0); +x_212 = lean_ctor_get(x_170, 1); +lean_inc(x_212); +lean_inc(x_211); +lean_dec(x_170); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_211); +lean_ctor_set(x_213, 1, x_212); +return x_213; +} +} +} +} +} +block_369: +{ +lean_object* x_216; uint8_t x_217; lean_object* x_218; uint8_t x_219; +lean_dec(x_215); +x_216 = l_Lean_Meta_evalNat_visit___closed__4; +x_217 = lean_name_eq(x_35, x_216); +x_218 = lean_unsigned_to_nat(2u); +x_219 = lean_nat_dec_eq(x_37, x_218); +if (x_217 == 0) +{ +lean_object* x_220; uint8_t x_221; +x_220 = l_Lean_Meta_evalNat_visit___closed__5; +x_221 = lean_name_eq(x_35, x_220); +if (x_221 == 0) +{ +lean_object* x_222; uint8_t x_223; +x_222 = l_Lean_Meta_evalNat_visit___closed__6; +x_223 = lean_name_eq(x_35, x_222); +if (x_223 == 0) +{ +lean_object* x_224; +x_224 = lean_box(0); +x_54 = x_224; +goto block_214; +} +else +{ +if (x_219 == 0) +{ +lean_object* x_225; +x_225 = lean_box(0); +x_54 = x_225; +goto block_214; +} +else +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; +lean_dec(x_35); +x_226 = lean_nat_sub(x_37, x_36); +x_227 = lean_unsigned_to_nat(1u); +x_228 = lean_nat_sub(x_226, x_227); +lean_dec(x_226); +x_229 = l_Lean_Expr_getRevArg_x21(x_1, x_228); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_230 = l_Lean_Meta_evalNat(x_229, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_230) == 0) +{ +lean_object* x_231; +x_231 = lean_ctor_get(x_230, 0); +lean_inc(x_231); +if (lean_obj_tag(x_231) == 0) +{ +uint8_t x_232; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_232 = !lean_is_exclusive(x_230); +if (x_232 == 0) +{ +lean_object* x_233; lean_object* x_234; +x_233 = lean_ctor_get(x_230, 0); +lean_dec(x_233); +x_234 = lean_box(0); +lean_ctor_set(x_230, 0, x_234); +return x_230; +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_235 = lean_ctor_get(x_230, 1); +lean_inc(x_235); +lean_dec(x_230); +x_236 = lean_box(0); +x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_235); +return x_237; +} +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_238 = lean_ctor_get(x_230, 1); +lean_inc(x_238); +lean_dec(x_230); +x_239 = lean_ctor_get(x_231, 0); +lean_inc(x_239); +lean_dec(x_231); +x_240 = lean_nat_sub(x_37, x_227); +lean_dec(x_37); +x_241 = lean_nat_sub(x_240, x_227); +lean_dec(x_240); +x_242 = l_Lean_Expr_getRevArg_x21(x_1, x_241); +lean_dec(x_1); +x_243 = l_Lean_Meta_evalNat(x_242, x_2, x_3, x_4, x_5, x_238); +if (lean_obj_tag(x_243) == 0) +{ +lean_object* x_244; +x_244 = lean_ctor_get(x_243, 0); +lean_inc(x_244); +if (lean_obj_tag(x_244) == 0) +{ +uint8_t x_245; +lean_dec(x_239); +x_245 = !lean_is_exclusive(x_243); +if (x_245 == 0) +{ +lean_object* x_246; lean_object* x_247; +x_246 = lean_ctor_get(x_243, 0); +lean_dec(x_246); +x_247 = lean_box(0); +lean_ctor_set(x_243, 0, x_247); +return x_243; +} +else +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_248 = lean_ctor_get(x_243, 1); +lean_inc(x_248); +lean_dec(x_243); +x_249 = lean_box(0); +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_249); +lean_ctor_set(x_250, 1, x_248); +return x_250; +} +} +else +{ +uint8_t x_251; +x_251 = !lean_is_exclusive(x_243); +if (x_251 == 0) +{ +lean_object* x_252; uint8_t x_253; +x_252 = lean_ctor_get(x_243, 0); +lean_dec(x_252); +x_253 = !lean_is_exclusive(x_244); +if (x_253 == 0) +{ +lean_object* x_254; lean_object* x_255; +x_254 = lean_ctor_get(x_244, 0); +x_255 = lean_nat_mul(x_239, x_254); +lean_dec(x_254); +lean_dec(x_239); +lean_ctor_set(x_244, 0, x_255); +return x_243; +} +else +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; +x_256 = lean_ctor_get(x_244, 0); +lean_inc(x_256); +lean_dec(x_244); +x_257 = lean_nat_mul(x_239, x_256); +lean_dec(x_256); +lean_dec(x_239); +x_258 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_258, 0, x_257); +lean_ctor_set(x_243, 0, x_258); +return x_243; +} +} +else +{ +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; +x_259 = lean_ctor_get(x_243, 1); +lean_inc(x_259); +lean_dec(x_243); +x_260 = lean_ctor_get(x_244, 0); +lean_inc(x_260); +if (lean_is_exclusive(x_244)) { + lean_ctor_release(x_244, 0); + x_261 = x_244; +} else { + lean_dec_ref(x_244); + x_261 = lean_box(0); +} +x_262 = lean_nat_mul(x_239, x_260); +lean_dec(x_260); +lean_dec(x_239); +if (lean_is_scalar(x_261)) { + x_263 = lean_alloc_ctor(1, 1, 0); +} else { + x_263 = x_261; +} +lean_ctor_set(x_263, 0, x_262); +x_264 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_264, 0, x_263); +lean_ctor_set(x_264, 1, x_259); +return x_264; +} +} +} +else +{ +uint8_t x_265; +lean_dec(x_239); +x_265 = !lean_is_exclusive(x_243); +if (x_265 == 0) +{ +return x_243; +} +else +{ +lean_object* x_266; lean_object* x_267; lean_object* x_268; +x_266 = lean_ctor_get(x_243, 0); +x_267 = lean_ctor_get(x_243, 1); +lean_inc(x_267); +lean_inc(x_266); +lean_dec(x_243); +x_268 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_268, 0, x_266); +lean_ctor_set(x_268, 1, x_267); +return x_268; +} +} +} +} +else +{ +uint8_t x_269; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_269 = !lean_is_exclusive(x_230); +if (x_269 == 0) +{ +return x_230; +} +else +{ +lean_object* x_270; lean_object* x_271; lean_object* x_272; +x_270 = lean_ctor_get(x_230, 0); +x_271 = lean_ctor_get(x_230, 1); +lean_inc(x_271); +lean_inc(x_270); +lean_dec(x_230); +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; } } } @@ -1386,53 +2197,659 @@ return x_187; } else { -lean_object* x_203; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_1); -x_203 = lean_box(0); -return x_203; +if (x_219 == 0) +{ +lean_object* x_273; +x_273 = lean_box(0); +x_54 = x_273; +goto block_214; } +else +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; +lean_dec(x_35); +x_274 = lean_nat_sub(x_37, x_36); +x_275 = lean_unsigned_to_nat(1u); +x_276 = lean_nat_sub(x_274, x_275); +lean_dec(x_274); +x_277 = l_Lean_Expr_getRevArg_x21(x_1, x_276); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_278 = l_Lean_Meta_evalNat(x_277, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_278) == 0) +{ +lean_object* x_279; +x_279 = lean_ctor_get(x_278, 0); +lean_inc(x_279); +if (lean_obj_tag(x_279) == 0) +{ +uint8_t x_280; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_280 = !lean_is_exclusive(x_278); +if (x_280 == 0) +{ +lean_object* x_281; lean_object* x_282; +x_281 = lean_ctor_get(x_278, 0); +lean_dec(x_281); +x_282 = lean_box(0); +lean_ctor_set(x_278, 0, x_282); +return x_278; +} +else +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; +x_283 = lean_ctor_get(x_278, 1); +lean_inc(x_283); +lean_dec(x_278); +x_284 = lean_box(0); +x_285 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_285, 0, x_284); +lean_ctor_set(x_285, 1, x_283); +return x_285; +} +} +else +{ +lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; +x_286 = lean_ctor_get(x_278, 1); +lean_inc(x_286); +lean_dec(x_278); +x_287 = lean_ctor_get(x_279, 0); +lean_inc(x_287); +lean_dec(x_279); +x_288 = lean_nat_sub(x_37, x_275); +lean_dec(x_37); +x_289 = lean_nat_sub(x_288, x_275); +lean_dec(x_288); +x_290 = l_Lean_Expr_getRevArg_x21(x_1, x_289); +lean_dec(x_1); +x_291 = l_Lean_Meta_evalNat(x_290, x_2, x_3, x_4, x_5, x_286); +if (lean_obj_tag(x_291) == 0) +{ +lean_object* x_292; +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +if (lean_obj_tag(x_292) == 0) +{ +uint8_t x_293; +lean_dec(x_287); +x_293 = !lean_is_exclusive(x_291); +if (x_293 == 0) +{ +lean_object* x_294; lean_object* x_295; +x_294 = lean_ctor_get(x_291, 0); +lean_dec(x_294); +x_295 = lean_box(0); +lean_ctor_set(x_291, 0, x_295); +return x_291; +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_ctor_get(x_291, 1); +lean_inc(x_296); +lean_dec(x_291); +x_297 = lean_box(0); +x_298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_296); +return x_298; +} +} +else +{ +uint8_t x_299; +x_299 = !lean_is_exclusive(x_291); +if (x_299 == 0) +{ +lean_object* x_300; uint8_t x_301; +x_300 = lean_ctor_get(x_291, 0); +lean_dec(x_300); +x_301 = !lean_is_exclusive(x_292); +if (x_301 == 0) +{ +lean_object* x_302; lean_object* x_303; +x_302 = lean_ctor_get(x_292, 0); +x_303 = lean_nat_sub(x_287, x_302); +lean_dec(x_302); +lean_dec(x_287); +lean_ctor_set(x_292, 0, x_303); +return x_291; +} +else +{ +lean_object* x_304; lean_object* x_305; lean_object* x_306; +x_304 = lean_ctor_get(x_292, 0); +lean_inc(x_304); +lean_dec(x_292); +x_305 = lean_nat_sub(x_287, x_304); +lean_dec(x_304); +lean_dec(x_287); +x_306 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_306, 0, x_305); +lean_ctor_set(x_291, 0, x_306); +return x_291; +} +} +else +{ +lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; +x_307 = lean_ctor_get(x_291, 1); +lean_inc(x_307); +lean_dec(x_291); +x_308 = lean_ctor_get(x_292, 0); +lean_inc(x_308); +if (lean_is_exclusive(x_292)) { + lean_ctor_release(x_292, 0); + x_309 = x_292; +} else { + lean_dec_ref(x_292); + x_309 = lean_box(0); +} +x_310 = lean_nat_sub(x_287, x_308); +lean_dec(x_308); +lean_dec(x_287); +if (lean_is_scalar(x_309)) { + x_311 = lean_alloc_ctor(1, 1, 0); +} else { + x_311 = x_309; +} +lean_ctor_set(x_311, 0, x_310); +x_312 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_312, 0, x_311); +lean_ctor_set(x_312, 1, x_307); +return x_312; +} +} +} +else +{ +uint8_t x_313; +lean_dec(x_287); +x_313 = !lean_is_exclusive(x_291); +if (x_313 == 0) +{ +return x_291; +} +else +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; +x_314 = lean_ctor_get(x_291, 0); +x_315 = lean_ctor_get(x_291, 1); +lean_inc(x_315); +lean_inc(x_314); +lean_dec(x_291); +x_316 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_316, 0, x_314); +lean_ctor_set(x_316, 1, x_315); +return x_316; +} +} +} +} +else +{ +uint8_t x_317; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_317 = !lean_is_exclusive(x_278); +if (x_317 == 0) +{ +return x_278; +} +else +{ +lean_object* x_318; lean_object* x_319; lean_object* x_320; +x_318 = lean_ctor_get(x_278, 0); +x_319 = lean_ctor_get(x_278, 1); +lean_inc(x_319); +lean_inc(x_318); +lean_dec(x_278); +x_320 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_320, 0, x_318); +lean_ctor_set(x_320, 1, x_319); +return x_320; +} +} +} +} +} +else +{ +if (x_219 == 0) +{ +lean_object* x_321; +x_321 = lean_box(0); +x_54 = x_321; +goto block_214; +} +else +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; +lean_dec(x_35); +x_322 = lean_nat_sub(x_37, x_36); +x_323 = lean_unsigned_to_nat(1u); +x_324 = lean_nat_sub(x_322, x_323); +lean_dec(x_322); +x_325 = l_Lean_Expr_getRevArg_x21(x_1, x_324); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_326 = l_Lean_Meta_evalNat(x_325, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_326) == 0) +{ +lean_object* x_327; +x_327 = lean_ctor_get(x_326, 0); +lean_inc(x_327); +if (lean_obj_tag(x_327) == 0) +{ +uint8_t x_328; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_328 = !lean_is_exclusive(x_326); +if (x_328 == 0) +{ +lean_object* x_329; lean_object* x_330; +x_329 = lean_ctor_get(x_326, 0); +lean_dec(x_329); +x_330 = lean_box(0); +lean_ctor_set(x_326, 0, x_330); +return x_326; +} +else +{ +lean_object* x_331; lean_object* x_332; lean_object* x_333; +x_331 = lean_ctor_get(x_326, 1); +lean_inc(x_331); +lean_dec(x_326); +x_332 = lean_box(0); +x_333 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_333, 0, x_332); +lean_ctor_set(x_333, 1, x_331); +return x_333; +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; +x_334 = lean_ctor_get(x_326, 1); +lean_inc(x_334); +lean_dec(x_326); +x_335 = lean_ctor_get(x_327, 0); +lean_inc(x_335); +lean_dec(x_327); +x_336 = lean_nat_sub(x_37, x_323); +lean_dec(x_37); +x_337 = lean_nat_sub(x_336, x_323); +lean_dec(x_336); +x_338 = l_Lean_Expr_getRevArg_x21(x_1, x_337); +lean_dec(x_1); +x_339 = l_Lean_Meta_evalNat(x_338, x_2, x_3, x_4, x_5, x_334); +if (lean_obj_tag(x_339) == 0) +{ +lean_object* x_340; +x_340 = lean_ctor_get(x_339, 0); +lean_inc(x_340); +if (lean_obj_tag(x_340) == 0) +{ +uint8_t x_341; +lean_dec(x_335); +x_341 = !lean_is_exclusive(x_339); +if (x_341 == 0) +{ +lean_object* x_342; lean_object* x_343; +x_342 = lean_ctor_get(x_339, 0); +lean_dec(x_342); +x_343 = lean_box(0); +lean_ctor_set(x_339, 0, x_343); +return x_339; +} +else +{ +lean_object* x_344; lean_object* x_345; lean_object* x_346; +x_344 = lean_ctor_get(x_339, 1); +lean_inc(x_344); +lean_dec(x_339); +x_345 = lean_box(0); +x_346 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_346, 0, x_345); +lean_ctor_set(x_346, 1, x_344); +return x_346; +} +} +else +{ +uint8_t x_347; +x_347 = !lean_is_exclusive(x_339); +if (x_347 == 0) +{ +lean_object* x_348; uint8_t x_349; +x_348 = lean_ctor_get(x_339, 0); +lean_dec(x_348); +x_349 = !lean_is_exclusive(x_340); +if (x_349 == 0) +{ +lean_object* x_350; lean_object* x_351; +x_350 = lean_ctor_get(x_340, 0); +x_351 = lean_nat_add(x_335, x_350); +lean_dec(x_350); +lean_dec(x_335); +lean_ctor_set(x_340, 0, x_351); +return x_339; +} +else +{ +lean_object* x_352; lean_object* x_353; lean_object* x_354; +x_352 = lean_ctor_get(x_340, 0); +lean_inc(x_352); +lean_dec(x_340); +x_353 = lean_nat_add(x_335, x_352); +lean_dec(x_352); +lean_dec(x_335); +x_354 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_354, 0, x_353); +lean_ctor_set(x_339, 0, x_354); +return x_339; +} +} +else +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_355 = lean_ctor_get(x_339, 1); +lean_inc(x_355); +lean_dec(x_339); +x_356 = lean_ctor_get(x_340, 0); +lean_inc(x_356); +if (lean_is_exclusive(x_340)) { + lean_ctor_release(x_340, 0); + x_357 = x_340; +} else { + lean_dec_ref(x_340); + x_357 = lean_box(0); +} +x_358 = lean_nat_add(x_335, x_356); +lean_dec(x_356); +lean_dec(x_335); +if (lean_is_scalar(x_357)) { + x_359 = lean_alloc_ctor(1, 1, 0); +} else { + x_359 = x_357; +} +lean_ctor_set(x_359, 0, x_358); +x_360 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_360, 0, x_359); +lean_ctor_set(x_360, 1, x_355); +return x_360; +} +} +} +else +{ +uint8_t x_361; +lean_dec(x_335); +x_361 = !lean_is_exclusive(x_339); +if (x_361 == 0) +{ +return x_339; +} +else +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; +x_362 = lean_ctor_get(x_339, 0); +x_363 = lean_ctor_get(x_339, 1); +lean_inc(x_363); +lean_inc(x_362); +lean_dec(x_339); +x_364 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_364, 0, x_362); +lean_ctor_set(x_364, 1, x_363); +return x_364; +} +} +} +} +else +{ +uint8_t x_365; +lean_dec(x_37); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_365 = !lean_is_exclusive(x_326); +if (x_365 == 0) +{ +return x_326; +} +else +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; +x_366 = lean_ctor_get(x_326, 0); +x_367 = lean_ctor_get(x_326, 1); +lean_inc(x_367); +lean_inc(x_366); +lean_dec(x_326); +x_368 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_368, 0, x_366); +lean_ctor_set(x_368, 1, x_367); +return x_368; +} +} +} +} +} +} +default: +{ +lean_object* x_405; lean_object* x_406; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_405 = lean_box(0); +x_406 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_406, 0, x_405); +lean_ctor_set(x_406, 1, x_6); +return x_406; +} +} +} +} +lean_object* l_Lean_Meta_evalNat(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: +{ +switch (lean_obj_tag(x_1)) { +case 2: +{ +lean_object* x_7; +x_7 = l_Lean_Meta_evalNat_visit(x_1, x_2, x_3, x_4, x_5, x_6); +return x_7; +} +case 4: +{ +lean_object* x_8; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +if (lean_obj_tag(x_8) == 1) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 1) +{ +lean_object* x_10; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_8, 1); +lean_inc(x_11); +lean_dec(x_8); +x_12 = lean_ctor_get(x_9, 1); +lean_inc(x_12); +lean_dec(x_9); +x_13 = l_Lean_Literal_type___closed__1; +x_14 = lean_string_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_11); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_6); +return x_16; +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = l_Lean_Meta_evalNat_match__1___rarg___closed__1; +x_18 = lean_string_dec_eq(x_11, x_17); +lean_dec(x_11); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_6); +return x_20; +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = l_Lean_Syntax_decodeNatLitVal___closed__1; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_6); +return x_22; +} +} +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_6); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; +lean_dec(x_9); +lean_dec(x_8); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_6); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_8); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_6); +return x_28; +} +} +case 5: +{ +lean_object* x_29; +x_29 = l_Lean_Meta_evalNat_visit(x_1, x_2, x_3, x_4, x_5, x_6); +return x_29; } case 9: { -lean_object* x_204; -x_204 = lean_ctor_get(x_1, 0); -lean_inc(x_204); +lean_object* x_30; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = lean_ctor_get(x_1, 0); +lean_inc(x_30); lean_dec(x_1); -if (lean_obj_tag(x_204) == 0) +if (lean_obj_tag(x_30) == 0) { -lean_object* x_205; lean_object* x_206; -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -lean_dec(x_204); -x_206 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_206, 0, x_205); -return x_206; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_6); +return x_33; } else { -lean_object* x_207; -lean_dec(x_204); -x_207 = lean_box(0); -return x_207; +lean_object* x_34; lean_object* x_35; +lean_dec(x_30); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_6); +return x_35; } } case 10: { -lean_object* x_208; -x_208 = lean_ctor_get(x_1, 1); -lean_inc(x_208); +lean_object* x_36; +x_36 = lean_ctor_get(x_1, 1); +lean_inc(x_36); lean_dec(x_1); -x_1 = x_208; +x_1 = x_36; goto _start; } default: { -lean_object* x_210; +lean_object* x_38; lean_object* x_39; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_210 = lean_box(0); -return x_210; +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_6); +return x_39; } } } @@ -1500,29 +2917,46 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Offset_0__Lean_Meta_getOf return x_2; } } -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -if (lean_obj_tag(x_1) == 4) +switch (lean_obj_tag(x_1)) { +case 2: { -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_4); lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); +x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); lean_dec(x_1); x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +x_8 = lean_apply_2(x_2, x_5, x_7); return x_8; } -else +case 4: { -lean_object* x_9; +lean_object* x_9; lean_object* x_10; uint64_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +x_11 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_12 = lean_box_uint64(x_11); +x_13 = lean_apply_3(x_3, x_9, x_10, x_12); +return x_13; +} +default: +{ +lean_object* x_14; +lean_dec(x_3); +lean_dec(x_2); +x_14 = lean_apply_1(x_4, x_1); +return x_14; +} } } } @@ -1530,7 +2964,7 @@ lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4(lea _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__4___rarg), 4, 0); return x_2; } } @@ -1579,580 +3013,1206 @@ x_6 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux_match__5___rarg(x_1 return x_6; } } -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(lean_object* x_1, uint8_t x_2) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(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) { _start: { if (lean_obj_tag(x_1) == 5) { -lean_object* x_3; lean_object* x_4; -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_4) == 4) +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = l_Lean_Expr_getAppFn(x_1); +switch (lean_obj_tag(x_9)) { +case 2: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_41; lean_object* x_98; uint8_t x_99; -x_5 = lean_ctor_get(x_4, 0); -lean_inc(x_5); -lean_dec(x_4); -x_6 = lean_unsigned_to_nat(0u); -x_7 = l_Lean_Expr_getAppNumArgsAux(x_1, x_6); -x_98 = l_Lean_Meta_evalNat___closed__8; -x_99 = lean_name_eq(x_5, x_98); -if (x_99 == 0) -{ -lean_object* x_100; -lean_dec(x_3); -x_100 = lean_box(0); -x_41 = x_100; -goto block_97; -} -else -{ -lean_object* x_101; uint8_t x_102; -x_101 = lean_unsigned_to_nat(1u); -x_102 = lean_nat_dec_eq(x_7, x_101); -if (x_102 == 0) -{ -lean_object* x_103; -lean_dec(x_3); -x_103 = lean_box(0); -x_41 = x_103; -goto block_97; -} -else -{ -uint8_t x_104; lean_object* x_105; -lean_dec(x_7); -lean_dec(x_5); -lean_dec(x_1); -x_104 = 0; -x_105 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_3, x_104); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; -x_106 = lean_box(0); -return x_106; -} -else -{ -uint8_t x_107; -x_107 = !lean_is_exclusive(x_105); -if (x_107 == 0) -{ -lean_object* x_108; uint8_t x_109; -x_108 = lean_ctor_get(x_105, 0); -x_109 = !lean_is_exclusive(x_108); -if (x_109 == 0) -{ -lean_object* x_110; lean_object* x_111; -x_110 = lean_ctor_get(x_108, 1); -x_111 = lean_nat_add(x_110, x_101); -lean_dec(x_110); -lean_ctor_set(x_108, 1, x_111); -return x_105; -} -else -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_112 = lean_ctor_get(x_108, 0); -x_113 = lean_ctor_get(x_108, 1); -lean_inc(x_113); -lean_inc(x_112); -lean_dec(x_108); -x_114 = lean_nat_add(x_113, x_101); -lean_dec(x_113); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_112); -lean_ctor_set(x_115, 1, x_114); -lean_ctor_set(x_105, 0, x_115); -return x_105; -} -} -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; -x_116 = lean_ctor_get(x_105, 0); -lean_inc(x_116); -lean_dec(x_105); -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_119 = x_116; -} else { - lean_dec_ref(x_116); - x_119 = lean_box(0); -} -x_120 = lean_nat_add(x_118, x_101); -lean_dec(x_118); -if (lean_is_scalar(x_119)) { - x_121 = lean_alloc_ctor(0, 2, 0); -} else { - x_121 = x_119; -} -lean_ctor_set(x_121, 0, x_117); -lean_ctor_set(x_121, 1, x_120); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_121); -return x_122; -} -} -} -} -block_40: -{ -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_10; +lean_dec(x_9); lean_dec(x_8); -x_9 = lean_unsigned_to_nat(3u); -x_10 = lean_nat_sub(x_7, x_9); -x_11 = lean_unsigned_to_nat(1u); -x_12 = lean_nat_sub(x_10, x_11); -lean_dec(x_10); -x_13 = l_Lean_Expr_getRevArg_x21(x_1, x_12); -x_14 = l_Lean_Meta_evalNat(x_13); -if (lean_obj_tag(x_14) == 0) +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_10 = l_Lean_Meta_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_15; -lean_dec(x_7); -lean_dec(x_1); -x_15 = lean_box(0); -return x_15; -} -else +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; -x_16 = lean_ctor_get(x_14, 0); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_unsigned_to_nat(2u); -x_18 = lean_nat_sub(x_7, x_17); -lean_dec(x_7); -x_19 = lean_nat_sub(x_18, x_11); -lean_dec(x_18); -x_20 = l_Lean_Expr_getRevArg_x21(x_1, x_19); -lean_dec(x_1); -x_21 = 0; -x_22 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_20, x_21); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; -lean_dec(x_16); -x_23 = lean_box(0); -return x_23; -} -else -{ -uint8_t x_24; -x_24 = !lean_is_exclusive(x_22); -if (x_24 == 0) -{ -lean_object* x_25; uint8_t x_26; -x_25 = lean_ctor_get(x_22, 0); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_25, 1); -x_28 = lean_nat_add(x_27, x_16); -lean_dec(x_16); -lean_dec(x_27); -lean_ctor_set(x_25, 1, x_28); -return x_22; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_25, 0); -x_30 = lean_ctor_get(x_25, 1); -lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_25); -x_31 = lean_nat_add(x_30, x_16); -lean_dec(x_16); -lean_dec(x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_29); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_22, 0, x_32); -return x_22; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_33 = lean_ctor_get(x_22, 0); -lean_inc(x_33); -lean_dec(x_22); -x_34 = lean_ctor_get(x_33, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_36 = x_33; -} else { - lean_dec_ref(x_33); - x_36 = lean_box(0); -} -x_37 = lean_nat_add(x_35, x_16); -lean_dec(x_16); -lean_dec(x_35); -if (lean_is_scalar(x_36)) { - x_38 = lean_alloc_ctor(0, 2, 0); -} else { - x_38 = x_36; -} -lean_ctor_set(x_38, 0, x_34); -lean_ctor_set(x_38, 1, x_37); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_38); -return x_39; -} -} -} -} -block_97: -{ -lean_object* x_42; uint8_t x_43; -lean_dec(x_41); -x_42 = l_Lean_Meta_evalNat___closed__4; -x_43 = lean_name_eq(x_5, x_42); -if (x_43 == 0) -{ -lean_object* x_44; uint8_t x_45; -x_44 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; -x_45 = lean_name_eq(x_5, x_44); +uint8_t x_12; +lean_dec(x_6); lean_dec(x_5); -if (x_45 == 0) +lean_dec(x_4); +lean_dec(x_3); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) { -lean_dec(x_7); +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_10, 0); +lean_dec(x_13); +x_14 = lean_box(0); +lean_ctor_set(x_10, 0, x_14); +return x_10; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); +lean_dec(x_10); +x_16 = lean_box(0); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_19 = lean_ctor_get(x_10, 1); +x_20 = lean_ctor_get(x_10, 0); +lean_dec(x_20); +x_21 = lean_ctor_get(x_11, 0); +lean_inc(x_21); +lean_dec(x_11); +x_22 = l_Lean_Expr_getAppFn(x_21); +x_23 = l_Lean_Expr_isMVar(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_free_object(x_10); +x_1 = x_21; +x_7 = x_19; +goto _start; +} +else +{ +lean_object* x_25; +lean_dec(x_21); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_25 = lean_box(0); +lean_ctor_set(x_10, 0, x_25); +return x_10; +} +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_10, 1); +lean_inc(x_26); +lean_dec(x_10); +x_27 = lean_ctor_get(x_11, 0); +lean_inc(x_27); +lean_dec(x_11); +x_28 = l_Lean_Expr_getAppFn(x_27); +x_29 = l_Lean_Expr_isMVar(x_28); +lean_dec(x_28); +if (x_29 == 0) +{ +x_1 = x_27; +x_7 = x_26; +goto _start; +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_27); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_26); +return x_32; +} +} +} +} +else +{ +uint8_t x_33; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = !lean_is_exclusive(x_10); +if (x_33 == 0) +{ +return x_10; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_10, 0); +x_35 = lean_ctor_get(x_10, 1); +lean_inc(x_35); +lean_inc(x_34); +lean_dec(x_10); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; +} +} +} +case 4: +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_121; lean_object* x_186; uint8_t x_187; +x_37 = lean_ctor_get(x_9, 0); +lean_inc(x_37); +lean_dec(x_9); +x_38 = lean_unsigned_to_nat(0u); +x_39 = l_Lean_Expr_getAppNumArgsAux(x_1, x_38); +x_186 = l_Lean_Meta_evalNat_visit___closed__8; +x_187 = lean_name_eq(x_37, x_186); +if (x_187 == 0) +{ +lean_object* x_188; uint8_t x_189; +lean_dec(x_8); +x_188 = l_Lean_Meta_evalNat_visit___closed__4; +x_189 = lean_name_eq(x_37, x_188); +if (x_189 == 0) +{ +lean_object* x_190; +x_190 = lean_box(0); +x_40 = x_190; +goto block_120; +} +else +{ +lean_object* x_191; uint8_t x_192; +x_191 = lean_unsigned_to_nat(2u); +x_192 = lean_nat_dec_eq(x_39, x_191); +if (x_192 == 0) +{ +lean_object* x_193; +x_193 = lean_box(0); +x_40 = x_193; +goto block_120; +} +else +{ +lean_object* x_194; +lean_dec(x_37); +x_194 = lean_box(0); +x_121 = x_194; +goto block_185; +} +} +} +else +{ +lean_object* x_195; uint8_t x_196; +x_195 = lean_unsigned_to_nat(1u); +x_196 = lean_nat_dec_eq(x_39, x_195); +if (x_196 == 0) +{ +lean_object* x_197; uint8_t x_198; +lean_dec(x_8); +x_197 = l_Lean_Meta_evalNat_visit___closed__4; +x_198 = lean_name_eq(x_37, x_197); +if (x_198 == 0) +{ +lean_object* x_199; +x_199 = lean_box(0); +x_40 = x_199; +goto block_120; +} +else +{ +lean_object* x_200; uint8_t x_201; +x_200 = lean_unsigned_to_nat(2u); +x_201 = lean_nat_dec_eq(x_39, x_200); +if (x_201 == 0) +{ +lean_object* x_202; +x_202 = lean_box(0); +x_40 = x_202; +goto block_120; +} +else +{ +lean_object* x_203; +lean_dec(x_37); +x_203 = lean_box(0); +x_121 = x_203; +goto block_185; +} +} +} +else +{ +uint8_t x_204; lean_object* x_205; +lean_dec(x_39); +lean_dec(x_37); +lean_dec(x_1); +x_204 = 0; +x_205 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_8, x_204, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_205) == 0) +{ +lean_object* x_206; +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +if (lean_obj_tag(x_206) == 0) +{ +uint8_t x_207; +x_207 = !lean_is_exclusive(x_205); +if (x_207 == 0) +{ +lean_object* x_208; lean_object* x_209; +x_208 = lean_ctor_get(x_205, 0); +lean_dec(x_208); +x_209 = lean_box(0); +lean_ctor_set(x_205, 0, x_209); +return x_205; +} +else +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; +x_210 = lean_ctor_get(x_205, 1); +lean_inc(x_210); +lean_dec(x_205); +x_211 = lean_box(0); +x_212 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_212, 0, x_211); +lean_ctor_set(x_212, 1, x_210); +return x_212; +} +} +else +{ +uint8_t x_213; +x_213 = !lean_is_exclusive(x_206); +if (x_213 == 0) +{ +uint8_t x_214; +x_214 = !lean_is_exclusive(x_205); +if (x_214 == 0) +{ +lean_object* x_215; lean_object* x_216; uint8_t x_217; +x_215 = lean_ctor_get(x_206, 0); +x_216 = lean_ctor_get(x_205, 0); +lean_dec(x_216); +x_217 = !lean_is_exclusive(x_215); +if (x_217 == 0) +{ +lean_object* x_218; lean_object* x_219; +x_218 = lean_ctor_get(x_215, 1); +x_219 = lean_nat_add(x_218, x_195); +lean_dec(x_218); +lean_ctor_set(x_215, 1, x_219); +return x_205; +} +else +{ +lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_220 = lean_ctor_get(x_215, 0); +x_221 = lean_ctor_get(x_215, 1); +lean_inc(x_221); +lean_inc(x_220); +lean_dec(x_215); +x_222 = lean_nat_add(x_221, x_195); +lean_dec(x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_220); +lean_ctor_set(x_223, 1, x_222); +lean_ctor_set(x_206, 0, x_223); +return x_205; +} +} +else +{ +lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; +x_224 = lean_ctor_get(x_206, 0); +x_225 = lean_ctor_get(x_205, 1); +lean_inc(x_225); +lean_dec(x_205); +x_226 = lean_ctor_get(x_224, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_224, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_224)) { + lean_ctor_release(x_224, 0); + lean_ctor_release(x_224, 1); + x_228 = x_224; +} else { + lean_dec_ref(x_224); + x_228 = lean_box(0); +} +x_229 = lean_nat_add(x_227, x_195); +lean_dec(x_227); +if (lean_is_scalar(x_228)) { + x_230 = lean_alloc_ctor(0, 2, 0); +} else { + x_230 = x_228; +} +lean_ctor_set(x_230, 0, x_226); +lean_ctor_set(x_230, 1, x_229); +lean_ctor_set(x_206, 0, x_230); +x_231 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_231, 0, x_206); +lean_ctor_set(x_231, 1, x_225); +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; +x_232 = lean_ctor_get(x_206, 0); +lean_inc(x_232); +lean_dec(x_206); +x_233 = lean_ctor_get(x_205, 1); +lean_inc(x_233); +if (lean_is_exclusive(x_205)) { + lean_ctor_release(x_205, 0); + lean_ctor_release(x_205, 1); + x_234 = x_205; +} else { + lean_dec_ref(x_205); + x_234 = lean_box(0); +} +x_235 = lean_ctor_get(x_232, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_232, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_232)) { + lean_ctor_release(x_232, 0); + lean_ctor_release(x_232, 1); + x_237 = x_232; +} else { + lean_dec_ref(x_232); + x_237 = lean_box(0); +} +x_238 = lean_nat_add(x_236, x_195); +lean_dec(x_236); +if (lean_is_scalar(x_237)) { + x_239 = lean_alloc_ctor(0, 2, 0); +} else { + x_239 = x_237; +} +lean_ctor_set(x_239, 0, x_235); +lean_ctor_set(x_239, 1, x_238); +x_240 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_240, 0, x_239); +if (lean_is_scalar(x_234)) { + x_241 = lean_alloc_ctor(0, 2, 0); +} else { + x_241 = x_234; +} +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_233); +return x_241; +} +} +} +else +{ +uint8_t x_242; +x_242 = !lean_is_exclusive(x_205); +if (x_242 == 0) +{ +return x_205; +} +else +{ +lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_243 = lean_ctor_get(x_205, 0); +x_244 = lean_ctor_get(x_205, 1); +lean_inc(x_244); +lean_inc(x_243); +lean_dec(x_205); +x_245 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_245, 0, x_243); +lean_ctor_set(x_245, 1, x_244); +return x_245; +} +} +} +} +block_120: +{ +lean_object* x_41; uint8_t x_42; +lean_dec(x_40); +x_41 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; +x_42 = lean_name_eq(x_37, x_41); +lean_dec(x_37); +if (x_42 == 0) +{ +lean_dec(x_39); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); if (x_2 == 0) { +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_1); +lean_ctor_set(x_43, 1, x_38); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_7); +return x_45; +} +else +{ lean_object* x_46; lean_object* x_47; -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_1); -lean_ctor_set(x_46, 1, x_6); -x_47 = lean_alloc_ctor(1, 1, 0); +lean_dec(x_1); +x_46 = lean_box(0); +x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_7); return x_47; } -else -{ -lean_object* x_48; -lean_dec(x_1); -x_48 = lean_box(0); -return x_48; -} } else { -lean_object* x_49; uint8_t x_50; -x_49 = lean_unsigned_to_nat(4u); -x_50 = lean_nat_dec_eq(x_7, x_49); -if (x_50 == 0) +lean_object* x_48; uint8_t x_49; +x_48 = lean_unsigned_to_nat(4u); +x_49 = lean_nat_dec_eq(x_39, x_48); +if (x_49 == 0) { -lean_dec(x_7); +lean_dec(x_39); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); if (x_2 == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_1); -lean_ctor_set(x_51, 1, x_6); -x_52 = lean_alloc_ctor(1, 1, 0); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_1); +lean_ctor_set(x_50, 1, x_38); +x_51 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_51, 0, x_50); +x_52 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_7); return x_52; } else { -lean_object* x_53; +lean_object* x_53; lean_object* x_54; lean_dec(x_1); x_53 = lean_box(0); -return x_53; +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_7); +return x_54; } } else { -lean_object* x_54; -x_54 = lean_box(0); -x_8 = x_54; -goto block_40; -} -} -} -else +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_55 = lean_unsigned_to_nat(3u); +x_56 = lean_nat_sub(x_39, x_55); +x_57 = lean_unsigned_to_nat(1u); +x_58 = lean_nat_sub(x_56, x_57); +lean_dec(x_56); +x_59 = l_Lean_Expr_getRevArg_x21(x_1, x_58); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_60 = l_Lean_Meta_evalNat(x_59, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_60) == 0) { -lean_object* x_55; uint8_t x_56; -x_55 = lean_unsigned_to_nat(2u); -x_56 = lean_nat_dec_eq(x_7, x_55); -if (x_56 == 0) +lean_object* x_61; +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_57; uint8_t x_58; -x_57 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; -x_58 = lean_name_eq(x_5, x_57); +uint8_t x_62; +lean_dec(x_39); +lean_dec(x_6); lean_dec(x_5); -if (x_58 == 0) +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_62 = !lean_is_exclusive(x_60); +if (x_62 == 0) { -lean_dec(x_7); -if (x_2 == 0) -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_6); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); +lean_object* x_63; lean_object* x_64; +x_63 = lean_ctor_get(x_60, 0); +lean_dec(x_63); +x_64 = lean_box(0); +lean_ctor_set(x_60, 0, x_64); return x_60; } else { -lean_object* x_61; -lean_dec(x_1); -x_61 = lean_box(0); -return x_61; -} -} -else -{ -lean_object* x_62; uint8_t x_63; -x_62 = lean_unsigned_to_nat(4u); -x_63 = lean_nat_dec_eq(x_7, x_62); -if (x_63 == 0) -{ -lean_dec(x_7); -if (x_2 == 0) -{ -lean_object* x_64; lean_object* x_65; -x_64 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_64, 0, x_1); -lean_ctor_set(x_64, 1, x_6); -x_65 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_65, 0, x_64); -return x_65; -} -else -{ -lean_object* x_66; -lean_dec(x_1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_60, 1); +lean_inc(x_65); +lean_dec(x_60); x_66 = lean_box(0); -return x_66; +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_65); +return x_67; } } else { -lean_object* x_67; -x_67 = lean_box(0); -x_8 = x_67; -goto block_40; -} -} -} -else +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; +x_68 = lean_ctor_get(x_60, 1); +lean_inc(x_68); +lean_dec(x_60); +x_69 = lean_ctor_get(x_61, 0); +lean_inc(x_69); +lean_dec(x_61); +x_70 = lean_unsigned_to_nat(2u); +x_71 = lean_nat_sub(x_39, x_70); +lean_dec(x_39); +x_72 = lean_nat_sub(x_71, x_57); +lean_dec(x_71); +x_73 = l_Lean_Expr_getRevArg_x21(x_1, x_72); +lean_dec(x_1); +x_74 = 0; +x_75 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_73, x_74, x_3, x_4, x_5, x_6, x_68); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -lean_dec(x_5); -x_68 = lean_unsigned_to_nat(1u); -x_69 = lean_nat_sub(x_7, x_68); -x_70 = lean_nat_sub(x_69, x_68); +lean_object* x_76; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +if (lean_obj_tag(x_76) == 0) +{ +uint8_t x_77; lean_dec(x_69); -x_71 = l_Lean_Expr_getRevArg_x21(x_1, x_70); -x_72 = l_Lean_Meta_evalNat(x_71); -if (lean_obj_tag(x_72) == 0) +x_77 = !lean_is_exclusive(x_75); +if (x_77 == 0) { -lean_object* x_73; -lean_dec(x_7); -lean_dec(x_1); -x_73 = lean_box(0); -return x_73; +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_75, 0); +lean_dec(x_78); +x_79 = lean_box(0); +lean_ctor_set(x_75, 0, x_79); +return x_75; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; -x_74 = lean_ctor_get(x_72, 0); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_nat_sub(x_7, x_6); -lean_dec(x_7); -x_76 = lean_nat_sub(x_75, x_68); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_75, 1); +lean_inc(x_80); lean_dec(x_75); -x_77 = l_Lean_Expr_getRevArg_x21(x_1, x_76); -lean_dec(x_1); -x_78 = 0; -x_79 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_77, x_78); -if (lean_obj_tag(x_79) == 0) -{ -lean_object* x_80; -lean_dec(x_74); -x_80 = lean_box(0); -return x_80; +x_81 = lean_box(0); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +return x_82; +} } else { -uint8_t x_81; -x_81 = !lean_is_exclusive(x_79); -if (x_81 == 0) -{ -lean_object* x_82; uint8_t x_83; -x_82 = lean_ctor_get(x_79, 0); -x_83 = !lean_is_exclusive(x_82); +uint8_t x_83; +x_83 = !lean_is_exclusive(x_76); if (x_83 == 0) { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_82, 1); -x_85 = lean_nat_add(x_84, x_74); -lean_dec(x_74); -lean_dec(x_84); -lean_ctor_set(x_82, 1, x_85); -return x_79; +uint8_t x_84; +x_84 = !lean_is_exclusive(x_75); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; uint8_t x_87; +x_85 = lean_ctor_get(x_76, 0); +x_86 = lean_ctor_get(x_75, 0); +lean_dec(x_86); +x_87 = !lean_is_exclusive(x_85); +if (x_87 == 0) +{ +lean_object* x_88; lean_object* x_89; +x_88 = lean_ctor_get(x_85, 1); +x_89 = lean_nat_add(x_88, x_69); +lean_dec(x_69); +lean_dec(x_88); +lean_ctor_set(x_85, 1, x_89); +return x_75; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_86 = lean_ctor_get(x_82, 0); -x_87 = lean_ctor_get(x_82, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_82); -x_88 = lean_nat_add(x_87, x_74); -lean_dec(x_74); -lean_dec(x_87); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_79, 0, x_89); -return x_79; -} -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_90 = lean_ctor_get(x_79, 0); -lean_inc(x_90); -lean_dec(x_79); -x_91 = lean_ctor_get(x_90, 0); +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_85, 0); +x_91 = lean_ctor_get(x_85, 1); lean_inc(x_91); -x_92 = lean_ctor_get(x_90, 1); -lean_inc(x_92); -if (lean_is_exclusive(x_90)) { - lean_ctor_release(x_90, 0); - lean_ctor_release(x_90, 1); - x_93 = x_90; +lean_inc(x_90); +lean_dec(x_85); +x_92 = lean_nat_add(x_91, x_69); +lean_dec(x_69); +lean_dec(x_91); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_90); +lean_ctor_set(x_93, 1, x_92); +lean_ctor_set(x_76, 0, x_93); +return x_75; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_94 = lean_ctor_get(x_76, 0); +x_95 = lean_ctor_get(x_75, 1); +lean_inc(x_95); +lean_dec(x_75); +x_96 = lean_ctor_get(x_94, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_94, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_98 = x_94; } else { - lean_dec_ref(x_90); - x_93 = lean_box(0); + lean_dec_ref(x_94); + x_98 = lean_box(0); } -x_94 = lean_nat_add(x_92, x_74); -lean_dec(x_74); -lean_dec(x_92); -if (lean_is_scalar(x_93)) { - x_95 = lean_alloc_ctor(0, 2, 0); +x_99 = lean_nat_add(x_97, x_69); +lean_dec(x_69); +lean_dec(x_97); +if (lean_is_scalar(x_98)) { + x_100 = lean_alloc_ctor(0, 2, 0); } else { - x_95 = x_93; + x_100 = x_98; } -lean_ctor_set(x_95, 0, x_91); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_95); -return x_96; +lean_ctor_set(x_100, 0, x_96); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_76, 0, x_100); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_76); +lean_ctor_set(x_101, 1, x_95); +return x_101; +} +} +else +{ +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_102 = lean_ctor_get(x_76, 0); +lean_inc(x_102); +lean_dec(x_76); +x_103 = lean_ctor_get(x_75, 1); +lean_inc(x_103); +if (lean_is_exclusive(x_75)) { + lean_ctor_release(x_75, 0); + lean_ctor_release(x_75, 1); + x_104 = x_75; +} else { + lean_dec_ref(x_75); + x_104 = lean_box(0); +} +x_105 = lean_ctor_get(x_102, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_102, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_102)) { + lean_ctor_release(x_102, 0); + lean_ctor_release(x_102, 1); + x_107 = x_102; +} else { + lean_dec_ref(x_102); + x_107 = lean_box(0); +} +x_108 = lean_nat_add(x_106, x_69); +lean_dec(x_69); +lean_dec(x_106); +if (lean_is_scalar(x_107)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_107; +} +lean_ctor_set(x_109, 0, x_105); +lean_ctor_set(x_109, 1, x_108); +x_110 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_110, 0, x_109); +if (lean_is_scalar(x_104)) { + x_111 = lean_alloc_ctor(0, 2, 0); +} else { + x_111 = x_104; +} +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_103); +return x_111; } } } +else +{ +uint8_t x_112; +lean_dec(x_69); +x_112 = !lean_is_exclusive(x_75); +if (x_112 == 0) +{ +return x_75; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_75, 0); +x_114 = lean_ctor_get(x_75, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_75); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; } } } } else { +uint8_t x_116; +lean_dec(x_39); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_116 = !lean_is_exclusive(x_60); +if (x_116 == 0) +{ +return x_60; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_60, 0); +x_118 = lean_ctor_get(x_60, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_60); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +} +} +} +block_185: +{ +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +lean_dec(x_121); +x_122 = lean_unsigned_to_nat(1u); +x_123 = lean_nat_sub(x_39, x_122); +x_124 = lean_nat_sub(x_123, x_122); +lean_dec(x_123); +x_125 = l_Lean_Expr_getRevArg_x21(x_1, x_124); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_126 = l_Lean_Meta_evalNat(x_125, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_126) == 0) +{ +lean_object* x_127; +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +if (lean_obj_tag(x_127) == 0) +{ +uint8_t x_128; +lean_dec(x_39); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_128 = !lean_is_exclusive(x_126); +if (x_128 == 0) +{ +lean_object* x_129; lean_object* x_130; +x_129 = lean_ctor_get(x_126, 0); +lean_dec(x_129); +x_130 = lean_box(0); +lean_ctor_set(x_126, 0, x_130); +return x_126; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_126, 1); +lean_inc(x_131); +lean_dec(x_126); +x_132 = lean_box(0); +x_133 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_133, 1, x_131); +return x_133; +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; lean_object* x_140; +x_134 = lean_ctor_get(x_126, 1); +lean_inc(x_134); +lean_dec(x_126); +x_135 = lean_ctor_get(x_127, 0); +lean_inc(x_135); +lean_dec(x_127); +x_136 = lean_nat_sub(x_39, x_38); +lean_dec(x_39); +x_137 = lean_nat_sub(x_136, x_122); +lean_dec(x_136); +x_138 = l_Lean_Expr_getRevArg_x21(x_1, x_137); +lean_dec(x_1); +x_139 = 0; +x_140 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_138, x_139, x_3, x_4, x_5, x_6, x_134); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +if (lean_obj_tag(x_141) == 0) +{ +uint8_t x_142; +lean_dec(x_135); +x_142 = !lean_is_exclusive(x_140); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; +x_143 = lean_ctor_get(x_140, 0); +lean_dec(x_143); +x_144 = lean_box(0); +lean_ctor_set(x_140, 0, x_144); +return x_140; +} +else +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_145 = lean_ctor_get(x_140, 1); +lean_inc(x_145); +lean_dec(x_140); +x_146 = lean_box(0); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_145); +return x_147; +} +} +else +{ +uint8_t x_148; +x_148 = !lean_is_exclusive(x_141); +if (x_148 == 0) +{ +uint8_t x_149; +x_149 = !lean_is_exclusive(x_140); +if (x_149 == 0) +{ +lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_150 = lean_ctor_get(x_141, 0); +x_151 = lean_ctor_get(x_140, 0); +lean_dec(x_151); +x_152 = !lean_is_exclusive(x_150); +if (x_152 == 0) +{ +lean_object* x_153; lean_object* x_154; +x_153 = lean_ctor_get(x_150, 1); +x_154 = lean_nat_add(x_153, x_135); +lean_dec(x_135); +lean_dec(x_153); +lean_ctor_set(x_150, 1, x_154); +return x_140; +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_155 = lean_ctor_get(x_150, 0); +x_156 = lean_ctor_get(x_150, 1); +lean_inc(x_156); +lean_inc(x_155); +lean_dec(x_150); +x_157 = lean_nat_add(x_156, x_135); +lean_dec(x_135); +lean_dec(x_156); +x_158 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_158, 0, x_155); +lean_ctor_set(x_158, 1, x_157); +lean_ctor_set(x_141, 0, x_158); +return x_140; +} +} +else +{ +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; +x_159 = lean_ctor_get(x_141, 0); +x_160 = lean_ctor_get(x_140, 1); +lean_inc(x_160); +lean_dec(x_140); +x_161 = lean_ctor_get(x_159, 0); +lean_inc(x_161); +x_162 = lean_ctor_get(x_159, 1); +lean_inc(x_162); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_163 = x_159; +} else { + lean_dec_ref(x_159); + x_163 = lean_box(0); +} +x_164 = lean_nat_add(x_162, x_135); +lean_dec(x_135); +lean_dec(x_162); +if (lean_is_scalar(x_163)) { + x_165 = lean_alloc_ctor(0, 2, 0); +} else { + x_165 = x_163; +} +lean_ctor_set(x_165, 0, x_161); +lean_ctor_set(x_165, 1, x_164); +lean_ctor_set(x_141, 0, x_165); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_141); +lean_ctor_set(x_166, 1, x_160); +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; +x_167 = lean_ctor_get(x_141, 0); +lean_inc(x_167); +lean_dec(x_141); +x_168 = lean_ctor_get(x_140, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_169 = x_140; +} else { + lean_dec_ref(x_140); + x_169 = lean_box(0); +} +x_170 = lean_ctor_get(x_167, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_167, 1); +lean_inc(x_171); +if (lean_is_exclusive(x_167)) { + lean_ctor_release(x_167, 0); + lean_ctor_release(x_167, 1); + x_172 = x_167; +} else { + lean_dec_ref(x_167); + x_172 = lean_box(0); +} +x_173 = lean_nat_add(x_171, x_135); +lean_dec(x_135); +lean_dec(x_171); +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(0, 2, 0); +} else { + x_174 = x_172; +} +lean_ctor_set(x_174, 0, x_170); +lean_ctor_set(x_174, 1, x_173); +x_175 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_175, 0, x_174); +if (lean_is_scalar(x_169)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_169; +} +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_168); +return x_176; +} +} +} +else +{ +uint8_t x_177; +lean_dec(x_135); +x_177 = !lean_is_exclusive(x_140); +if (x_177 == 0) +{ +return x_140; +} +else +{ +lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_178 = lean_ctor_get(x_140, 0); +x_179 = lean_ctor_get(x_140, 1); +lean_inc(x_179); +lean_inc(x_178); +lean_dec(x_140); +x_180 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_180, 0, x_178); +lean_ctor_set(x_180, 1, x_179); +return x_180; +} +} +} +} +else +{ +uint8_t x_181; +lean_dec(x_39); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_181 = !lean_is_exclusive(x_126); +if (x_181 == 0) +{ +return x_126; +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_126, 0); +x_183 = lean_ctor_get(x_126, 1); +lean_inc(x_183); +lean_inc(x_182); +lean_dec(x_126); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +} +} +} +default: +{ +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); if (x_2 == 0) { -lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_123 = lean_unsigned_to_nat(0u); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_1); -lean_ctor_set(x_124, 1, x_123); -x_125 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_125, 0, x_124); -return x_125; +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +x_246 = lean_unsigned_to_nat(0u); +x_247 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_247, 0, x_1); +lean_ctor_set(x_247, 1, x_246); +x_248 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_248, 0, x_247); +x_249 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_249, 0, x_248); +lean_ctor_set(x_249, 1, x_7); +return x_249; } else { -lean_object* x_126; +lean_object* x_250; lean_object* x_251; lean_dec(x_1); -x_126 = lean_box(0); -return x_126; +x_250 = lean_box(0); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_7); +return x_251; +} } } } else { +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); if (x_2 == 0) { -lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_127 = lean_unsigned_to_nat(0u); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_1); -lean_ctor_set(x_128, 1, x_127); -x_129 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_129, 0, x_128); -return x_129; +lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_252 = lean_unsigned_to_nat(0u); +x_253 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_253, 0, x_1); +lean_ctor_set(x_253, 1, x_252); +x_254 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_254, 0, x_253); +x_255 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_7); +return x_255; } else { -lean_object* x_130; +lean_object* x_256; lean_object* x_257; lean_dec(x_1); -x_130 = lean_box(0); -return x_130; +x_256 = lean_box(0); +x_257 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_257, 0, x_256); +lean_ctor_set(x_257, 1, x_7); +return x_257; } } } } -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux___boxed(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_3; lean_object* x_4; -x_3 = lean_unbox(x_2); +uint8_t x_8; lean_object* x_9; +x_8 = lean_unbox(x_2); lean_dec(x_2); -x_4 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_3); -return x_4; +x_9 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_8, x_3, x_4, x_5, x_6, x_7); +return x_9; } } -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffset(lean_object* x_1) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_getOffset(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: { -uint8_t x_2; lean_object* x_3; -x_2 = 1; -x_3 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_2); -return x_3; -} -} -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -if (lean_obj_tag(x_1) == 4) -{ -lean_object* x_4; lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; -lean_dec(x_3); -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); -lean_dec(x_1); -x_7 = lean_box_uint64(x_6); -x_8 = lean_apply_3(x_2, x_4, x_5, x_7); +uint8_t x_7; lean_object* x_8; +x_7 = 1; +x_8 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } -else +} +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: { -lean_object* x_9; +switch (lean_obj_tag(x_1)) { +case 2: +{ +lean_object* x_5; uint64_t x_6; lean_object* x_7; lean_object* x_8; +lean_dec(x_4); +lean_dec(x_3); +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get_uint64(x_1, sizeof(void*)*1); +lean_dec(x_1); +x_7 = lean_box_uint64(x_6); +x_8 = lean_apply_2(x_2, x_5, x_7); +return x_8; +} +case 4: +{ +lean_object* x_9; lean_object* x_10; uint64_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_4); lean_dec(x_2); -x_9 = lean_apply_1(x_3, x_1); -return x_9; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +x_11 = lean_ctor_get_uint64(x_1, sizeof(void*)*2); +lean_dec(x_1); +x_12 = lean_box_uint64(x_11); +x_13 = lean_apply_3(x_3, x_9, x_10, x_12); +return x_13; +} +default: +{ +lean_object* x_14; +lean_dec(x_3); +lean_dec(x_2); +x_14 = lean_apply_1(x_4, x_1); +return x_14; +} } } } @@ -2160,7 +4220,7 @@ lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1(lean_ob _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset_match__1___rarg), 4, 0); return x_2; } } @@ -2197,246 +4257,325 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Offset_0__Lean_Meta_isOff return x_2; } } -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(lean_object* x_1) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { if (lean_obj_tag(x_1) == 5) { -lean_object* x_2; -x_2 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_2) == 4) +lean_object* x_7; +x_7 = l_Lean_Expr_getAppFn(x_1); +switch (lean_obj_tag(x_7)) { +case 2: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; uint8_t x_15; -x_3 = lean_ctor_get(x_2, 0); +lean_object* x_8; +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_dec(x_2); -x_4 = lean_unsigned_to_nat(0u); -x_5 = l_Lean_Expr_getAppNumArgsAux(x_1, x_4); -x_6 = l_Lean_Meta_evalNat___closed__8; -x_7 = lean_name_eq(x_3, x_6); -x_8 = lean_unsigned_to_nat(1u); -x_9 = lean_nat_dec_eq(x_5, x_8); -x_10 = l_Lean_Meta_evalNat___closed__4; -x_11 = lean_name_eq(x_3, x_10); -x_12 = lean_unsigned_to_nat(2u); -x_13 = lean_nat_dec_eq(x_5, x_12); -x_14 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; -x_15 = lean_name_eq(x_3, x_14); +lean_inc(x_2); +x_8 = l_Lean_Meta_instantiateMVars___at___private_Lean_Meta_Offset_0__Lean_Meta_withInstantiatedMVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -if (x_7 == 0) +lean_dec(x_2); +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) { -if (x_11 == 0) +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 0); +lean_dec(x_11); +x_12 = lean_box(0); +lean_ctor_set(x_8, 0, x_12); +return x_8; +} +else { -if (x_15 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else { -lean_object* x_16; +uint8_t x_16; +x_16 = !lean_is_exclusive(x_8); +if (x_16 == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_8, 1); +x_18 = lean_ctor_get(x_8, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_9, 0); +lean_inc(x_19); +lean_dec(x_9); +x_20 = l_Lean_Expr_getAppFn(x_19); +x_21 = l_Lean_Expr_isMVar(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +lean_free_object(x_8); +x_1 = x_19; +x_6 = x_17; +goto _start; +} +else +{ +lean_object* x_23; +lean_dec(x_19); lean_dec(x_5); -lean_dec(x_1); -x_16 = lean_box(0); -return x_16; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_box(0); +lean_ctor_set(x_8, 0, x_23); +return x_8; +} } else { -lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(4u); -x_18 = lean_nat_dec_eq(x_5, x_17); +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_8, 1); +lean_inc(x_24); +lean_dec(x_8); +x_25 = lean_ctor_get(x_9, 0); +lean_inc(x_25); +lean_dec(x_9); +x_26 = l_Lean_Expr_getAppFn(x_25); +x_27 = l_Lean_Expr_isMVar(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +x_1 = x_25; +x_6 = x_24; +goto _start; +} +else +{ +lean_object* x_29; lean_object* x_30; +lean_dec(x_25); lean_dec(x_5); -if (x_18 == 0) -{ -lean_object* x_19; -lean_dec(x_1); -x_19 = lean_box(0); -return x_19; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = lean_box(0); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_24); +return x_30; } -else -{ -uint8_t x_20; lean_object* x_21; -x_20 = 1; -x_21 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_20); -return x_21; } } } else { -if (x_15 == 0) -{ +uint8_t x_31; lean_dec(x_5); -if (x_13 == 0) +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_31 = !lean_is_exclusive(x_8); +if (x_31 == 0) { -lean_object* x_22; -lean_dec(x_1); -x_22 = lean_box(0); -return x_22; +return x_8; } else { -uint8_t x_23; lean_object* x_24; -x_23 = 1; -x_24 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_23); -return x_24; +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_8, 0); +x_33 = lean_ctor_get(x_8, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_8); +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; +} +} +} +case 4: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; uint8_t x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; uint8_t x_47; uint8_t x_48; +x_35 = lean_ctor_get(x_7, 0); +lean_inc(x_35); +lean_dec(x_7); +x_36 = lean_unsigned_to_nat(0u); +x_37 = l_Lean_Expr_getAppNumArgsAux(x_1, x_36); +x_38 = l_Lean_Meta_evalNat_visit___closed__8; +x_39 = lean_name_eq(x_35, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_dec_eq(x_37, x_40); +x_42 = l_Lean_Meta_evalNat_visit___closed__4; +x_43 = lean_name_eq(x_35, x_42); +x_44 = lean_unsigned_to_nat(2u); +x_45 = lean_nat_dec_eq(x_37, x_44); +x_46 = l_myMacro____x40_Init_Notation___hyg_370____closed__7; +x_47 = lean_name_eq(x_35, x_46); +lean_dec(x_35); +if (x_39 == 0) +{ +if (x_43 == 0) +{ +uint8_t x_62; +x_62 = 0; +x_48 = x_62; +goto block_61; +} +else +{ +x_48 = x_45; +goto block_61; } } else { -if (x_13 == 0) +if (x_43 == 0) { -lean_object* x_25; uint8_t x_26; -x_25 = lean_unsigned_to_nat(4u); -x_26 = lean_nat_dec_eq(x_5, x_25); +if (x_41 == 0) +{ +uint8_t x_63; +x_63 = 0; +x_48 = x_63; +goto block_61; +} +else +{ +uint8_t x_64; lean_object* x_65; +lean_dec(x_37); +x_64 = 1; +x_65 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_64, x_2, x_3, x_4, x_5, x_6); +return x_65; +} +} +else +{ +if (x_41 == 0) +{ +x_48 = x_45; +goto block_61; +} +else +{ +uint8_t x_66; lean_object* x_67; +lean_dec(x_37); +x_66 = 1; +x_67 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_66, x_2, x_3, x_4, x_5, x_6); +return x_67; +} +} +} +block_61: +{ +if (x_47 == 0) +{ +lean_dec(x_37); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; lean_dec(x_5); -if (x_26 == 0) -{ -lean_object* x_27; -lean_dec(x_1); -x_27 = lean_box(0); -return x_27; -} -else -{ -uint8_t x_28; lean_object* x_29; -x_28 = 1; -x_29 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_28); -return x_29; -} -} -else -{ -uint8_t x_30; lean_object* x_31; -lean_dec(x_5); -x_30 = 1; -x_31 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_30); -return x_31; -} -} -} -} -else -{ -if (x_11 == 0) -{ -if (x_9 == 0) -{ -if (x_15 == 0) -{ -lean_object* x_32; -lean_dec(x_5); -lean_dec(x_1); -x_32 = lean_box(0); -return x_32; -} -else -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_unsigned_to_nat(4u); -x_34 = lean_nat_dec_eq(x_5, x_33); -lean_dec(x_5); -if (x_34 == 0) -{ -lean_object* x_35; -lean_dec(x_1); -x_35 = lean_box(0); -return x_35; -} -else -{ -uint8_t x_36; lean_object* x_37; -x_36 = 1; -x_37 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_36); -return x_37; -} -} -} -else -{ -uint8_t x_38; lean_object* x_39; -lean_dec(x_5); -x_38 = 1; -x_39 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_38); -return x_39; -} -} -else -{ -if (x_9 == 0) -{ -if (x_15 == 0) -{ -lean_dec(x_5); -if (x_13 == 0) -{ -lean_object* x_40; -lean_dec(x_1); -x_40 = lean_box(0); -return x_40; -} -else -{ -uint8_t x_41; lean_object* x_42; -x_41 = 1; -x_42 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_41); -return x_42; -} -} -else -{ -if (x_13 == 0) -{ -lean_object* x_43; uint8_t x_44; -x_43 = lean_unsigned_to_nat(4u); -x_44 = lean_nat_dec_eq(x_5, x_43); -lean_dec(x_5); -if (x_44 == 0) -{ -lean_object* x_45; -lean_dec(x_1); -x_45 = lean_box(0); -return x_45; -} -else -{ -uint8_t x_46; lean_object* x_47; -x_46 = 1; -x_47 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_46); -return x_47; -} -} -else -{ -uint8_t x_48; lean_object* x_49; -lean_dec(x_5); -x_48 = 1; -x_49 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_48); -return x_49; -} -} -} -else -{ -uint8_t x_50; lean_object* x_51; -lean_dec(x_5); -x_50 = 1; -x_51 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_50); -return x_51; -} -} -} -} -else -{ -lean_object* x_52; +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_52 = lean_box(0); +x_49 = lean_box(0); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_6); +return x_50; +} +else +{ +uint8_t x_51; lean_object* x_52; +x_51 = 1; +x_52 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_51, x_2, x_3, x_4, x_5, x_6); return x_52; } } else { -lean_object* x_53; +if (x_48 == 0) +{ +lean_object* x_53; uint8_t x_54; +x_53 = lean_unsigned_to_nat(4u); +x_54 = lean_nat_dec_eq(x_37, x_53); +lean_dec(x_37); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_53 = lean_box(0); -return x_53; +x_55 = lean_box(0); +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_6); +return x_56; +} +else +{ +uint8_t x_57; lean_object* x_58; +x_57 = 1; +x_58 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_57, x_2, x_3, x_4, x_5, x_6); +return x_58; +} +} +else +{ +uint8_t x_59; lean_object* x_60; +lean_dec(x_37); +x_59 = 1; +x_60 = l___private_Lean_Meta_Offset_0__Lean_Meta_getOffsetAux(x_1, x_59, x_2, x_3, x_4, x_5, x_6); +return x_60; +} +} +} +} +default: +{ +lean_object* x_68; lean_object* x_69; +lean_dec(x_7); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_68 = lean_box(0); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_6); +return x_69; +} +} +} +else +{ +lean_object* x_70; lean_object* x_71; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_70 = lean_box(0); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_6); +return x_71; } } } @@ -2470,37 +4609,105 @@ x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_Offset_0__Lean_Meta_isNat return x_2; } } -uint8_t l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(lean_object* x_1) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(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_2; -x_2 = l_Lean_Meta_evalNat(x_1); -if (lean_obj_tag(x_2) == 0) +lean_object* x_7; +x_7 = l_Lean_Meta_evalNat(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_7) == 0) { -uint8_t x_3; -x_3 = 0; -return x_3; +lean_object* x_8; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_7); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_7, 0); +lean_dec(x_10); +x_11 = 0; +x_12 = lean_box(x_11); +lean_ctor_set(x_7, 0, x_12); +return x_7; } else { -lean_object* x_4; lean_object* x_5; uint8_t x_6; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = lean_unsigned_to_nat(0u); -x_6 = lean_nat_dec_eq(x_4, x_5); -lean_dec(x_4); -return x_6; +lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_7, 1); +lean_inc(x_13); +lean_dec(x_7); +x_14 = 0; +x_15 = lean_box(x_14); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_13); +return x_16; } } -} -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero___boxed(lean_object* x_1) { -_start: +else { -uint8_t x_2; lean_object* x_3; -x_2 = l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(x_1); -x_3 = lean_box(x_2); -return x_3; +uint8_t x_17; +x_17 = !lean_is_exclusive(x_7); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_7, 0); +lean_dec(x_18); +x_19 = lean_ctor_get(x_8, 0); +lean_inc(x_19); +lean_dec(x_8); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_nat_dec_eq(x_19, x_20); +lean_dec(x_19); +x_22 = lean_box(x_21); +lean_ctor_set(x_7, 0, x_22); +return x_7; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; +x_23 = lean_ctor_get(x_7, 1); +lean_inc(x_23); +lean_dec(x_7); +x_24 = lean_ctor_get(x_8, 0); +lean_inc(x_24); +lean_dec(x_8); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_nat_dec_eq(x_24, x_25); +lean_dec(x_24); +x_27 = lean_box(x_26); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_23); +return x_28; +} +} +} +else +{ +uint8_t x_29; +x_29 = !lean_is_exclusive(x_7); +if (x_29 == 0) +{ +return x_7; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_7, 0); +x_31 = lean_ctor_get(x_7, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_7); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} } } static lean_object* _init_l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1() { @@ -2508,42 +4715,124 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Meta_evalNat___closed__4; +x_2 = l_Lean_Meta_evalNat_visit___closed__4; x_3 = l_Lean_mkConst(x_2, x_1); return x_3; } } -lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(lean_object* x_1, lean_object* x_2) { +lean_object* l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_3; uint8_t x_4; -x_3 = lean_unsigned_to_nat(0u); -x_4 = lean_nat_dec_eq(x_2, x_3); -if (x_4 == 0) +lean_object* x_8; uint8_t x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_nat_dec_eq(x_2, x_8); +if (x_9 == 0) { -uint8_t x_5; +lean_object* x_10; lean_inc(x_1); -x_5 = l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(x_1); -if (x_5 == 0) +x_10 = l___private_Lean_Meta_Offset_0__Lean_Meta_isNatZero(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_mkNatLit(x_2); -x_7 = l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1; -x_8 = l_Lean_mkAppB(x_7, x_1, x_6); -return x_8; +lean_object* x_11; uint8_t x_12; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_unbox(x_11); +lean_dec(x_11); +if (x_12 == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_10); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +lean_dec(x_14); +x_15 = l_Lean_mkNatLit(x_2); +x_16 = l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1; +x_17 = l_Lean_mkAppB(x_16, x_1, x_15); +lean_ctor_set(x_10, 0, x_17); +return x_10; } else { -lean_object* x_9; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_10, 1); +lean_inc(x_18); +lean_dec(x_10); +x_19 = l_Lean_mkNatLit(x_2); +x_20 = l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1; +x_21 = l_Lean_mkAppB(x_20, x_1, x_19); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_18); +return x_22; +} +} +else +{ +uint8_t x_23; lean_dec(x_1); -x_9 = l_Lean_mkNatLit(x_2); -return x_9; +x_23 = !lean_is_exclusive(x_10); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_10, 0); +lean_dec(x_24); +x_25 = l_Lean_mkNatLit(x_2); +lean_ctor_set(x_10, 0, x_25); +return x_10; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_10, 1); +lean_inc(x_26); +lean_dec(x_10); +x_27 = l_Lean_mkNatLit(x_2); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} } } else { +uint8_t x_29; lean_dec(x_2); -return x_1; +lean_dec(x_1); +x_29 = !lean_is_exclusive(x_10); +if (x_29 == 0) +{ +return x_10; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_10, 0); +x_31 = lean_ctor_get(x_10, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_10); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_7); +return x_33; } } } @@ -2752,501 +5041,1086 @@ lean_object* l_Lean_Meta_isDefEqOffset(lean_object* x_1, lean_object* x_2, lean_ _start: { lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); lean_inc(x_1); -x_8 = l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(x_1); +x_8 = l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; -x_9 = l_Lean_Meta_evalNat(x_1); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); if (lean_obj_tag(x_9) == 0) { -uint8_t x_10; lean_object* x_11; lean_object* x_12; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_10 = 2; -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_7); -return x_12; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_9, 0); -lean_inc(x_13); -lean_dec(x_9); -lean_inc(x_2); -x_14 = l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(x_2); -if (lean_obj_tag(x_14) == 0) -{ -lean_object* x_15; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_15 = l_Lean_Meta_evalNat(x_2); -if (lean_obj_tag(x_15) == 0) -{ -uint8_t x_16; lean_object* x_17; lean_object* x_18; -lean_dec(x_13); -x_16 = 2; -x_17 = lean_box(x_16); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_7); -return x_18; -} -else -{ -lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; -x_19 = lean_ctor_get(x_15, 0); -lean_inc(x_19); -lean_dec(x_15); -x_20 = lean_nat_dec_eq(x_13, x_19); -lean_dec(x_19); -lean_dec(x_13); -x_21 = l_Bool_toLBool(x_20); -x_22 = lean_box(x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_7); -return x_23; -} -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -lean_dec(x_2); -x_24 = lean_ctor_get(x_14, 0); -lean_inc(x_24); -lean_dec(x_14); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_nat_dec_le(x_26, x_13); -if (x_27 == 0) -{ -uint8_t x_28; lean_object* x_29; lean_object* x_30; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_13); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_28 = 0; -x_29 = lean_box(x_28); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_7); -return x_30; -} -else -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_nat_sub(x_13, x_26); -lean_dec(x_26); -lean_dec(x_13); -x_32 = l_Lean_mkNatLit(x_31); -x_33 = l_Lean_Meta_isExprDefEqAux(x_32, x_25, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_33) == 0) -{ -uint8_t x_34; -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) -{ -lean_object* x_35; uint8_t x_36; uint8_t x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_33, 0); -x_36 = lean_unbox(x_35); -lean_dec(x_35); -x_37 = l_Bool_toLBool(x_36); -x_38 = lean_box(x_37); -lean_ctor_set(x_33, 0, x_38); -return x_33; -} -else -{ -lean_object* x_39; lean_object* x_40; uint8_t x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; -x_39 = lean_ctor_get(x_33, 0); -x_40 = lean_ctor_get(x_33, 1); -lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_33); -x_41 = lean_unbox(x_39); -lean_dec(x_39); -x_42 = l_Bool_toLBool(x_41); -x_43 = lean_box(x_42); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_40); -return x_44; -} -} -else -{ -uint8_t x_45; -x_45 = !lean_is_exclusive(x_33); -if (x_45 == 0) -{ -return x_33; -} -else -{ -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_33, 0); -x_47 = lean_ctor_get(x_33, 1); -lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_33); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; -} -} -} -} -} -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -lean_dec(x_1); -x_49 = lean_ctor_get(x_8, 0); -lean_inc(x_49); +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); lean_dec(x_8); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_ctor_get(x_49, 1); -lean_inc(x_51); -lean_dec(x_49); -lean_inc(x_2); -x_52 = l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(x_2); -if (lean_obj_tag(x_52) == 0) +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_11 = l_Lean_Meta_evalNat(x_1, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_53; -x_53 = l_Lean_Meta_evalNat(x_2); -if (lean_obj_tag(x_53) == 0) +lean_object* x_12; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +if (lean_obj_tag(x_12) == 0) { -uint8_t x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_51); -lean_dec(x_50); +uint8_t x_13; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_54 = 2; -x_55 = lean_box(x_54); -x_56 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_7); -return x_56; +lean_dec(x_2); +x_13 = !lean_is_exclusive(x_11); +if (x_13 == 0) +{ +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_11, 0); +lean_dec(x_14); +x_15 = 2; +x_16 = lean_box(x_15); +lean_ctor_set(x_11, 0, x_16); +return x_11; } else { -lean_object* x_57; uint8_t x_58; -x_57 = lean_ctor_get(x_53, 0); +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_dec(x_11); +x_18 = 2; +x_19 = lean_box(x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_17); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_11, 1); +lean_inc(x_21); +lean_dec(x_11); +x_22 = lean_ctor_get(x_12, 0); +lean_inc(x_22); +lean_dec(x_12); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_23 = l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(x_2, x_3, x_4, x_5, x_6, x_21); +if (lean_obj_tag(x_23) == 0) +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Meta_evalNat(x_2, x_3, x_4, x_5, x_6, x_25); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_22); +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; uint8_t x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_26, 0); +lean_dec(x_29); +x_30 = 2; +x_31 = lean_box(x_30); +lean_ctor_set(x_26, 0, x_31); +return x_26; +} +else +{ +lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; +x_32 = lean_ctor_get(x_26, 1); +lean_inc(x_32); +lean_dec(x_26); +x_33 = 2; +x_34 = lean_box(x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_32); +return x_35; +} +} +else +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_26); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; +x_37 = lean_ctor_get(x_26, 0); +lean_dec(x_37); +x_38 = lean_ctor_get(x_27, 0); +lean_inc(x_38); +lean_dec(x_27); +x_39 = lean_nat_dec_eq(x_22, x_38); +lean_dec(x_38); +lean_dec(x_22); +x_40 = l_Bool_toLBool(x_39); +x_41 = lean_box(x_40); +lean_ctor_set(x_26, 0, x_41); +return x_26; +} +else +{ +lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; +x_42 = lean_ctor_get(x_26, 1); +lean_inc(x_42); +lean_dec(x_26); +x_43 = lean_ctor_get(x_27, 0); +lean_inc(x_43); +lean_dec(x_27); +x_44 = lean_nat_dec_eq(x_22, x_43); +lean_dec(x_43); +lean_dec(x_22); +x_45 = l_Bool_toLBool(x_44); +x_46 = lean_box(x_45); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_42); +return x_47; +} +} +} +else +{ +uint8_t x_48; +lean_dec(x_22); +x_48 = !lean_is_exclusive(x_26); +if (x_48 == 0) +{ +return x_26; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_26, 0); +x_50 = lean_ctor_get(x_26, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_26); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +lean_object* x_52; uint8_t x_53; +lean_dec(x_2); +x_52 = lean_ctor_get(x_24, 0); +lean_inc(x_52); +lean_dec(x_24); +x_53 = !lean_is_exclusive(x_23); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_54 = lean_ctor_get(x_23, 1); +x_55 = lean_ctor_get(x_23, 0); +lean_dec(x_55); +x_56 = lean_ctor_get(x_52, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_52, 1); lean_inc(x_57); -lean_dec(x_53); -x_58 = lean_nat_dec_le(x_51, x_57); +lean_dec(x_52); +x_58 = lean_nat_dec_le(x_57, x_22); if (x_58 == 0) { -uint8_t x_59; lean_object* x_60; lean_object* x_61; +uint8_t x_59; lean_object* x_60; lean_dec(x_57); -lean_dec(x_51); -lean_dec(x_50); +lean_dec(x_56); +lean_dec(x_22); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_59 = 0; x_60 = lean_box(x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_7); -return x_61; +lean_ctor_set(x_23, 0, x_60); +return x_23; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_nat_sub(x_57, x_51); -lean_dec(x_51); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_free_object(x_23); +x_61 = lean_nat_sub(x_22, x_57); lean_dec(x_57); -x_63 = l_Lean_mkNatLit(x_62); -x_64 = l_Lean_Meta_isExprDefEqAux(x_50, x_63, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_64) == 0) +lean_dec(x_22); +x_62 = l_Lean_mkNatLit(x_61); +x_63 = l_Lean_Meta_isExprDefEqAux(x_62, x_56, x_3, x_4, x_5, x_6, x_54); +if (lean_obj_tag(x_63) == 0) { -uint8_t x_65; -x_65 = !lean_is_exclusive(x_64); -if (x_65 == 0) +uint8_t x_64; +x_64 = !lean_is_exclusive(x_63); +if (x_64 == 0) { -lean_object* x_66; uint8_t x_67; uint8_t x_68; lean_object* x_69; -x_66 = lean_ctor_get(x_64, 0); -x_67 = lean_unbox(x_66); -lean_dec(x_66); -x_68 = l_Bool_toLBool(x_67); -x_69 = lean_box(x_68); -lean_ctor_set(x_64, 0, x_69); -return x_64; +lean_object* x_65; uint8_t x_66; uint8_t x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_63, 0); +x_66 = lean_unbox(x_65); +lean_dec(x_65); +x_67 = l_Bool_toLBool(x_66); +x_68 = lean_box(x_67); +lean_ctor_set(x_63, 0, x_68); +return x_63; } else { -lean_object* x_70; lean_object* x_71; uint8_t x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; -x_70 = lean_ctor_get(x_64, 0); -x_71 = lean_ctor_get(x_64, 1); -lean_inc(x_71); +lean_object* x_69; lean_object* x_70; uint8_t x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; +x_69 = lean_ctor_get(x_63, 0); +x_70 = lean_ctor_get(x_63, 1); lean_inc(x_70); -lean_dec(x_64); -x_72 = lean_unbox(x_70); -lean_dec(x_70); -x_73 = l_Bool_toLBool(x_72); -x_74 = lean_box(x_73); -x_75 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_75, 0, x_74); -lean_ctor_set(x_75, 1, x_71); -return x_75; +lean_inc(x_69); +lean_dec(x_63); +x_71 = lean_unbox(x_69); +lean_dec(x_69); +x_72 = l_Bool_toLBool(x_71); +x_73 = lean_box(x_72); +x_74 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_74, 0, x_73); +lean_ctor_set(x_74, 1, x_70); +return x_74; } } else { -uint8_t x_76; -x_76 = !lean_is_exclusive(x_64); -if (x_76 == 0) +uint8_t x_75; +x_75 = !lean_is_exclusive(x_63); +if (x_75 == 0) { -return x_64; +return x_63; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_64, 0); -x_78 = lean_ctor_get(x_64, 1); -lean_inc(x_78); +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_63, 0); +x_77 = lean_ctor_get(x_63, 1); lean_inc(x_77); -lean_dec(x_64); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; -} +lean_inc(x_76); +lean_dec(x_63); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; } } } } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -lean_dec(x_2); +lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_79 = lean_ctor_get(x_23, 1); +lean_inc(x_79); +lean_dec(x_23); x_80 = lean_ctor_get(x_52, 0); lean_inc(x_80); -lean_dec(x_52); -x_81 = lean_ctor_get(x_80, 0); +x_81 = lean_ctor_get(x_52, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_80, 1); -lean_inc(x_82); +lean_dec(x_52); +x_82 = lean_nat_dec_le(x_81, x_22); +if (x_82 == 0) +{ +uint8_t x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_81); lean_dec(x_80); -x_83 = lean_nat_dec_eq(x_51, x_82); -if (x_83 == 0) +lean_dec(x_22); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_83 = 0; +x_84 = lean_box(x_83); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_79); +return x_85; +} +else { -uint8_t x_84; -x_84 = lean_nat_dec_lt(x_51, x_82); -if (x_84 == 0) +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_nat_sub(x_22, x_81); +lean_dec(x_81); +lean_dec(x_22); +x_87 = l_Lean_mkNatLit(x_86); +x_88 = l_Lean_Meta_isExprDefEqAux(x_87, x_80, x_3, x_4, x_5, x_6, x_79); +if (lean_obj_tag(x_88) == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_nat_sub(x_51, x_82); -lean_dec(x_82); -lean_dec(x_51); -x_86 = l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(x_50, x_85); -x_87 = l_Lean_Meta_isExprDefEqAux(x_86, x_81, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_87) == 0) -{ -uint8_t x_88; -x_88 = !lean_is_exclusive(x_87); -if (x_88 == 0) -{ -lean_object* x_89; uint8_t x_90; uint8_t x_91; lean_object* x_92; -x_89 = lean_ctor_get(x_87, 0); -x_90 = lean_unbox(x_89); +lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; uint8_t x_93; lean_object* x_94; lean_object* x_95; +x_89 = lean_ctor_get(x_88, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_88, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_91 = x_88; +} else { + lean_dec_ref(x_88); + x_91 = lean_box(0); +} +x_92 = lean_unbox(x_89); lean_dec(x_89); -x_91 = l_Bool_toLBool(x_90); -x_92 = lean_box(x_91); -lean_ctor_set(x_87, 0, x_92); -return x_87; +x_93 = l_Bool_toLBool(x_92); +x_94 = lean_box(x_93); +if (lean_is_scalar(x_91)) { + x_95 = lean_alloc_ctor(0, 2, 0); +} else { + x_95 = x_91; +} +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_90); +return x_95; } else { -lean_object* x_93; lean_object* x_94; uint8_t x_95; uint8_t x_96; lean_object* x_97; lean_object* x_98; -x_93 = lean_ctor_get(x_87, 0); -x_94 = lean_ctor_get(x_87, 1); -lean_inc(x_94); -lean_inc(x_93); -lean_dec(x_87); -x_95 = lean_unbox(x_93); -lean_dec(x_93); -x_96 = l_Bool_toLBool(x_95); -x_97 = lean_box(x_96); -x_98 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_98, 1, x_94); -return x_98; +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_88, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_88, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_88)) { + lean_ctor_release(x_88, 0); + lean_ctor_release(x_88, 1); + x_98 = x_88; +} else { + lean_dec_ref(x_88); + x_98 = lean_box(0); +} +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); +} else { + x_99 = x_98; +} +lean_ctor_set(x_99, 0, x_96); +lean_ctor_set(x_99, 1, x_97); +return x_99; +} +} +} } } else { -uint8_t x_99; -x_99 = !lean_is_exclusive(x_87); -if (x_99 == 0) +uint8_t x_100; +lean_dec(x_22); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_100 = !lean_is_exclusive(x_23); +if (x_100 == 0) { -return x_87; +return x_23; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_87, 0); -x_101 = lean_ctor_get(x_87, 1); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_23, 0); +x_102 = lean_ctor_get(x_23, 1); +lean_inc(x_102); lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_87); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; +lean_dec(x_23); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} } } } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_nat_sub(x_82, x_51); -lean_dec(x_51); -lean_dec(x_82); -x_104 = l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(x_81, x_103); -x_105 = l_Lean_Meta_isExprDefEqAux(x_50, x_104, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_105) == 0) +uint8_t x_104; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_104 = !lean_is_exclusive(x_11); +if (x_104 == 0) { -uint8_t x_106; -x_106 = !lean_is_exclusive(x_105); -if (x_106 == 0) -{ -lean_object* x_107; uint8_t x_108; uint8_t x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_105, 0); -x_108 = lean_unbox(x_107); -lean_dec(x_107); -x_109 = l_Bool_toLBool(x_108); -x_110 = lean_box(x_109); -lean_ctor_set(x_105, 0, x_110); -return x_105; +return x_11; } else { -lean_object* x_111; lean_object* x_112; uint8_t x_113; uint8_t x_114; lean_object* x_115; lean_object* x_116; -x_111 = lean_ctor_get(x_105, 0); -x_112 = lean_ctor_get(x_105, 1); -lean_inc(x_112); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_11, 0); +x_106 = lean_ctor_get(x_11, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_11); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +} +else +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_1); +x_108 = lean_ctor_get(x_9, 0); +lean_inc(x_108); +lean_dec(x_9); +x_109 = lean_ctor_get(x_8, 1); +lean_inc(x_109); +lean_dec(x_8); +x_110 = lean_ctor_get(x_108, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_108, 1); lean_inc(x_111); -lean_dec(x_105); -x_113 = lean_unbox(x_111); -lean_dec(x_111); -x_114 = l_Bool_toLBool(x_113); -x_115 = lean_box(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_112); -return x_116; -} -} -else +lean_dec(x_108); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_112 = l___private_Lean_Meta_Offset_0__Lean_Meta_isOffset(x_2, x_3, x_4, x_5, x_6, x_109); +if (lean_obj_tag(x_112) == 0) +{ +lean_object* x_113; +x_113 = lean_ctor_get(x_112, 0); +lean_inc(x_113); +if (lean_obj_tag(x_113) == 0) +{ +lean_object* x_114; lean_object* x_115; +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_115 = l_Lean_Meta_evalNat(x_2, x_3, x_4, x_5, x_6, x_114); +if (lean_obj_tag(x_115) == 0) +{ +lean_object* x_116; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +if (lean_obj_tag(x_116) == 0) { uint8_t x_117; -x_117 = !lean_is_exclusive(x_105); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_117 = !lean_is_exclusive(x_115); if (x_117 == 0) { -return x_105; +lean_object* x_118; uint8_t x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_115, 0); +lean_dec(x_118); +x_119 = 2; +x_120 = lean_box(x_119); +lean_ctor_set(x_115, 0, x_120); +return x_115; } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_118 = lean_ctor_get(x_105, 0); -x_119 = lean_ctor_get(x_105, 1); -lean_inc(x_119); -lean_inc(x_118); -lean_dec(x_105); -x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_118); -lean_ctor_set(x_120, 1, x_119); -return x_120; -} -} +lean_object* x_121; uint8_t x_122; lean_object* x_123; lean_object* x_124; +x_121 = lean_ctor_get(x_115, 1); +lean_inc(x_121); +lean_dec(x_115); +x_122 = 2; +x_123 = lean_box(x_122); +x_124 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_124, 0, x_123); +lean_ctor_set(x_124, 1, x_121); +return x_124; } } else { -lean_object* x_121; -lean_dec(x_82); -lean_dec(x_51); -x_121 = l_Lean_Meta_isExprDefEqAux(x_50, x_81, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_121) == 0) +uint8_t x_125; +x_125 = !lean_is_exclusive(x_115); +if (x_125 == 0) { -uint8_t x_122; -x_122 = !lean_is_exclusive(x_121); -if (x_122 == 0) -{ -lean_object* x_123; uint8_t x_124; uint8_t x_125; lean_object* x_126; -x_123 = lean_ctor_get(x_121, 0); -x_124 = lean_unbox(x_123); -lean_dec(x_123); -x_125 = l_Bool_toLBool(x_124); -x_126 = lean_box(x_125); -lean_ctor_set(x_121, 0, x_126); -return x_121; -} -else -{ -lean_object* x_127; lean_object* x_128; uint8_t x_129; uint8_t x_130; lean_object* x_131; lean_object* x_132; -x_127 = lean_ctor_get(x_121, 0); -x_128 = lean_ctor_get(x_121, 1); -lean_inc(x_128); -lean_inc(x_127); -lean_dec(x_121); -x_129 = lean_unbox(x_127); +lean_object* x_126; lean_object* x_127; lean_object* x_128; uint8_t x_129; +x_126 = lean_ctor_get(x_115, 1); +x_127 = lean_ctor_get(x_115, 0); lean_dec(x_127); -x_130 = l_Bool_toLBool(x_129); +x_128 = lean_ctor_get(x_116, 0); +lean_inc(x_128); +lean_dec(x_116); +x_129 = lean_nat_dec_le(x_111, x_128); +if (x_129 == 0) +{ +uint8_t x_130; lean_object* x_131; +lean_dec(x_128); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_130 = 0; x_131 = lean_box(x_130); -x_132 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_128); -return x_132; +lean_ctor_set(x_115, 0, x_131); +return x_115; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_free_object(x_115); +x_132 = lean_nat_sub(x_128, x_111); +lean_dec(x_111); +lean_dec(x_128); +x_133 = l_Lean_mkNatLit(x_132); +x_134 = l_Lean_Meta_isExprDefEqAux(x_110, x_133, x_3, x_4, x_5, x_6, x_126); +if (lean_obj_tag(x_134) == 0) +{ +uint8_t x_135; +x_135 = !lean_is_exclusive(x_134); +if (x_135 == 0) +{ +lean_object* x_136; uint8_t x_137; uint8_t x_138; lean_object* x_139; +x_136 = lean_ctor_get(x_134, 0); +x_137 = lean_unbox(x_136); +lean_dec(x_136); +x_138 = l_Bool_toLBool(x_137); +x_139 = lean_box(x_138); +lean_ctor_set(x_134, 0, x_139); +return x_134; +} +else +{ +lean_object* x_140; lean_object* x_141; uint8_t x_142; uint8_t x_143; lean_object* x_144; lean_object* x_145; +x_140 = lean_ctor_get(x_134, 0); +x_141 = lean_ctor_get(x_134, 1); +lean_inc(x_141); +lean_inc(x_140); +lean_dec(x_134); +x_142 = lean_unbox(x_140); +lean_dec(x_140); +x_143 = l_Bool_toLBool(x_142); +x_144 = lean_box(x_143); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_141); +return x_145; } } else { -uint8_t x_133; -x_133 = !lean_is_exclusive(x_121); -if (x_133 == 0) +uint8_t x_146; +x_146 = !lean_is_exclusive(x_134); +if (x_146 == 0) { -return x_121; +return x_134; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; -x_134 = lean_ctor_get(x_121, 0); -x_135 = lean_ctor_get(x_121, 1); -lean_inc(x_135); -lean_inc(x_134); -lean_dec(x_121); -x_136 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_136, 0, x_134); -lean_ctor_set(x_136, 1, x_135); -return x_136; +lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_147 = lean_ctor_get(x_134, 0); +x_148 = lean_ctor_get(x_134, 1); +lean_inc(x_148); +lean_inc(x_147); +lean_dec(x_134); +x_149 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_149, 0, x_147); +lean_ctor_set(x_149, 1, x_148); +return x_149; } } } } +else +{ +lean_object* x_150; lean_object* x_151; uint8_t x_152; +x_150 = lean_ctor_get(x_115, 1); +lean_inc(x_150); +lean_dec(x_115); +x_151 = lean_ctor_get(x_116, 0); +lean_inc(x_151); +lean_dec(x_116); +x_152 = lean_nat_dec_le(x_111, x_151); +if (x_152 == 0) +{ +uint8_t x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_151); +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_153 = 0; +x_154 = lean_box(x_153); +x_155 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_150); +return x_155; +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_156 = lean_nat_sub(x_151, x_111); +lean_dec(x_111); +lean_dec(x_151); +x_157 = l_Lean_mkNatLit(x_156); +x_158 = l_Lean_Meta_isExprDefEqAux(x_110, x_157, x_3, x_4, x_5, x_6, x_150); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; uint8_t x_162; uint8_t x_163; lean_object* x_164; lean_object* x_165; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_161 = x_158; +} else { + lean_dec_ref(x_158); + x_161 = lean_box(0); +} +x_162 = lean_unbox(x_159); +lean_dec(x_159); +x_163 = l_Bool_toLBool(x_162); +x_164 = lean_box(x_163); +if (lean_is_scalar(x_161)) { + x_165 = lean_alloc_ctor(0, 2, 0); +} else { + x_165 = x_161; +} +lean_ctor_set(x_165, 0, x_164); +lean_ctor_set(x_165, 1, x_160); +return x_165; +} +else +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_166 = lean_ctor_get(x_158, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_158, 1); +lean_inc(x_167); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_168 = x_158; +} else { + lean_dec_ref(x_158); + x_168 = lean_box(0); +} +if (lean_is_scalar(x_168)) { + x_169 = lean_alloc_ctor(1, 2, 0); +} else { + x_169 = x_168; +} +lean_ctor_set(x_169, 0, x_166); +lean_ctor_set(x_169, 1, x_167); +return x_169; +} +} +} +} +} +else +{ +uint8_t x_170; +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_170 = !lean_is_exclusive(x_115); +if (x_170 == 0) +{ +return x_115; +} +else +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_115, 0); +x_172 = lean_ctor_get(x_115, 1); +lean_inc(x_172); +lean_inc(x_171); +lean_dec(x_115); +x_173 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_173, 0, x_171); +lean_ctor_set(x_173, 1, x_172); +return x_173; +} +} +} +else +{ +lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +lean_dec(x_2); +x_174 = lean_ctor_get(x_113, 0); +lean_inc(x_174); +lean_dec(x_113); +x_175 = lean_ctor_get(x_112, 1); +lean_inc(x_175); +lean_dec(x_112); +x_176 = lean_ctor_get(x_174, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_174, 1); +lean_inc(x_177); +lean_dec(x_174); +x_178 = lean_nat_dec_eq(x_111, x_177); +if (x_178 == 0) +{ +uint8_t x_179; +x_179 = lean_nat_dec_lt(x_111, x_177); +if (x_179 == 0) +{ +lean_object* x_180; lean_object* x_181; +x_180 = lean_nat_sub(x_111, x_177); +lean_dec(x_177); +lean_dec(x_111); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_181 = l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(x_110, x_180, x_3, x_4, x_5, x_6, x_175); +if (lean_obj_tag(x_181) == 0) +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_181, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_181, 1); +lean_inc(x_183); +lean_dec(x_181); +x_184 = l_Lean_Meta_isExprDefEqAux(x_182, x_176, x_3, x_4, x_5, x_6, x_183); +if (lean_obj_tag(x_184) == 0) +{ +uint8_t x_185; +x_185 = !lean_is_exclusive(x_184); +if (x_185 == 0) +{ +lean_object* x_186; uint8_t x_187; uint8_t x_188; lean_object* x_189; +x_186 = lean_ctor_get(x_184, 0); +x_187 = lean_unbox(x_186); +lean_dec(x_186); +x_188 = l_Bool_toLBool(x_187); +x_189 = lean_box(x_188); +lean_ctor_set(x_184, 0, x_189); +return x_184; +} +else +{ +lean_object* x_190; lean_object* x_191; uint8_t x_192; uint8_t x_193; lean_object* x_194; lean_object* x_195; +x_190 = lean_ctor_get(x_184, 0); +x_191 = lean_ctor_get(x_184, 1); +lean_inc(x_191); +lean_inc(x_190); +lean_dec(x_184); +x_192 = lean_unbox(x_190); +lean_dec(x_190); +x_193 = l_Bool_toLBool(x_192); +x_194 = lean_box(x_193); +x_195 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_195, 0, x_194); +lean_ctor_set(x_195, 1, x_191); +return x_195; +} +} +else +{ +uint8_t x_196; +x_196 = !lean_is_exclusive(x_184); +if (x_196 == 0) +{ +return x_184; +} +else +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = lean_ctor_get(x_184, 0); +x_198 = lean_ctor_get(x_184, 1); +lean_inc(x_198); +lean_inc(x_197); +lean_dec(x_184); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +return x_199; +} +} +} +else +{ +uint8_t x_200; +lean_dec(x_176); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_200 = !lean_is_exclusive(x_181); +if (x_200 == 0) +{ +return x_181; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; +x_201 = lean_ctor_get(x_181, 0); +x_202 = lean_ctor_get(x_181, 1); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_181); +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_201); +lean_ctor_set(x_203, 1, x_202); +return x_203; +} +} +} +else +{ +lean_object* x_204; lean_object* x_205; +x_204 = lean_nat_sub(x_177, x_111); +lean_dec(x_111); +lean_dec(x_177); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_205 = l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset(x_176, x_204, x_3, x_4, x_5, x_6, x_175); +if (lean_obj_tag(x_205) == 0) +{ +lean_object* x_206; lean_object* x_207; lean_object* x_208; +x_206 = lean_ctor_get(x_205, 0); +lean_inc(x_206); +x_207 = lean_ctor_get(x_205, 1); +lean_inc(x_207); +lean_dec(x_205); +x_208 = l_Lean_Meta_isExprDefEqAux(x_110, x_206, x_3, x_4, x_5, x_6, x_207); +if (lean_obj_tag(x_208) == 0) +{ +uint8_t x_209; +x_209 = !lean_is_exclusive(x_208); +if (x_209 == 0) +{ +lean_object* x_210; uint8_t x_211; uint8_t x_212; lean_object* x_213; +x_210 = lean_ctor_get(x_208, 0); +x_211 = lean_unbox(x_210); +lean_dec(x_210); +x_212 = l_Bool_toLBool(x_211); +x_213 = lean_box(x_212); +lean_ctor_set(x_208, 0, x_213); +return x_208; +} +else +{ +lean_object* x_214; lean_object* x_215; uint8_t x_216; uint8_t x_217; lean_object* x_218; lean_object* x_219; +x_214 = lean_ctor_get(x_208, 0); +x_215 = lean_ctor_get(x_208, 1); +lean_inc(x_215); +lean_inc(x_214); +lean_dec(x_208); +x_216 = lean_unbox(x_214); +lean_dec(x_214); +x_217 = l_Bool_toLBool(x_216); +x_218 = lean_box(x_217); +x_219 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_219, 0, x_218); +lean_ctor_set(x_219, 1, x_215); +return x_219; +} +} +else +{ +uint8_t x_220; +x_220 = !lean_is_exclusive(x_208); +if (x_220 == 0) +{ +return x_208; +} +else +{ +lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_221 = lean_ctor_get(x_208, 0); +x_222 = lean_ctor_get(x_208, 1); +lean_inc(x_222); +lean_inc(x_221); +lean_dec(x_208); +x_223 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_223, 0, x_221); +lean_ctor_set(x_223, 1, x_222); +return x_223; +} +} +} +else +{ +uint8_t x_224; +lean_dec(x_110); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_224 = !lean_is_exclusive(x_205); +if (x_224 == 0) +{ +return x_205; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_225 = lean_ctor_get(x_205, 0); +x_226 = lean_ctor_get(x_205, 1); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(x_205); +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_225); +lean_ctor_set(x_227, 1, x_226); +return x_227; +} +} +} +} +else +{ +lean_object* x_228; +lean_dec(x_177); +lean_dec(x_111); +x_228 = l_Lean_Meta_isExprDefEqAux(x_110, x_176, x_3, x_4, x_5, x_6, x_175); +if (lean_obj_tag(x_228) == 0) +{ +uint8_t x_229; +x_229 = !lean_is_exclusive(x_228); +if (x_229 == 0) +{ +lean_object* x_230; uint8_t x_231; uint8_t x_232; lean_object* x_233; +x_230 = lean_ctor_get(x_228, 0); +x_231 = lean_unbox(x_230); +lean_dec(x_230); +x_232 = l_Bool_toLBool(x_231); +x_233 = lean_box(x_232); +lean_ctor_set(x_228, 0, x_233); +return x_228; +} +else +{ +lean_object* x_234; lean_object* x_235; uint8_t x_236; uint8_t x_237; lean_object* x_238; lean_object* x_239; +x_234 = lean_ctor_get(x_228, 0); +x_235 = lean_ctor_get(x_228, 1); +lean_inc(x_235); +lean_inc(x_234); +lean_dec(x_228); +x_236 = lean_unbox(x_234); +lean_dec(x_234); +x_237 = l_Bool_toLBool(x_236); +x_238 = lean_box(x_237); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_235); +return x_239; +} +} +else +{ +uint8_t x_240; +x_240 = !lean_is_exclusive(x_228); +if (x_240 == 0) +{ +return x_228; +} +else +{ +lean_object* x_241; lean_object* x_242; lean_object* x_243; +x_241 = lean_ctor_get(x_228, 0); +x_242 = lean_ctor_get(x_228, 1); +lean_inc(x_242); +lean_inc(x_241); +lean_dec(x_228); +x_243 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_243, 0, x_241); +lean_ctor_set(x_243, 1, x_242); +return x_243; +} +} +} +} +} +else +{ +uint8_t x_244; +lean_dec(x_111); +lean_dec(x_110); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_244 = !lean_is_exclusive(x_112); +if (x_244 == 0) +{ +return x_112; +} +else +{ +lean_object* x_245; lean_object* x_246; lean_object* x_247; +x_245 = lean_ctor_get(x_112, 0); +x_246 = lean_ctor_get(x_112, 1); +lean_inc(x_246); +lean_inc(x_245); +lean_dec(x_112); +x_247 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_247, 0, x_245); +lean_ctor_set(x_247, 1, x_246); +return x_247; +} +} +} +} +else +{ +uint8_t x_248; +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_248 = !lean_is_exclusive(x_8); +if (x_248 == 0) +{ +return x_8; +} +else +{ +lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_249 = lean_ctor_get(x_8, 0); +x_250 = lean_ctor_get(x_8, 1); +lean_inc(x_250); +lean_inc(x_249); +lean_dec(x_8); +x_251 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_251, 0, x_249); +lean_ctor_set(x_251, 1, x_250); +return x_251; +} } } } @@ -3267,24 +6141,24 @@ lean_dec_ref(res); res = initialize_Lean_Meta_InferType(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Meta_evalNat_match__2___rarg___closed__1 = _init_l_Lean_Meta_evalNat_match__2___rarg___closed__1(); -lean_mark_persistent(l_Lean_Meta_evalNat_match__2___rarg___closed__1); -l_Lean_Meta_evalNat___closed__1 = _init_l_Lean_Meta_evalNat___closed__1(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__1); -l_Lean_Meta_evalNat___closed__2 = _init_l_Lean_Meta_evalNat___closed__2(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__2); -l_Lean_Meta_evalNat___closed__3 = _init_l_Lean_Meta_evalNat___closed__3(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__3); -l_Lean_Meta_evalNat___closed__4 = _init_l_Lean_Meta_evalNat___closed__4(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__4); -l_Lean_Meta_evalNat___closed__5 = _init_l_Lean_Meta_evalNat___closed__5(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__5); -l_Lean_Meta_evalNat___closed__6 = _init_l_Lean_Meta_evalNat___closed__6(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__6); -l_Lean_Meta_evalNat___closed__7 = _init_l_Lean_Meta_evalNat___closed__7(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__7); -l_Lean_Meta_evalNat___closed__8 = _init_l_Lean_Meta_evalNat___closed__8(); -lean_mark_persistent(l_Lean_Meta_evalNat___closed__8); +l_Lean_Meta_evalNat_match__1___rarg___closed__1 = _init_l_Lean_Meta_evalNat_match__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Meta_evalNat_match__1___rarg___closed__1); +l_Lean_Meta_evalNat_visit___closed__1 = _init_l_Lean_Meta_evalNat_visit___closed__1(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__1); +l_Lean_Meta_evalNat_visit___closed__2 = _init_l_Lean_Meta_evalNat_visit___closed__2(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__2); +l_Lean_Meta_evalNat_visit___closed__3 = _init_l_Lean_Meta_evalNat_visit___closed__3(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__3); +l_Lean_Meta_evalNat_visit___closed__4 = _init_l_Lean_Meta_evalNat_visit___closed__4(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__4); +l_Lean_Meta_evalNat_visit___closed__5 = _init_l_Lean_Meta_evalNat_visit___closed__5(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__5); +l_Lean_Meta_evalNat_visit___closed__6 = _init_l_Lean_Meta_evalNat_visit___closed__6(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__6); +l_Lean_Meta_evalNat_visit___closed__7 = _init_l_Lean_Meta_evalNat_visit___closed__7(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__7); +l_Lean_Meta_evalNat_visit___closed__8 = _init_l_Lean_Meta_evalNat_visit___closed__8(); +lean_mark_persistent(l_Lean_Meta_evalNat_visit___closed__8); l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1 = _init_l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1(); lean_mark_persistent(l___private_Lean_Meta_Offset_0__Lean_Meta_mkOffset___closed__1); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Meta/ReduceEval.c b/stage0/stdlib/Lean/Meta/ReduceEval.c index bf5e128388..dcde0e88fd 100644 --- a/stage0/stdlib/Lean/Meta/ReduceEval.c +++ b/stage0/stdlib/Lean/Meta/ReduceEval.c @@ -22,11 +22,10 @@ lean_object* l_Lean_Meta_reduceEval___rarg(lean_object*, lean_object*, lean_obje lean_object* l_Lean_Meta_instReduceEvalNat_match__1(lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteOption___rarg___closed__3; uint8_t lean_name_eq(lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__1; lean_object* l_Lean_Expr_appArg_x21(lean_object*); lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Meta_instReduceEvalString_match__1___rarg(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Meta_evalNat(lean_object*); +lean_object* l_Lean_Meta_evalNat(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__4; lean_object* l_Lean_Meta_instReduceEvalName___closed__1; lean_object* l_Lean_Meta_instReduceEvalNat_match__1___rarg(lean_object*, lean_object*, lean_object*); @@ -35,23 +34,23 @@ uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Meta_instReduceEvalString_match__1(lean_object*); lean_object* l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__4; lean_object* l_Lean_Meta_instReduceEvalOption(lean_object*); lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__2; -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(lean_object*); +lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l___private_Init_Meta_0__Lean_quoteName___closed__2; +lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__1; +lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__2; lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__1; lean_object* l_Lean_Meta_instReduceEvalOption___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_instReduceEvalString(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_reduceEval___at___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); extern lean_object* l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName_match__1(lean_object*); lean_object* lean_name_mk_numeral(lean_object*, lean_object*); uint8_t l_Lean_Meta_TransparencyMode_lt(uint8_t, uint8_t); -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__2; lean_object* l_Lean_Expr_getAppFn(lean_object*); lean_object* l_Lean_Meta_reduceEval(lean_object*); lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -496,7 +495,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Meta_reduceEval___rarg), 7, 0); return x_2; } } -static lean_object* _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__1() { +static lean_object* _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__1() { _start: { lean_object* x_1; @@ -504,50 +503,42 @@ x_1 = lean_mk_string("reduceEval: failed to evaluate argument"); return x_1; } } -static lean_object* _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__2() { +static lean_object* _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__1; +x_1 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__1; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(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_ReduceEval_0__Lean_Meta_throwFailedToEval(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_7 = l_Lean_indentExpr(x_1); -x_8 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__2; -x_9 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_7); -x_10 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; -x_11 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_11, 0, x_9); -lean_ctor_set(x_11, 1, x_10); -x_12 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(x_11, lean_box(0), x_2, x_3, x_4, x_5, x_6); -return x_12; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = l_Lean_indentExpr(x_1); +x_9 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__2; +x_10 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = l_Array_foldlMUnsafe_fold___at_Lean_withNestedTraces___spec__5___closed__1; +x_12 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_throwError___at_Lean_Meta_initFn____x40_Lean_Meta_Basic___hyg_1017____spec__1(x_12, lean_box(0), x_3, x_4, x_5, x_6, x_7); +return x_13; } } -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(lean_object* x_1) { +lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___boxed), 6, 0); -return x_2; -} -} -lean_object* l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___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) { -_start: -{ -lean_object* x_7; -x_7 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_object* x_8; +x_8 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_7; +return x_8; } } lean_object* l_Lean_Meta_instReduceEvalNat_match__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -591,75 +582,68 @@ lean_inc(x_2); x_7 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_7) == 0) { -uint8_t x_8; -x_8 = !lean_is_exclusive(x_7); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_9 = lean_ctor_get(x_7, 0); -x_10 = lean_ctor_get(x_7, 1); +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); lean_inc(x_9); -x_11 = l_Lean_Meta_evalNat(x_9); +lean_dec(x_7); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_8); +x_10 = l_Lean_Meta_evalNat(x_8, x_2, x_3, x_4, x_5, x_9); +if (lean_obj_tag(x_10) == 0) +{ +lean_object* x_11; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; -lean_free_object(x_7); -x_12 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_9, x_2, x_3, x_4, x_5, x_10); +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_8, lean_box(0), x_2, x_3, x_4, x_5, x_12); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_12; +return x_13; } else { -lean_object* x_13; -lean_dec(x_9); +uint8_t x_14; +lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_10, 0); +lean_dec(x_15); +x_16 = lean_ctor_get(x_11, 0); +lean_inc(x_16); lean_dec(x_11); -lean_ctor_set(x_7, 0, x_13); -return x_7; -} +lean_ctor_set(x_10, 0, x_16); +return x_10; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_7, 0); -x_15 = lean_ctor_get(x_7, 1); -lean_inc(x_15); -lean_inc(x_14); -lean_dec(x_7); -lean_inc(x_14); -x_16 = l_Lean_Meta_evalNat(x_14); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; -x_17 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_14, x_2, x_3, x_4, x_5, x_15); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_17; -} -else -{ -lean_object* x_18; lean_object* x_19; -lean_dec(x_14); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_18 = lean_ctor_get(x_16, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_10, 1); +lean_inc(x_17); +lean_dec(x_10); +x_18 = lean_ctor_get(x_11, 0); lean_inc(x_18); -lean_dec(x_16); +lean_dec(x_11); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_15); +lean_ctor_set(x_19, 1, x_17); return x_19; } } @@ -667,27 +651,55 @@ return x_19; else { uint8_t x_20; +lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_20 = !lean_is_exclusive(x_7); +x_20 = !lean_is_exclusive(x_10); if (x_20 == 0) { +return x_10; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_10, 0); +x_22 = lean_ctor_get(x_10, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_10); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; +} +} +} +else +{ +uint8_t x_24; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = !lean_is_exclusive(x_7); +if (x_24 == 0) +{ return x_7; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_7, 0); -x_22 = lean_ctor_get(x_7, 1); -lean_inc(x_22); -lean_inc(x_21); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_7, 0); +x_26 = lean_ctor_get(x_7, 1); +lean_inc(x_26); +lean_inc(x_25); lean_dec(x_7); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -767,7 +779,7 @@ if (x_19 == 0) lean_object* x_20; lean_dec(x_15); lean_dec(x_1); -x_20 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_10, x_3, x_4, x_5, x_6, x_11); +x_20 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_10, lean_box(0), x_3, x_4, x_5, x_6, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -784,7 +796,7 @@ if (x_22 == 0) { lean_object* x_23; lean_dec(x_1); -x_23 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_10, x_3, x_4, x_5, x_6, x_11); +x_23 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_10, lean_box(0), x_3, x_4, x_5, x_6, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -867,7 +879,7 @@ if (x_39 == 0) lean_object* x_40; lean_dec(x_15); lean_dec(x_1); -x_40 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_10, x_3, x_4, x_5, x_6, x_11); +x_40 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_10, lean_box(0), x_3, x_4, x_5, x_6, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -884,7 +896,7 @@ if (x_42 == 0) { lean_object* x_43; lean_dec(x_1); -x_43 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_10, x_3, x_4, x_5, x_6, x_11); +x_43 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_10, lean_box(0), x_3, x_4, x_5, x_6, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -974,7 +986,7 @@ lean_object* x_58; lean_dec(x_12); lean_free_object(x_8); lean_dec(x_1); -x_58 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_10, x_3, x_4, x_5, x_6, x_11); +x_58 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_10, lean_box(0), x_3, x_4, x_5, x_6, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -1012,7 +1024,7 @@ if (x_68 == 0) lean_object* x_69; lean_dec(x_64); lean_dec(x_1); -x_69 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_59, x_3, x_4, x_5, x_6, x_60); +x_69 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_59, lean_box(0), x_3, x_4, x_5, x_6, x_60); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -1029,7 +1041,7 @@ if (x_71 == 0) { lean_object* x_72; lean_dec(x_1); -x_72 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_59, x_3, x_4, x_5, x_6, x_60); +x_72 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_59, lean_box(0), x_3, x_4, x_5, x_6, x_60); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -1110,7 +1122,7 @@ if (x_86 == 0) lean_object* x_87; lean_dec(x_64); lean_dec(x_1); -x_87 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_59, x_3, x_4, x_5, x_6, x_60); +x_87 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_59, lean_box(0), x_3, x_4, x_5, x_6, x_60); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -1127,7 +1139,7 @@ if (x_89 == 0) { lean_object* x_90; lean_dec(x_1); -x_90 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_59, x_3, x_4, x_5, x_6, x_60); +x_90 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_59, lean_box(0), x_3, x_4, x_5, x_6, x_60); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -1217,7 +1229,7 @@ else lean_object* x_104; lean_dec(x_61); lean_dec(x_1); -x_104 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_59, x_3, x_4, x_5, x_6, x_60); +x_104 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_59, lean_box(0), x_3, x_4, x_5, x_6, x_60); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -1338,7 +1350,7 @@ lean_dec(x_9); x_10 = lean_ctor_get(x_7, 1); lean_inc(x_10); lean_dec(x_7); -x_11 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_10); +x_11 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1388,7 +1400,7 @@ lean_dec(x_8); x_18 = lean_ctor_get(x_7, 1); lean_inc(x_18); lean_dec(x_7); -x_19 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_18); +x_19 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_18); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1485,111 +1497,113 @@ lean_inc(x_2); x_13 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_13) == 0) { -uint8_t x_14; -x_14 = !lean_is_exclusive(x_13); -if (x_14 == 0) -{ -lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_15 = lean_ctor_get(x_13, 0); -x_16 = lean_ctor_get(x_13, 1); +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_17 = l_Lean_Meta_evalNat(x_15); +lean_dec(x_13); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_14); +x_16 = l_Lean_Meta_evalNat(x_14, x_2, x_3, x_4, x_5, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; uint8_t x_19; -lean_free_object(x_13); -x_18 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_15, x_2, x_3, x_4, x_5, x_16); +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_14, lean_box(0), x_2, x_3, x_4, x_5, x_18); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -return x_18; +return x_19; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 0); +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_18); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_dec(x_19); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } else { -lean_object* x_23; -lean_dec(x_15); +uint8_t x_24; +lean_dec(x_14); lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_23 = lean_ctor_get(x_17, 0); -lean_inc(x_23); +x_24 = !lean_is_exclusive(x_16); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_16, 0); +lean_dec(x_25); +x_26 = lean_ctor_get(x_17, 0); +lean_inc(x_26); lean_dec(x_17); -lean_ctor_set(x_13, 0, x_23); -return x_13; -} +lean_ctor_set(x_16, 0, x_26); +return x_16; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_13, 0); -x_25 = lean_ctor_get(x_13, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_13); -lean_inc(x_24); -x_26 = l_Lean_Meta_evalNat(x_24); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_27 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_24, x_2, x_3, x_4, x_5, x_25); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_28 = lean_ctor_get(x_27, 0); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_16, 1); +lean_inc(x_27); +lean_dec(x_16); +x_28 = lean_ctor_get(x_17, 0); lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_30 = x_27; -} else { - lean_dec_ref(x_27); - x_30 = lean_box(0); +lean_dec(x_17); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_27); +return x_29; } -if (lean_is_scalar(x_30)) { - x_31 = lean_alloc_ctor(1, 2, 0); -} else { - x_31 = x_30; } -lean_ctor_set(x_31, 0, x_28); -lean_ctor_set(x_31, 1, x_29); -return x_31; } else { -lean_object* x_32; lean_object* x_33; -lean_dec(x_24); +uint8_t x_30; +lean_dec(x_14); lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_32 = lean_ctor_get(x_26, 0); +x_30 = !lean_is_exclusive(x_16); +if (x_30 == 0) +{ +return x_16; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_16, 0); +x_32 = lean_ctor_get(x_16, 1); lean_inc(x_32); -lean_dec(x_26); -x_33 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_25); +lean_inc(x_31); +lean_dec(x_16); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); return x_33; } } @@ -1632,111 +1646,113 @@ lean_inc(x_2); x_38 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_38) == 0) { -uint8_t x_39; -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) -{ -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_38, 0); -x_41 = lean_ctor_get(x_38, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); -x_42 = l_Lean_Meta_evalNat(x_40); +lean_dec(x_38); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_39); +x_41 = l_Lean_Meta_evalNat(x_39, x_2, x_3, x_4, x_5, x_40); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); if (lean_obj_tag(x_42) == 0) { -lean_object* x_43; uint8_t x_44; -lean_free_object(x_38); -x_43 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_40, x_2, x_3, x_4, x_5, x_41); +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_39, lean_box(0), x_2, x_3, x_4, x_5, x_43); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_44 = !lean_is_exclusive(x_43); -if (x_44 == 0) +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -return x_43; +return x_44; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_43, 0); -x_46 = lean_ctor_get(x_43, 1); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_44, 0); +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); lean_inc(x_46); -lean_inc(x_45); -lean_dec(x_43); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_dec(x_44); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } else { -lean_object* x_48; -lean_dec(x_40); +uint8_t x_49; +lean_dec(x_39); lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_48 = lean_ctor_get(x_42, 0); -lean_inc(x_48); +x_49 = !lean_is_exclusive(x_41); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +x_50 = lean_ctor_get(x_41, 0); +lean_dec(x_50); +x_51 = lean_ctor_get(x_42, 0); +lean_inc(x_51); lean_dec(x_42); -lean_ctor_set(x_38, 0, x_48); -return x_38; -} +lean_ctor_set(x_41, 0, x_51); +return x_41; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_38, 0); -x_50 = lean_ctor_get(x_38, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_38); -lean_inc(x_49); -x_51 = l_Lean_Meta_evalNat(x_49); -if (lean_obj_tag(x_51) == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_52 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_49, x_2, x_3, x_4, x_5, x_50); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_53 = lean_ctor_get(x_52, 0); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_41, 1); +lean_inc(x_52); +lean_dec(x_41); +x_53 = lean_ctor_get(x_42, 0); lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); -lean_inc(x_54); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_55 = x_52; -} else { - lean_dec_ref(x_52); - x_55 = lean_box(0); +lean_dec(x_42); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +return x_54; } -if (lean_is_scalar(x_55)) { - x_56 = lean_alloc_ctor(1, 2, 0); -} else { - x_56 = x_55; } -lean_ctor_set(x_56, 0, x_53); -lean_ctor_set(x_56, 1, x_54); -return x_56; } else { -lean_object* x_57; lean_object* x_58; -lean_dec(x_49); +uint8_t x_55; +lean_dec(x_39); lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_57 = lean_ctor_get(x_51, 0); +x_55 = !lean_is_exclusive(x_41); +if (x_55 == 0) +{ +return x_41; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_41, 0); +x_57 = lean_ctor_get(x_41, 1); lean_inc(x_57); -lean_dec(x_51); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_50); +lean_inc(x_56); +lean_dec(x_41); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); return x_58; } } @@ -1803,486 +1819,662 @@ lean_inc(x_2); x_74 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_74) == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_object* x_75; lean_object* x_76; lean_object* x_77; x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); x_76 = lean_ctor_get(x_74, 1); lean_inc(x_76); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_77 = x_74; -} else { - lean_dec_ref(x_74); - x_77 = lean_box(0); -} +lean_dec(x_74); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_75); -x_78 = l_Lean_Meta_evalNat(x_75); +x_77 = l_Lean_Meta_evalNat(x_75, x_2, x_3, x_4, x_5, x_76); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); if (lean_obj_tag(x_78) == 0) { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); lean_dec(x_77); -x_79 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_75, x_2, x_3, x_4, x_5, x_76); +x_80 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_75, lean_box(0), x_2, x_3, x_4, x_5, x_79); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); +x_81 = lean_ctor_get(x_80, 0); lean_inc(x_81); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_82 = x_79; +x_82 = lean_ctor_get(x_80, 1); +lean_inc(x_82); +if (lean_is_exclusive(x_80)) { + lean_ctor_release(x_80, 0); + lean_ctor_release(x_80, 1); + x_83 = x_80; } else { - lean_dec_ref(x_79); - x_82 = lean_box(0); + lean_dec_ref(x_80); + x_83 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_83)) { + x_84 = lean_alloc_ctor(1, 2, 0); } else { - x_83 = x_82; + x_84 = x_83; } -lean_ctor_set(x_83, 0, x_80); -lean_ctor_set(x_83, 1, x_81); -return x_83; +lean_ctor_set(x_84, 0, x_81); +lean_ctor_set(x_84, 1, x_82); +return x_84; } else { -lean_object* x_84; lean_object* x_85; +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_dec(x_75); lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_84 = lean_ctor_get(x_78, 0); -lean_inc(x_84); -lean_dec(x_78); -if (lean_is_scalar(x_77)) { - x_85 = lean_alloc_ctor(0, 2, 0); +x_85 = lean_ctor_get(x_77, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_86 = x_77; } else { - x_85 = x_77; + lean_dec_ref(x_77); + x_86 = lean_box(0); } -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_85, 1, x_76); -return x_85; +x_87 = lean_ctor_get(x_78, 0); +lean_inc(x_87); +lean_dec(x_78); +if (lean_is_scalar(x_86)) { + x_88 = lean_alloc_ctor(0, 2, 0); +} else { + x_88 = x_86; +} +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_88, 1, x_85); +return x_88; } } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_75); lean_dec(x_2); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_86 = lean_ctor_get(x_74, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_74, 1); -lean_inc(x_87); -if (lean_is_exclusive(x_74)) { - lean_ctor_release(x_74, 0); - lean_ctor_release(x_74, 1); - x_88 = x_74; +x_89 = lean_ctor_get(x_77, 0); +lean_inc(x_89); +x_90 = lean_ctor_get(x_77, 1); +lean_inc(x_90); +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_91 = x_77; } else { - lean_dec_ref(x_74); - x_88 = lean_box(0); + lean_dec_ref(x_77); + x_91 = lean_box(0); } -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_91)) { + x_92 = lean_alloc_ctor(1, 2, 0); } else { - x_89 = x_88; + x_92 = x_91; } -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_87); -return x_89; +lean_ctor_set(x_92, 0, x_89); +lean_ctor_set(x_92, 1, x_90); +return x_92; } } else { -lean_object* x_90; lean_object* x_91; -x_90 = lean_alloc_ctor(0, 0, 8); -lean_ctor_set_uint8(x_90, 0, x_63); -lean_ctor_set_uint8(x_90, 1, x_64); -lean_ctor_set_uint8(x_90, 2, x_65); -lean_ctor_set_uint8(x_90, 3, x_66); -lean_ctor_set_uint8(x_90, 4, x_67); -lean_ctor_set_uint8(x_90, 5, x_71); -lean_ctor_set_uint8(x_90, 6, x_69); -lean_ctor_set_uint8(x_90, 7, x_70); -lean_ctor_set(x_2, 0, x_90); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_93 = lean_ctor_get(x_74, 0); +lean_inc(x_93); +x_94 = lean_ctor_get(x_74, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_95 = x_74; +} else { + lean_dec_ref(x_74); + x_95 = lean_box(0); +} +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(1, 2, 0); +} else { + x_96 = x_95; +} +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_94); +return x_96; +} +} +else +{ +lean_object* x_97; lean_object* x_98; +x_97 = lean_alloc_ctor(0, 0, 8); +lean_ctor_set_uint8(x_97, 0, x_63); +lean_ctor_set_uint8(x_97, 1, x_64); +lean_ctor_set_uint8(x_97, 2, x_65); +lean_ctor_set_uint8(x_97, 3, x_66); +lean_ctor_set_uint8(x_97, 4, x_67); +lean_ctor_set_uint8(x_97, 5, x_71); +lean_ctor_set_uint8(x_97, 6, x_69); +lean_ctor_set_uint8(x_97, 7, x_70); +lean_ctor_set(x_2, 0, x_97); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_91 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_91) == 0) +x_98 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_98) == 0) { -lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_92 = lean_ctor_get(x_91, 0); -lean_inc(x_92); -x_93 = lean_ctor_get(x_91, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_94 = x_91; -} else { - lean_dec_ref(x_91); - x_94 = lean_box(0); -} -lean_inc(x_92); -x_95 = l_Lean_Meta_evalNat(x_92); -if (lean_obj_tag(x_95) == 0) +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_98, 0); +lean_inc(x_99); +x_100 = lean_ctor_get(x_98, 1); +lean_inc(x_100); +lean_dec(x_98); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_99); +x_101 = l_Lean_Meta_evalNat(x_99, x_2, x_3, x_4, x_5, x_100); +if (lean_obj_tag(x_101) == 0) { -lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_94); -x_96 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_92, x_2, x_3, x_4, x_5, x_93); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_97 = lean_ctor_get(x_96, 0); -lean_inc(x_97); -x_98 = lean_ctor_get(x_96, 1); -lean_inc(x_98); -if (lean_is_exclusive(x_96)) { - lean_ctor_release(x_96, 0); - lean_ctor_release(x_96, 1); - x_99 = x_96; -} else { - lean_dec_ref(x_96); - x_99 = lean_box(0); -} -if (lean_is_scalar(x_99)) { - x_100 = lean_alloc_ctor(1, 2, 0); -} else { - x_100 = x_99; -} -lean_ctor_set(x_100, 0, x_97); -lean_ctor_set(x_100, 1, x_98); -return x_100; -} -else +lean_object* x_102; +x_102 = lean_ctor_get(x_101, 0); +lean_inc(x_102); +if (lean_obj_tag(x_102) == 0) { -lean_object* x_101; lean_object* x_102; -lean_dec(x_92); -lean_dec(x_2); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_101 = lean_ctor_get(x_95, 0); -lean_inc(x_101); -lean_dec(x_95); -if (lean_is_scalar(x_94)) { - x_102 = lean_alloc_ctor(0, 2, 0); -} else { - x_102 = x_94; -} -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_93); -return x_102; -} -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -lean_dec(x_2); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_103 = lean_ctor_get(x_91, 0); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_103 = lean_ctor_get(x_101, 1); lean_inc(x_103); -x_104 = lean_ctor_get(x_91, 1); -lean_inc(x_104); -if (lean_is_exclusive(x_91)) { - lean_ctor_release(x_91, 0); - lean_ctor_release(x_91, 1); - x_105 = x_91; -} else { - lean_dec_ref(x_91); - x_105 = lean_box(0); -} -if (lean_is_scalar(x_105)) { - x_106 = lean_alloc_ctor(1, 2, 0); -} else { - x_106 = x_105; -} -lean_ctor_set(x_106, 0, x_103); -lean_ctor_set(x_106, 1, x_104); -return x_106; -} -} -} -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; uint8_t x_111; uint8_t x_112; uint8_t x_113; uint8_t x_114; uint8_t x_115; uint8_t x_116; uint8_t x_117; lean_object* x_118; uint8_t x_119; uint8_t x_120; -x_107 = lean_ctor_get(x_2, 0); -x_108 = lean_ctor_get(x_2, 1); -x_109 = lean_ctor_get(x_2, 2); -lean_inc(x_109); -lean_inc(x_108); -lean_inc(x_107); +lean_dec(x_101); +x_104 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_99, lean_box(0), x_2, x_3, x_4, x_5, x_103); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_110 = lean_ctor_get_uint8(x_107, 0); -x_111 = lean_ctor_get_uint8(x_107, 1); -x_112 = lean_ctor_get_uint8(x_107, 2); -x_113 = lean_ctor_get_uint8(x_107, 3); -x_114 = lean_ctor_get_uint8(x_107, 4); -x_115 = lean_ctor_get_uint8(x_107, 5); -x_116 = lean_ctor_get_uint8(x_107, 6); -x_117 = lean_ctor_get_uint8(x_107, 7); -if (lean_is_exclusive(x_107)) { - x_118 = x_107; +x_105 = lean_ctor_get(x_104, 0); +lean_inc(x_105); +x_106 = lean_ctor_get(x_104, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_104)) { + lean_ctor_release(x_104, 0); + lean_ctor_release(x_104, 1); + x_107 = x_104; } else { - lean_dec_ref(x_107); - x_118 = lean_box(0); + lean_dec_ref(x_104); + x_107 = lean_box(0); } -x_119 = 1; -x_120 = l_Lean_Meta_TransparencyMode_lt(x_115, x_119); -if (x_120 == 0) +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(1, 2, 0); +} else { + x_108 = x_107; +} +lean_ctor_set(x_108, 0, x_105); +lean_ctor_set(x_108, 1, x_106); +return x_108; +} +else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; -if (lean_is_scalar(x_118)) { - x_121 = lean_alloc_ctor(0, 0, 8); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_99); +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_109 = lean_ctor_get(x_101, 1); +lean_inc(x_109); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_110 = x_101; } else { - x_121 = x_118; + lean_dec_ref(x_101); + x_110 = lean_box(0); } -lean_ctor_set_uint8(x_121, 0, x_110); -lean_ctor_set_uint8(x_121, 1, x_111); -lean_ctor_set_uint8(x_121, 2, x_112); -lean_ctor_set_uint8(x_121, 3, x_113); -lean_ctor_set_uint8(x_121, 4, x_114); -lean_ctor_set_uint8(x_121, 5, x_115); -lean_ctor_set_uint8(x_121, 6, x_116); -lean_ctor_set_uint8(x_121, 7, x_117); -x_122 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_108); -lean_ctor_set(x_122, 2, x_109); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); +x_111 = lean_ctor_get(x_102, 0); +lean_inc(x_111); +lean_dec(x_102); +if (lean_is_scalar(x_110)) { + x_112 = lean_alloc_ctor(0, 2, 0); +} else { + x_112 = x_110; +} +lean_ctor_set(x_112, 0, x_111); +lean_ctor_set(x_112, 1, x_109); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_99); +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_113 = lean_ctor_get(x_101, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_101, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + x_115 = x_101; +} else { + lean_dec_ref(x_101); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(1, 2, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_113); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_2); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_117 = lean_ctor_get(x_98, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_98, 1); +lean_inc(x_118); +if (lean_is_exclusive(x_98)) { + lean_ctor_release(x_98, 0); + lean_ctor_release(x_98, 1); + x_119 = x_98; +} else { + lean_dec_ref(x_98); + x_119 = lean_box(0); +} +if (lean_is_scalar(x_119)) { + x_120 = lean_alloc_ctor(1, 2, 0); +} else { + x_120 = x_119; +} +lean_ctor_set(x_120, 0, x_117); +lean_ctor_set(x_120, 1, x_118); +return x_120; +} +} +} +} +else +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; uint8_t x_125; uint8_t x_126; uint8_t x_127; uint8_t x_128; uint8_t x_129; uint8_t x_130; uint8_t x_131; lean_object* x_132; uint8_t x_133; uint8_t x_134; +x_121 = lean_ctor_get(x_2, 0); +x_122 = lean_ctor_get(x_2, 1); +x_123 = lean_ctor_get(x_2, 2); +lean_inc(x_123); lean_inc(x_122); -x_123 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_122, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_123) == 0) +lean_inc(x_121); +lean_dec(x_2); +x_124 = lean_ctor_get_uint8(x_121, 0); +x_125 = lean_ctor_get_uint8(x_121, 1); +x_126 = lean_ctor_get_uint8(x_121, 2); +x_127 = lean_ctor_get_uint8(x_121, 3); +x_128 = lean_ctor_get_uint8(x_121, 4); +x_129 = lean_ctor_get_uint8(x_121, 5); +x_130 = lean_ctor_get_uint8(x_121, 6); +x_131 = lean_ctor_get_uint8(x_121, 7); +if (lean_is_exclusive(x_121)) { + x_132 = x_121; +} else { + lean_dec_ref(x_121); + x_132 = lean_box(0); +} +x_133 = 1; +x_134 = l_Lean_Meta_TransparencyMode_lt(x_129, x_133); +if (x_134 == 0) { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -x_125 = lean_ctor_get(x_123, 1); -lean_inc(x_125); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_126 = x_123; +lean_object* x_135; lean_object* x_136; lean_object* x_137; +if (lean_is_scalar(x_132)) { + x_135 = lean_alloc_ctor(0, 0, 8); } else { - lean_dec_ref(x_123); - x_126 = lean_box(0); + x_135 = x_132; } -lean_inc(x_124); -x_127 = l_Lean_Meta_evalNat(x_124); -if (lean_obj_tag(x_127) == 0) -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; -lean_dec(x_126); -x_128 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_124, x_122, x_3, x_4, x_5, x_125); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_122); -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); -lean_inc(x_130); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_131 = x_128; -} else { - lean_dec_ref(x_128); - x_131 = lean_box(0); -} -if (lean_is_scalar(x_131)) { - x_132 = lean_alloc_ctor(1, 2, 0); -} else { - x_132 = x_131; -} -lean_ctor_set(x_132, 0, x_129); -lean_ctor_set(x_132, 1, x_130); -return x_132; -} -else -{ -lean_object* x_133; lean_object* x_134; -lean_dec(x_124); -lean_dec(x_122); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_133 = lean_ctor_get(x_127, 0); -lean_inc(x_133); -lean_dec(x_127); -if (lean_is_scalar(x_126)) { - x_134 = lean_alloc_ctor(0, 2, 0); -} else { - x_134 = x_126; -} -lean_ctor_set(x_134, 0, x_133); -lean_ctor_set(x_134, 1, x_125); -return x_134; -} -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -lean_dec(x_122); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_135 = lean_ctor_get(x_123, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_123, 1); -lean_inc(x_136); -if (lean_is_exclusive(x_123)) { - lean_ctor_release(x_123, 0); - lean_ctor_release(x_123, 1); - x_137 = x_123; -} else { - lean_dec_ref(x_123); - x_137 = lean_box(0); -} -if (lean_is_scalar(x_137)) { - x_138 = lean_alloc_ctor(1, 2, 0); -} else { - x_138 = x_137; -} -lean_ctor_set(x_138, 0, x_135); -lean_ctor_set(x_138, 1, x_136); -return x_138; -} -} -else -{ -lean_object* x_139; lean_object* x_140; lean_object* x_141; -if (lean_is_scalar(x_118)) { - x_139 = lean_alloc_ctor(0, 0, 8); -} else { - x_139 = x_118; -} -lean_ctor_set_uint8(x_139, 0, x_110); -lean_ctor_set_uint8(x_139, 1, x_111); -lean_ctor_set_uint8(x_139, 2, x_112); -lean_ctor_set_uint8(x_139, 3, x_113); -lean_ctor_set_uint8(x_139, 4, x_114); -lean_ctor_set_uint8(x_139, 5, x_119); -lean_ctor_set_uint8(x_139, 6, x_116); -lean_ctor_set_uint8(x_139, 7, x_117); -x_140 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_108); -lean_ctor_set(x_140, 2, x_109); +lean_ctor_set_uint8(x_135, 0, x_124); +lean_ctor_set_uint8(x_135, 1, x_125); +lean_ctor_set_uint8(x_135, 2, x_126); +lean_ctor_set_uint8(x_135, 3, x_127); +lean_ctor_set_uint8(x_135, 4, x_128); +lean_ctor_set_uint8(x_135, 5, x_129); +lean_ctor_set_uint8(x_135, 6, x_130); +lean_ctor_set_uint8(x_135, 7, x_131); +x_136 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_136, 0, x_135); +lean_ctor_set(x_136, 1, x_122); +lean_ctor_set(x_136, 2, x_123); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -lean_inc(x_140); -x_141 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_140, x_3, x_4, x_5, x_6); +lean_inc(x_136); +x_137 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_136, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_137) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +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); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_136); +lean_inc(x_138); +x_140 = l_Lean_Meta_evalNat(x_138, x_136, x_3, x_4, x_5, x_139); +if (lean_obj_tag(x_140) == 0) +{ +lean_object* x_141; +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); if (lean_obj_tag(x_141) == 0) { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; -x_142 = lean_ctor_get(x_141, 0); +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; +x_142 = lean_ctor_get(x_140, 1); lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); -lean_inc(x_143); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_144 = x_141; -} else { - lean_dec_ref(x_141); - x_144 = lean_box(0); -} -lean_inc(x_142); -x_145 = l_Lean_Meta_evalNat(x_142); -if (lean_obj_tag(x_145) == 0) -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; -lean_dec(x_144); -x_146 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_142, x_140, x_3, x_4, x_5, x_143); +lean_dec(x_140); +x_143 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_138, lean_box(0), x_136, x_3, x_4, x_5, x_142); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_140); -x_147 = lean_ctor_get(x_146, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_146, 1); -lean_inc(x_148); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_149 = x_146; +lean_dec(x_136); +x_144 = lean_ctor_get(x_143, 0); +lean_inc(x_144); +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_146 = x_143; } else { - lean_dec_ref(x_146); + lean_dec_ref(x_143); + x_146 = lean_box(0); +} +if (lean_is_scalar(x_146)) { + x_147 = lean_alloc_ctor(1, 2, 0); +} else { + x_147 = x_146; +} +lean_ctor_set(x_147, 0, x_144); +lean_ctor_set(x_147, 1, x_145); +return x_147; +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_138); +lean_dec(x_136); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_148 = lean_ctor_get(x_140, 1); +lean_inc(x_148); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_149 = x_140; +} else { + lean_dec_ref(x_140); x_149 = lean_box(0); } +x_150 = lean_ctor_get(x_141, 0); +lean_inc(x_150); +lean_dec(x_141); if (lean_is_scalar(x_149)) { - x_150 = lean_alloc_ctor(1, 2, 0); + x_151 = lean_alloc_ctor(0, 2, 0); } else { - x_150 = x_149; + x_151 = x_149; } -lean_ctor_set(x_150, 0, x_147); -lean_ctor_set(x_150, 1, x_148); -return x_150; -} -else -{ -lean_object* x_151; lean_object* x_152; -lean_dec(x_142); -lean_dec(x_140); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_151 = lean_ctor_get(x_145, 0); -lean_inc(x_151); -lean_dec(x_145); -if (lean_is_scalar(x_144)) { - x_152 = lean_alloc_ctor(0, 2, 0); -} else { - x_152 = x_144; -} -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_143); -return x_152; +lean_ctor_set(x_151, 0, x_150); +lean_ctor_set(x_151, 1, x_148); +return x_151; } } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -lean_dec(x_140); +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_138); +lean_dec(x_136); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_153 = lean_ctor_get(x_141, 0); +x_152 = lean_ctor_get(x_140, 0); +lean_inc(x_152); +x_153 = lean_ctor_get(x_140, 1); lean_inc(x_153); -x_154 = lean_ctor_get(x_141, 1); -lean_inc(x_154); -if (lean_is_exclusive(x_141)) { - lean_ctor_release(x_141, 0); - lean_ctor_release(x_141, 1); - x_155 = x_141; +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + lean_ctor_release(x_140, 1); + x_154 = x_140; } else { - lean_dec_ref(x_141); - x_155 = lean_box(0); + lean_dec_ref(x_140); + x_154 = lean_box(0); } -if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(1, 2, 0); } else { - x_156 = x_155; + x_155 = x_154; } -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_154); -return x_156; +lean_ctor_set(x_155, 0, x_152); +lean_ctor_set(x_155, 1, x_153); +return x_155; +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_136); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_156 = lean_ctor_get(x_137, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_137, 1); +lean_inc(x_157); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_158 = x_137; +} else { + lean_dec_ref(x_137); + x_158 = lean_box(0); +} +if (lean_is_scalar(x_158)) { + x_159 = lean_alloc_ctor(1, 2, 0); +} else { + x_159 = x_158; +} +lean_ctor_set(x_159, 0, x_156); +lean_ctor_set(x_159, 1, x_157); +return x_159; +} +} +else +{ +lean_object* x_160; lean_object* x_161; lean_object* x_162; +if (lean_is_scalar(x_132)) { + x_160 = lean_alloc_ctor(0, 0, 8); +} else { + x_160 = x_132; +} +lean_ctor_set_uint8(x_160, 0, x_124); +lean_ctor_set_uint8(x_160, 1, x_125); +lean_ctor_set_uint8(x_160, 2, x_126); +lean_ctor_set_uint8(x_160, 3, x_127); +lean_ctor_set_uint8(x_160, 4, x_128); +lean_ctor_set_uint8(x_160, 5, x_133); +lean_ctor_set_uint8(x_160, 6, x_130); +lean_ctor_set_uint8(x_160, 7, x_131); +x_161 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_122); +lean_ctor_set(x_161, 2, x_123); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_161); +x_162 = l_Lean_Meta_whnf___at___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___spec__1(x_1, x_161, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_162) == 0) +{ +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_162, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_162, 1); +lean_inc(x_164); +lean_dec(x_162); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_161); +lean_inc(x_163); +x_165 = l_Lean_Meta_evalNat(x_163, x_161, x_3, x_4, x_5, x_164); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +if (lean_obj_tag(x_166) == 0) +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_163, lean_box(0), x_161, x_3, x_4, x_5, x_167); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_161); +x_169 = lean_ctor_get(x_168, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +if (lean_is_exclusive(x_168)) { + lean_ctor_release(x_168, 0); + lean_ctor_release(x_168, 1); + x_171 = x_168; +} else { + lean_dec_ref(x_168); + x_171 = lean_box(0); +} +if (lean_is_scalar(x_171)) { + x_172 = lean_alloc_ctor(1, 2, 0); +} else { + x_172 = x_171; +} +lean_ctor_set(x_172, 0, x_169); +lean_ctor_set(x_172, 1, x_170); +return x_172; +} +else +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_173 = lean_ctor_get(x_165, 1); +lean_inc(x_173); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_174 = x_165; +} else { + lean_dec_ref(x_165); + x_174 = lean_box(0); +} +x_175 = lean_ctor_get(x_166, 0); +lean_inc(x_175); +lean_dec(x_166); +if (lean_is_scalar(x_174)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_174; +} +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_173); +return x_176; +} +} +else +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_163); +lean_dec(x_161); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_177 = lean_ctor_get(x_165, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_165, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_179 = x_165; +} else { + lean_dec_ref(x_165); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(1, 2, 0); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_161); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_181 = lean_ctor_get(x_162, 0); +lean_inc(x_181); +x_182 = lean_ctor_get(x_162, 1); +lean_inc(x_182); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + x_183 = x_162; +} else { + lean_dec_ref(x_162); + x_183 = lean_box(0); +} +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); +} else { + x_184 = x_183; +} +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +return x_184; } } } @@ -2331,7 +2523,7 @@ lean_dec(x_25); x_26 = lean_ctor_get(x_23, 1); lean_inc(x_26); lean_dec(x_23); -x_27 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_26); +x_27 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_26); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2384,7 +2576,7 @@ lean_dec(x_24); x_34 = lean_ctor_get(x_23, 1); lean_inc(x_34); lean_dec(x_23); -x_35 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_34); +x_35 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_34); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2451,7 +2643,7 @@ lean_dec(x_42); x_43 = lean_ctor_get(x_40, 1); lean_inc(x_43); lean_dec(x_40); -x_44 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_43); +x_44 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_43); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2504,7 +2696,7 @@ lean_dec(x_41); x_51 = lean_ctor_get(x_40, 1); lean_inc(x_51); lean_dec(x_40); -x_52 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_51); +x_52 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_51); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2595,7 +2787,7 @@ lean_dec(x_70); x_71 = lean_ctor_get(x_68, 1); lean_inc(x_71); lean_dec(x_68); -x_72 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_71); +x_72 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_71); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2642,7 +2834,7 @@ lean_dec(x_69); x_77 = lean_ctor_get(x_68, 1); lean_inc(x_77); lean_dec(x_68); -x_78 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_77); +x_78 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_77); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2719,7 +2911,7 @@ lean_dec(x_86); x_87 = lean_ctor_get(x_84, 1); lean_inc(x_87); lean_dec(x_84); -x_88 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_87); +x_88 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_87); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2766,7 +2958,7 @@ lean_dec(x_85); x_93 = lean_ctor_get(x_84, 1); lean_inc(x_93); lean_dec(x_84); -x_94 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_2, x_3, x_4, x_5, x_93); +x_94 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_2, x_3, x_4, x_5, x_93); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2878,7 +3070,7 @@ lean_dec(x_117); x_118 = lean_ctor_get(x_115, 1); lean_inc(x_118); lean_dec(x_115); -x_119 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_114, x_3, x_4, x_5, x_118); +x_119 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_114, x_3, x_4, x_5, x_118); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2925,7 +3117,7 @@ lean_dec(x_116); x_124 = lean_ctor_get(x_115, 1); lean_inc(x_124); lean_dec(x_115); -x_125 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_114, x_3, x_4, x_5, x_124); +x_125 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_114, x_3, x_4, x_5, x_124); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3009,7 +3201,7 @@ lean_dec(x_134); x_135 = lean_ctor_get(x_132, 1); lean_inc(x_135); lean_dec(x_132); -x_136 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_131, x_3, x_4, x_5, x_135); +x_136 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_131, x_3, x_4, x_5, x_135); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3056,7 +3248,7 @@ lean_dec(x_133); x_141 = lean_ctor_get(x_132, 1); lean_inc(x_141); lean_dec(x_132); -x_142 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_1, x_131, x_3, x_4, x_5, x_141); +x_142 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_1, lean_box(0), x_131, x_3, x_4, x_5, x_141); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3264,7 +3456,7 @@ if (x_21 == 0) { lean_object* x_22; lean_dec(x_14); -x_22 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_9, x_2, x_3, x_4, x_5, x_10); +x_22 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_9, lean_box(0), x_2, x_3, x_4, x_5, x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3277,7 +3469,7 @@ if (x_19 == 0) { lean_object* x_23; lean_dec(x_14); -x_23 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_9, x_2, x_3, x_4, x_5, x_10); +x_23 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_9, lean_box(0), x_2, x_3, x_4, x_5, x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3401,7 +3593,7 @@ if (x_19 == 0) { lean_object* x_50; lean_dec(x_14); -x_50 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_9, x_2, x_3, x_4, x_5, x_10); +x_50 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_9, lean_box(0), x_2, x_3, x_4, x_5, x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3524,7 +3716,7 @@ else lean_object* x_84; lean_dec(x_11); lean_free_object(x_7); -x_84 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_9, x_2, x_3, x_4, x_5, x_10); +x_84 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_9, lean_box(0), x_2, x_3, x_4, x_5, x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3604,7 +3796,7 @@ if (x_97 == 0) { lean_object* x_98; lean_dec(x_90); -x_98 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_85, x_2, x_3, x_4, x_5, x_86); +x_98 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_85, lean_box(0), x_2, x_3, x_4, x_5, x_86); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3617,7 +3809,7 @@ if (x_95 == 0) { lean_object* x_99; lean_dec(x_90); -x_99 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_85, x_2, x_3, x_4, x_5, x_86); +x_99 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_85, lean_box(0), x_2, x_3, x_4, x_5, x_86); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3743,7 +3935,7 @@ if (x_95 == 0) { lean_object* x_124; lean_dec(x_90); -x_124 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_85, x_2, x_3, x_4, x_5, x_86); +x_124 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_85, lean_box(0), x_2, x_3, x_4, x_5, x_86); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3867,7 +4059,7 @@ else { lean_object* x_157; lean_dec(x_87); -x_157 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg(x_85, x_2, x_3, x_4, x_5, x_86); +x_157 = l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval(x_85, lean_box(0), x_2, x_3, x_4, x_5, x_86); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3933,10 +4125,10 @@ lean_dec_ref(res); res = initialize_Lean_Meta_Offset(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__1 = _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__1); -l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__2 = _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___rarg___closed__2); +l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__1 = _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__1(); +lean_mark_persistent(l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__1); +l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__2 = _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__2(); +lean_mark_persistent(l___private_Lean_Meta_ReduceEval_0__Lean_Meta_throwFailedToEval___closed__2); l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__1 = _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__1(); lean_mark_persistent(l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__1); l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__2 = _init_l___private_Lean_Meta_ReduceEval_0__Lean_Meta_evalName___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Util.c b/stage0/stdlib/Lean/Meta/Tactic/Util.c index 8d9fb7d9a3..c4a700469d 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Util.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Util.c @@ -28,7 +28,6 @@ lean_object* l_Lean_Meta_checkNotAssigned___closed__1; lean_object* l_Lean_Meta_getMVarTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_checkNotAssigned___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; lean_object* l_Lean_MetavarContext_setMVarUserName(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_throwTacticEx___rarg___closed__3; 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*); @@ -74,6 +73,7 @@ lean_object* l_Lean_Meta_withMVarContext___at_Lean_Meta_admit___spec__2(lean_obj extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__4; lean_object* l_Lean_Meta_mkSorry___at_Lean_Meta_admit___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Meta_mkSorry___rarg___lambda__1___closed__2; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_intro___closed__1; lean_object* l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -986,7 +986,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10837____closed__2; +x_2 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11060____closed__2; x_3 = lean_name_mk_string(x_1, x_2); return x_3; } diff --git a/stage0/stdlib/Lean/Parser/Command.c b/stage0/stdlib/Lean/Parser/Command.c index 63f3ffdb4f..8faefa810a 100644 --- a/stage0/stdlib/Lean/Parser/Command.c +++ b/stage0/stdlib/Lean/Parser/Command.c @@ -60,6 +60,7 @@ lean_object* l_Lean_Parser_Command_printAxioms___elambda__1___closed__7; lean_object* l_Lean_Parser_Command_structCtor___closed__8; lean_object* l_Lean_Parser_Command_structExplicitBinder_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_quot_parenthesizer___closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__13; lean_object* l_Lean_Parser_Command_structExplicitBinder___elambda__1___closed__5; lean_object* l_Lean_Parser_Command_theorem___closed__9; lean_object* l_Lean_Parser_Command_structure_formatter___closed__9; @@ -1942,7 +1943,6 @@ lean_object* l_Lean_Parser_Command_structure___closed__4; lean_object* l_Lean_Parser_Command_printAxioms___closed__2; lean_object* l_Lean_Parser_Command_declModifiers___elambda__1___closed__1; extern lean_object* l_Lean_Parser_Term_forall_formatter___closed__3; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; lean_object* l_Lean_Parser_Command_namespace_parenthesizer___closed__3; lean_object* l_Lean_Parser_Command_declModifiers_parenthesizer___closed__21; extern lean_object* l_Lean_Parser_Term_explicitUniv___closed__1; @@ -8030,7 +8030,7 @@ static lean_object* _init_l_Lean_Parser_Command_inductive___elambda__1___closed_ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; x_2 = l_String_trim(x_1); return x_2; } @@ -13390,7 +13390,7 @@ static lean_object* _init_l_Lean_Parser_Command_inductive_formatter___closed__3( _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__5; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__13; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; diff --git a/stage0/stdlib/Lean/Parser/Do.c b/stage0/stdlib/Lean/Parser/Do.c index f46790a6e1..b9a491c90b 100644 --- a/stage0/stdlib/Lean/Parser/Do.c +++ b/stage0/stdlib/Lean/Parser/Do.c @@ -100,6 +100,7 @@ extern lean_object* l_Lean_Parser_leadPrec; lean_object* l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_doExpr___closed__2; +lean_object* l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_termFor_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doTry___closed__4; lean_object* l_Lean_Parser_Term_doLetArrow___closed__1; @@ -120,6 +121,7 @@ lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doExpr___closed__4; lean_object* l_Lean_Parser_Term_doTry___closed__9; lean_object* l_Lean_Parser_Term_doContinue___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doMatchAlt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReturn_formatter___closed__5; lean_object* l_Lean_Parser_Term_doNested___closed__2; @@ -216,6 +218,7 @@ lean_object* l_Lean_Parser_Term_doFor___closed__9; lean_object* l_Lean_Parser_Term_doAssert_formatter___closed__2; lean_object* l_Lean_Parser_Term_doTry_formatter___closed__9; lean_object* l_Lean_Parser_Term_termUnless___closed__3; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l_Lean_Parser_Term_doIf___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_doBreak___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReassign___elambda__1___closed__7; @@ -290,6 +293,8 @@ lean_object* l_Lean_Parser_Term_doDbgTrace___elambda__1(lean_object*, lean_objec lean_object* l_Lean_Parser_Term_doFor___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_doReassignArrow_formatter(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doReassignArrow___elambda__1___lambda__1(lean_object*, lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_object* l_Lean_Parser_Term_doTry___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_doFor_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doElem_quot___closed__5; @@ -487,6 +492,8 @@ lean_object* l_Lean_Parser_Term_doReassign_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doMatchAlts_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_doIf___closed__8; extern lean_object* l_Lean_Parser_antiquotNestedExpr___elambda__1___closed__4; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2; +lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_do___closed__1; lean_object* l_Lean_Parser_Term_doIf___closed__17; lean_object* l_Lean_Parser_Term_doReturn___elambda__1___closed__11; @@ -512,6 +519,7 @@ lean_object* l_Lean_Parser_Term_elseIf_formatter___closed__3; lean_object* l_Lean_Parser_Term_do___closed__2; lean_object* l_Lean_Parser_Term_doUnless___elambda__1___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2458____closed__30; lean_object* l_Lean_Parser_Term_doFinally___closed__2; extern lean_object* l_Lean_Parser_Term_explicitBinder_formatter___closed__2; lean_object* l_Lean_Parser_Term_doLetRec___elambda__1___closed__5; @@ -621,6 +629,7 @@ lean_object* l_Lean_Parser_Term_termTry; lean_object* l_Lean_Parser_Term_doMatch_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_termFor; lean_object* l_Lean_Parser_Term_doAssert_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__3; extern lean_object* l_Lean_Parser_Term_structInst_formatter___closed__13; lean_object* l_Lean_Parser_Term_doLet___closed__3; @@ -629,6 +638,7 @@ lean_object* l_Lean_Parser_Term_termTry___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doIdDecl___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_doLetRec_parenthesizer___closed__1; lean_object* l_Lean_Parser_optionaInfo(lean_object*); +extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__30; lean_object* l_Lean_Parser_Term_doSeq; extern lean_object* l_Lean_Parser_Term_let_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Parenthesizer_sepBy1_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -732,7 +742,6 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_doElem_quot(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doExpr_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_doTry_formatter___closed__6; lean_object* l_Lean_Parser_Term_doFinally___elambda__1___closed__3; -extern lean_object* l_Lean_Parser_Tactic_let___closed__1; lean_object* l_Lean_Parser_Term_doElem_quot___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_doReturn_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_doIf___closed__14; @@ -772,7 +781,6 @@ extern lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_doMatchAlt___closed__3; extern lean_object* l_Lean_Parser_Term_dbgTrace___elambda__1___closed__7; extern lean_object* l___kind_term____x40_Init_Notation___hyg_5672____closed__2; -lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_doContinue___closed__6; extern lean_object* l_Lean_Parser_Term_matchAlts___closed__4; extern lean_object* l_Lean_PrettyPrinter_formatterAttribute; @@ -851,6 +859,7 @@ lean_object* l_Lean_Parser_Term_doAssert___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doSeqItem___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_doMatchAlts___closed__2; lean_object* l_Lean_Parser_Term_doContinue___closed__5; +lean_object* l_Lean_Parser_Term_doReassignArrow_formatter___closed__4; lean_object* l_Lean_Parser_Term_doLetArrow_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_elseIf_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doSeqIndent___closed__3; @@ -997,6 +1006,7 @@ extern lean_object* l_Lean_Parser_myMacro____x40_Lean_Parser_Extra___hyg_195____ lean_object* l_Lean_Parser_Term_leftArrow; lean_object* l_Lean_Parser_Term_doTry_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_doAssert___closed__5; +lean_object* l_Lean_Parser_Term_doPatDecl___closed__12; extern lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doReassignArrow___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doReassign_parenthesizer(lean_object*); @@ -1026,6 +1036,7 @@ lean_object* l_Lean_Parser_Term_doLetArrow_formatter(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_doReassign___closed__6; lean_object* l_Lean_Parser_Term_doLetArrow___closed__7; lean_object* l_Lean_Parser_Term_termFor_parenthesizer___closed__2; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1882____closed__21; lean_object* l_Lean_Parser_Term_doBreak; lean_object* l_Lean_Parser_Term_termTry___elambda__1(lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_doNested_parenthesizer___closed__1; @@ -1103,7 +1114,6 @@ lean_object* l_Lean_Parser_Term_doContinue_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doFor___closed__3; lean_object* l_Lean_Parser_Term_doBreak_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doIf_formatter___closed__4; -lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___closed__9; lean_object* l_Lean_Parser_sepBy1Fn(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_orelseFnCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2458____closed__32; @@ -1118,7 +1128,6 @@ lean_object* l_Lean_Parser_Term_elseIf___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_termTry_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_doTry_parenthesizer___closed__1; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withForbidden_parenthesizer___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Term_let_formatter___closed__3; @@ -1134,6 +1143,7 @@ lean_object* l_Lean_Parser_Term_doLet___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__11; lean_object* l_Lean_Parser_Term_doUnless___closed__10; lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__9; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__26; lean_object* l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doMatch___closed__6; @@ -1209,6 +1219,7 @@ lean_object* l_Lean_Parser_Term_doTry___elambda__1___closed__6; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__32; lean_object* l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_doElem_quot___closed__6; +lean_object* l_Lean_Parser_Term_doPatDecl___elambda__1___closed__16; lean_object* l_Lean_Parser_Term_doContinue___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doTry; extern lean_object* l_Lean_Parser_Term_matchAlt___closed__2; @@ -1310,6 +1321,7 @@ lean_object* l_Lean_Parser_Term_doFor___elambda__1___closed__6; lean_object* l___regBuiltin_Lean_Parser_Term_termFor_parenthesizer___closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_doPatDecl_formatter___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_doNested_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_doLet_formatter___closed__6; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken_parenthesizer___rarg(lean_object*); @@ -1445,6 +1457,7 @@ lean_object* l_Lean_Parser_Term_doReassign_formatter(lean_object*, lean_object*, lean_object* l_Lean_Parser_Term_doNested___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_doMatchAlts___closed__6; lean_object* l_Lean_Parser_Term_doIf___closed__19; +lean_object* l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_doReassign_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_doReassign___closed__7; lean_object* l_Lean_Parser_Term_elseIf_formatter___closed__1; @@ -1481,7 +1494,6 @@ lean_object* l_Lean_Parser_Term_doMatchAlt; lean_object* l_Lean_Parser_Term_doExpr; lean_object* l_Lean_Parser_Term_doUnless_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_notFollowedByRedefinedTermToken___elambda__1___closed__9; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_withoutPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_doDbgTrace___elambda__1___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_doBreak_formatter(lean_object*); @@ -1558,6 +1570,7 @@ lean_object* l_Lean_Parser_Term_doLet___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_doLet_formatter___closed__2; lean_object* l___regBuiltin_Lean_Parser_Term_doDbgTrace_parenthesizer(lean_object*); extern lean_object* l_Lean_Parser_Term_ident; +lean_object* l_Lean_Parser_Term_doLetArrow_formatter___closed__8; lean_object* l_Lean_Parser_Term_doIf_formatter___closed__5; lean_object* l_Lean_Parser_Term_doMatchAlts___closed__3; lean_object* l_Lean_Parser_Term_liftMethod_formatter___closed__1; @@ -3298,7 +3311,7 @@ static lean_object* _init_l_Lean_Parser_Term_notFollowedByRedefinedTermToken___e _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_let___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; x_2 = l_String_trim(x_1); return x_2; } @@ -4755,30 +4768,30 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__10; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__12() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; -x_2 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__11; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1882____closed__21; +x_2 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__10; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__11; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__6; +x_1 = l_Lean_Parser_Term_doSeqItem___elambda__1___closed__6; x_2 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -4790,9 +4803,9 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__14 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__6; x_2 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__13; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -4802,8 +4815,20 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__15 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__14; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__15; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -4817,7 +4842,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__15; +x_5 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__16; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -4861,41 +4886,41 @@ return x_4; static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_instInhabitedParser___closed__1; +x_2 = l_Lean_Parser_Term_doPatDecl___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__5() { +_start: +{ lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doPatDecl___closed__3; +x_1 = l_Lean_Parser_Term_doPatDecl___closed__4; x_2 = l_Lean_Parser_optionaInfo(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__5() { +static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doSeqItem___closed__1; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doPatDecl___closed__4; +x_3 = l_Lean_Parser_Term_doPatDecl___closed__5; x_4 = l_Lean_Parser_andthenInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doPatDecl___closed__1; -x_2 = l_Lean_Parser_Term_doPatDecl___closed__5; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; -} -} static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_doPatDecl___closed__1; x_2 = l_Lean_Parser_Term_doPatDecl___closed__6; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } @@ -4903,25 +4928,35 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; +x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_doPatDecl___closed__7; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__9() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_doPatDecl___closed__8; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__10() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_doPatDecl___closed__8; +x_3 = l_Lean_Parser_Term_doPatDecl___closed__9; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__10() { +static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__11() { _start: { lean_object* x_1; @@ -4929,12 +4964,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doPatDecl___elambda__1), 2, return x_1; } } -static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__11() { +static lean_object* _init_l_Lean_Parser_Term_doPatDecl___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doPatDecl___closed__9; -x_2 = l_Lean_Parser_Term_doPatDecl___closed__10; +x_1 = l_Lean_Parser_Term_doPatDecl___closed__10; +x_2 = l_Lean_Parser_Term_doPatDecl___closed__11; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -4945,10 +4980,219 @@ static lean_object* _init_l_Lean_Parser_Term_doPatDecl() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_1 = l_Lean_Parser_Term_doPatDecl___closed__12; return x_1; } } +lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 4); +lean_dec(x_7); +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +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; +x_9 = lean_ctor_get(x_4, 1); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_3, 4, x_10); +x_11 = l_instReprChar___closed__1; +x_12 = lean_string_append(x_11, x_1); +x_13 = lean_string_append(x_12, x_11); +lean_inc(x_3); +x_14 = l_Lean_Parser_symbolFnAux(x_1, x_13, x_3, x_4); +x_15 = lean_ctor_get(x_14, 3); +lean_inc(x_15); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_inc(x_3); +x_16 = l_Lean_Parser_optionalFn(x_2, x_3, x_14); +x_17 = lean_ctor_get(x_16, 3); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +x_18 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_19 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_20 = 1; +x_21 = l_Lean_Parser_orelseFnCore(x_18, x_19, x_20, x_3, x_16); +return x_21; +} +else +{ +lean_dec(x_17); +lean_dec(x_3); +return x_16; +} +} +else +{ +lean_dec(x_15); +lean_dec(x_3); +lean_dec(x_2); +return x_14; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_22 = lean_ctor_get(x_6, 0); +x_23 = lean_ctor_get(x_6, 1); +x_24 = lean_ctor_get(x_6, 2); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_6); +x_25 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_25, 0, x_22); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_25, 2, x_24); +x_26 = lean_ctor_get(x_4, 1); +lean_inc(x_26); +x_27 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_3, 4, x_27); +lean_ctor_set(x_3, 0, x_25); +x_28 = l_instReprChar___closed__1; +x_29 = lean_string_append(x_28, x_1); +x_30 = lean_string_append(x_29, x_28); +lean_inc(x_3); +x_31 = l_Lean_Parser_symbolFnAux(x_1, x_30, x_3, x_4); +x_32 = lean_ctor_get(x_31, 3); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_inc(x_3); +x_33 = l_Lean_Parser_optionalFn(x_2, x_3, x_31); +x_34 = lean_ctor_get(x_33, 3); +lean_inc(x_34); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; +x_35 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_36 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_37 = 1; +x_38 = l_Lean_Parser_orelseFnCore(x_35, x_36, x_37, x_3, x_33); +return x_38; +} +else +{ +lean_dec(x_34); +lean_dec(x_3); +return x_33; +} +} +else +{ +lean_dec(x_32); +lean_dec(x_3); +lean_dec(x_2); +return x_31; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 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_39 = lean_ctor_get(x_3, 0); +x_40 = lean_ctor_get(x_3, 1); +x_41 = lean_ctor_get(x_3, 2); +x_42 = lean_ctor_get(x_3, 3); +x_43 = lean_ctor_get_uint8(x_3, sizeof(void*)*6); +x_44 = lean_ctor_get_uint8(x_3, sizeof(void*)*6 + 1); +x_45 = lean_ctor_get(x_3, 5); +lean_inc(x_45); +lean_inc(x_42); +lean_inc(x_41); +lean_inc(x_40); +lean_inc(x_39); +lean_dec(x_3); +x_46 = lean_ctor_get(x_39, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_39, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_39, 2); +lean_inc(x_48); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + lean_ctor_release(x_39, 2); + x_49 = x_39; +} else { + lean_dec_ref(x_39); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 3, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_46); +lean_ctor_set(x_50, 1, x_47); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_ctor_get(x_4, 1); +lean_inc(x_51); +x_52 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_53, 0, x_50); +lean_ctor_set(x_53, 1, x_40); +lean_ctor_set(x_53, 2, x_41); +lean_ctor_set(x_53, 3, x_42); +lean_ctor_set(x_53, 4, x_52); +lean_ctor_set(x_53, 5, x_45); +lean_ctor_set_uint8(x_53, sizeof(void*)*6, x_43); +lean_ctor_set_uint8(x_53, sizeof(void*)*6 + 1, x_44); +x_54 = l_instReprChar___closed__1; +x_55 = lean_string_append(x_54, x_1); +x_56 = lean_string_append(x_55, x_54); +lean_inc(x_53); +x_57 = l_Lean_Parser_symbolFnAux(x_1, x_56, x_53, x_4); +x_58 = lean_ctor_get(x_57, 3); +lean_inc(x_58); +if (lean_obj_tag(x_58) == 0) +{ +lean_object* x_59; lean_object* x_60; +lean_inc(x_53); +x_59 = l_Lean_Parser_optionalFn(x_2, x_53, x_57); +x_60 = lean_ctor_get(x_59, 3); +lean_inc(x_60); +if (lean_obj_tag(x_60) == 0) +{ +lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; +x_61 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_62 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_63 = 1; +x_64 = l_Lean_Parser_orelseFnCore(x_61, x_62, x_63, x_53, x_59); +return x_64; +} +else +{ +lean_dec(x_60); +lean_dec(x_53); +return x_59; +} +} +else +{ +lean_dec(x_58); +lean_dec(x_53); +lean_dec(x_2); +return x_57; +} +} +} +} static lean_object* _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__1() { _start: { @@ -4992,9 +5236,9 @@ static lean_object* _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__5 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doIdDecl___closed__7; -x_2 = l_Lean_Parser_Term_doPatDecl___closed__10; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_orelseFn), 4, 2); +x_1 = l_Lean_Parser_Term_let___elambda__1___closed__3; +x_2 = l_Lean_Parser_Term_doLet___elambda__1___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1___boxed), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -5004,9 +5248,9 @@ static lean_object* _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__6 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doLet___elambda__1___closed__9; +x_1 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -5016,32 +5260,8 @@ static lean_object* _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__7 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doLet___elambda__1___closed__5; -x_2 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__6; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__8() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; -x_2 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__7; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__9() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; -x_2 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -5055,7 +5275,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__9; +x_5 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__7; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -5155,6 +5375,15 @@ x_1 = l_Lean_Parser_Term_doLetArrow___closed__8; return x_1; } } +lean_object* l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Parser_Term_doLetArrow___elambda__1___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} lean_object* l___regBuiltinParser_Lean_Parser_Term_doLetArrow(lean_object* x_1) { _start: { @@ -5349,30 +5578,30 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doPatDecl_formatter___closed__5; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_optional_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__7() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doIdDecl_formatter___closed__5; -x_2 = l_Lean_Parser_Term_doPatDecl_formatter___closed__6; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2458____closed__30; +x_2 = l_Lean_Parser_Term_doPatDecl_formatter___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doPatDecl_formatter___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_optional_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doPatDecl_formatter___closed__3; +x_1 = l_Lean_Parser_Term_doIdDecl_formatter___closed__5; x_2 = l_Lean_Parser_Term_doPatDecl_formatter___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -5383,10 +5612,22 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__9() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doPatDecl_formatter___closed__3; +x_2 = l_Lean_Parser_Term_doPatDecl_formatter___closed__8; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__10() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doPatDecl_formatter___closed__8; +x_3 = l_Lean_Parser_Term_doPatDecl_formatter___closed__9; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -5399,7 +5640,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doPatDecl_formatter___closed__1; -x_7 = l_Lean_Parser_Term_doPatDecl_formatter___closed__9; +x_7 = l_Lean_Parser_Term_doPatDecl_formatter___closed__10; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -5474,10 +5715,20 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doLetArrow_formatter___closed__7() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doLetArrow_formatter___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doLetArrow_formatter___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doLetArrow_formatter___closed__6; +x_3 = l_Lean_Parser_Term_doLetArrow_formatter___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -5490,7 +5741,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doLetArrow_formatter___closed__1; -x_7 = l_Lean_Parser_Term_doLetArrow_formatter___closed__7; +x_7 = l_Lean_Parser_Term_doLetArrow_formatter___closed__8; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -5666,30 +5917,30 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doIdDecl_parenthesizer___closed__5; -x_2 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__30; +x_2 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__3; +x_1 = l_Lean_Parser_Term_doIdDecl_parenthesizer___closed__5; x_2 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -5700,10 +5951,22 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__8() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__7; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__9() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doPatDecl___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__7; +x_3 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__8; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -5716,7 +5979,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__8; +x_7 = l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__9; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -5789,10 +6052,20 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__7() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__6; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__6; +x_3 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -5805,7 +6078,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__7; +x_7 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__8; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -5860,7 +6133,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Parser_categoryParser___elambda__1(x_8, x_9, x_1, x_6); -x_11 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_11 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_12 = l_Lean_Parser_ParserState_mkNode(x_10, x_11, x_4); return x_12; } @@ -5869,7 +6142,7 @@ else lean_object* x_13; lean_object* x_14; lean_dec(x_7); lean_dec(x_1); -x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_13 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_14 = l_Lean_Parser_ParserState_mkNode(x_6, x_13, x_4); return x_14; } @@ -5903,7 +6176,7 @@ static lean_object* _init_l_Lean_Parser_Term_letIdDeclNoBinders___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_2 = l_Lean_Parser_Term_letIdDeclNoBinders___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -6205,7 +6478,7 @@ lean_object* l_Lean_Parser_Term_letIdDeclNoBinders_formatter(lean_object* x_1, l _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_6 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_7 = l_Lean_Parser_Term_letIdDeclNoBinders_formatter___closed__3; x_8 = l_Lean_PrettyPrinter_Formatter_node_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -6378,7 +6651,7 @@ lean_object* l_Lean_Parser_Term_letIdDeclNoBinders_parenthesizer(lean_object* x_ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_6 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_7 = l_Lean_Parser_Term_letIdDeclNoBinders_parenthesizer___closed__3; x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -6480,6 +6753,119 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } +lean_object* l_Lean_Parser_Term_doReassignArrow___elambda__1___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 4); +lean_dec(x_5); +x_6 = !lean_is_exclusive(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; +x_7 = lean_ctor_get(x_2, 1); +lean_inc(x_7); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_1, 4, x_8); +x_9 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_10 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_11 = 1; +x_12 = l_Lean_Parser_orelseFnCore(x_9, x_10, x_11, x_1, x_2); +return x_12; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_4, 0); +x_14 = lean_ctor_get(x_4, 1); +x_15 = lean_ctor_get(x_4, 2); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_4); +x_16 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_16, 0, x_13); +lean_ctor_set(x_16, 1, x_14); +lean_ctor_set(x_16, 2, x_15); +x_17 = lean_ctor_get(x_2, 1); +lean_inc(x_17); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_1, 4, x_18); +lean_ctor_set(x_1, 0, x_16); +x_19 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_20 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_21 = 1; +x_22 = l_Lean_Parser_orelseFnCore(x_19, x_20, x_21, x_1, x_2); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; +x_23 = lean_ctor_get(x_1, 0); +x_24 = lean_ctor_get(x_1, 1); +x_25 = lean_ctor_get(x_1, 2); +x_26 = lean_ctor_get(x_1, 3); +x_27 = lean_ctor_get_uint8(x_1, sizeof(void*)*6); +x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*6 + 1); +x_29 = lean_ctor_get(x_1, 5); +lean_inc(x_29); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_1); +x_30 = lean_ctor_get(x_23, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_23, 1); +lean_inc(x_31); +x_32 = lean_ctor_get(x_23, 2); +lean_inc(x_32); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + lean_ctor_release(x_23, 2); + x_33 = x_23; +} else { + lean_dec_ref(x_23); + x_33 = lean_box(0); +} +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 3, 0); +} else { + x_34 = x_33; +} +lean_ctor_set(x_34, 0, x_30); +lean_ctor_set(x_34, 1, x_31); +lean_ctor_set(x_34, 2, x_32); +x_35 = lean_ctor_get(x_2, 1); +lean_inc(x_35); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = lean_alloc_ctor(0, 6, 2); +lean_ctor_set(x_37, 0, x_34); +lean_ctor_set(x_37, 1, x_24); +lean_ctor_set(x_37, 2, x_25); +lean_ctor_set(x_37, 3, x_26); +lean_ctor_set(x_37, 4, x_36); +lean_ctor_set(x_37, 5, x_29); +lean_ctor_set_uint8(x_37, sizeof(void*)*6, x_27); +lean_ctor_set_uint8(x_37, sizeof(void*)*6 + 1, x_28); +x_38 = l_Lean_Parser_Term_doIdDecl___closed__7; +x_39 = l_Lean_Parser_Term_doPatDecl___closed__11; +x_40 = 1; +x_41 = l_Lean_Parser_orelseFnCore(x_38, x_39, x_40, x_37, x_2); +return x_41; +} +} +} static lean_object* _init_l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__1() { _start: { @@ -6522,22 +6908,18 @@ return x_4; static lean_object* _init_l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___closed__1; -x_2 = l_Lean_Parser_Term_doLetArrow___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); -lean_closure_set(x_3, 0, x_1); -lean_closure_set(x_3, 1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_doReassignArrow___elambda__1___lambda__1), 2, 0); +return x_1; } } static lean_object* _init_l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_notFollowedByRedefinedTermToken___closed__1; x_2 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -6547,8 +6929,20 @@ static lean_object* _init_l_Lean_Parser_Term_doReassignArrow___elambda__1___clos _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -6562,7 +6956,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__7; +x_5 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__8; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -6671,22 +7065,32 @@ return x_5; static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_formatter___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doLetArrow_formatter___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_withPosition_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_formatter___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_doReassign_formatter___closed__4; -x_2 = l_Lean_Parser_Term_doLetArrow_formatter___closed__4; +x_2 = l_Lean_Parser_Term_doReassignArrow_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_formatter___closed__3() { +static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doReassignArrow_formatter___closed__2; +x_3 = l_Lean_Parser_Term_doReassignArrow_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -6699,7 +7103,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doReassignArrow_formatter___closed__1; -x_7 = l_Lean_Parser_Term_doReassignArrow_formatter___closed__3; +x_7 = l_Lean_Parser_Term_doReassignArrow_formatter___closed__4; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -6739,22 +7143,32 @@ return x_4; static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__2() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__4; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_withPosition_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__3() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_doReassign_parenthesizer___closed__4; -x_2 = l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__4; +x_2 = l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__3() { +static lean_object* _init_l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__2; +x_3 = l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -6767,7 +7181,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__3; +x_7 = l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__4; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -12657,7 +13071,7 @@ static lean_object* _init_l_Lean_Parser_Term_doTry___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2; x_2 = l_String_trim(x_1); return x_2; } @@ -13151,7 +13565,7 @@ static lean_object* _init_l_Lean_Parser_Term_doTry_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11621____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11844____closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -18218,6 +18632,8 @@ l_Lean_Parser_Term_doPatDecl___elambda__1___closed__14 = _init_l_Lean_Parser_Ter lean_mark_persistent(l_Lean_Parser_Term_doPatDecl___elambda__1___closed__14); l_Lean_Parser_Term_doPatDecl___elambda__1___closed__15 = _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__15(); lean_mark_persistent(l_Lean_Parser_Term_doPatDecl___elambda__1___closed__15); +l_Lean_Parser_Term_doPatDecl___elambda__1___closed__16 = _init_l_Lean_Parser_Term_doPatDecl___elambda__1___closed__16(); +lean_mark_persistent(l_Lean_Parser_Term_doPatDecl___elambda__1___closed__16); l_Lean_Parser_Term_doPatDecl___closed__1 = _init_l_Lean_Parser_Term_doPatDecl___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doPatDecl___closed__1); l_Lean_Parser_Term_doPatDecl___closed__2 = _init_l_Lean_Parser_Term_doPatDecl___closed__2(); @@ -18240,6 +18656,8 @@ l_Lean_Parser_Term_doPatDecl___closed__10 = _init_l_Lean_Parser_Term_doPatDecl__ lean_mark_persistent(l_Lean_Parser_Term_doPatDecl___closed__10); l_Lean_Parser_Term_doPatDecl___closed__11 = _init_l_Lean_Parser_Term_doPatDecl___closed__11(); lean_mark_persistent(l_Lean_Parser_Term_doPatDecl___closed__11); +l_Lean_Parser_Term_doPatDecl___closed__12 = _init_l_Lean_Parser_Term_doPatDecl___closed__12(); +lean_mark_persistent(l_Lean_Parser_Term_doPatDecl___closed__12); l_Lean_Parser_Term_doPatDecl = _init_l_Lean_Parser_Term_doPatDecl(); lean_mark_persistent(l_Lean_Parser_Term_doPatDecl); l_Lean_Parser_Term_doLetArrow___elambda__1___closed__1 = _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__1(); @@ -18256,10 +18674,6 @@ l_Lean_Parser_Term_doLetArrow___elambda__1___closed__6 = _init_l_Lean_Parser_Ter lean_mark_persistent(l_Lean_Parser_Term_doLetArrow___elambda__1___closed__6); l_Lean_Parser_Term_doLetArrow___elambda__1___closed__7 = _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_doLetArrow___elambda__1___closed__7); -l_Lean_Parser_Term_doLetArrow___elambda__1___closed__8 = _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__8(); -lean_mark_persistent(l_Lean_Parser_Term_doLetArrow___elambda__1___closed__8); -l_Lean_Parser_Term_doLetArrow___elambda__1___closed__9 = _init_l_Lean_Parser_Term_doLetArrow___elambda__1___closed__9(); -lean_mark_persistent(l_Lean_Parser_Term_doLetArrow___elambda__1___closed__9); l_Lean_Parser_Term_doLetArrow___closed__1 = _init_l_Lean_Parser_Term_doLetArrow___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doLetArrow___closed__1); l_Lean_Parser_Term_doLetArrow___closed__2 = _init_l_Lean_Parser_Term_doLetArrow___closed__2(); @@ -18313,6 +18727,8 @@ l_Lean_Parser_Term_doPatDecl_formatter___closed__8 = _init_l_Lean_Parser_Term_do lean_mark_persistent(l_Lean_Parser_Term_doPatDecl_formatter___closed__8); l_Lean_Parser_Term_doPatDecl_formatter___closed__9 = _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__9(); lean_mark_persistent(l_Lean_Parser_Term_doPatDecl_formatter___closed__9); +l_Lean_Parser_Term_doPatDecl_formatter___closed__10 = _init_l_Lean_Parser_Term_doPatDecl_formatter___closed__10(); +lean_mark_persistent(l_Lean_Parser_Term_doPatDecl_formatter___closed__10); l_Lean_Parser_Term_doLetArrow_formatter___closed__1 = _init_l_Lean_Parser_Term_doLetArrow_formatter___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_formatter___closed__1); l_Lean_Parser_Term_doLetArrow_formatter___closed__2 = _init_l_Lean_Parser_Term_doLetArrow_formatter___closed__2(); @@ -18327,6 +18743,8 @@ l_Lean_Parser_Term_doLetArrow_formatter___closed__6 = _init_l_Lean_Parser_Term_d lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_formatter___closed__6); l_Lean_Parser_Term_doLetArrow_formatter___closed__7 = _init_l_Lean_Parser_Term_doLetArrow_formatter___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_formatter___closed__7); +l_Lean_Parser_Term_doLetArrow_formatter___closed__8 = _init_l_Lean_Parser_Term_doLetArrow_formatter___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_formatter___closed__8); l___regBuiltin_Lean_Parser_Term_doLetArrow_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doLetArrow_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doLetArrow_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_doLetArrow_formatter(lean_io_mk_world()); @@ -18362,6 +18780,8 @@ l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__7 = _init_l_Lean_Parser_Ter lean_mark_persistent(l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__7); l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__8 = _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__8(); lean_mark_persistent(l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__8); +l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__9 = _init_l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__9(); +lean_mark_persistent(l_Lean_Parser_Term_doPatDecl_parenthesizer___closed__9); l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__1 = _init_l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__1); l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__2 = _init_l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__2(); @@ -18376,6 +18796,8 @@ l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__6 = _init_l_Lean_Parser_Te lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__6); l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__7 = _init_l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__7); +l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__8 = _init_l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_doLetArrow_parenthesizer___closed__8); l___regBuiltin_Lean_Parser_Term_doLetArrow_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doLetArrow_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doLetArrow_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_doLetArrow_parenthesizer(lean_io_mk_world()); @@ -18490,6 +18912,8 @@ l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__6 = _init_l_Lean_Parse lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__6); l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__7 = _init_l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__7); +l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__8 = _init_l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow___elambda__1___closed__8); l_Lean_Parser_Term_doReassignArrow___closed__1 = _init_l_Lean_Parser_Term_doReassignArrow___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow___closed__1); l_Lean_Parser_Term_doReassignArrow___closed__2 = _init_l_Lean_Parser_Term_doReassignArrow___closed__2(); @@ -18513,6 +18937,8 @@ l_Lean_Parser_Term_doReassignArrow_formatter___closed__2 = _init_l_Lean_Parser_T lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow_formatter___closed__2); l_Lean_Parser_Term_doReassignArrow_formatter___closed__3 = _init_l_Lean_Parser_Term_doReassignArrow_formatter___closed__3(); lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow_formatter___closed__3); +l_Lean_Parser_Term_doReassignArrow_formatter___closed__4 = _init_l_Lean_Parser_Term_doReassignArrow_formatter___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow_formatter___closed__4); l___regBuiltin_Lean_Parser_Term_doReassignArrow_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doReassignArrow_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doReassignArrow_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_doReassignArrow_formatter(lean_io_mk_world()); @@ -18524,6 +18950,8 @@ l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__2 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__2); l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__3 = _init_l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__3(); lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__3); +l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__4 = _init_l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__4(); +lean_mark_persistent(l_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__4); l___regBuiltin_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_doReassignArrow_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_doReassignArrow_parenthesizer(lean_io_mk_world()); diff --git a/stage0/stdlib/Lean/Parser/Term.c b/stage0/stdlib/Lean/Parser/Term.c index 8a0ab9bafa..18d9922d84 100644 --- a/stage0/stdlib/Lean/Parser/Term.c +++ b/stage0/stdlib/Lean/Parser/Term.c @@ -32,7 +32,7 @@ lean_object* l_Lean_Parser_Tactic_seq1___closed__3; lean_object* l_Lean_Parser_Term_matchAlt___closed__5; lean_object* l_Lean_Parser_Term_instBinder_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__5; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__4; lean_object* l_Lean_Parser_Term_binderTactic_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__1; lean_object* l_Lean_Parser_Level_quot___closed__3; @@ -85,7 +85,6 @@ lean_object* l_Lean_Parser_Term_quotedName___closed__4; lean_object* l_Lean_Parser_Term_letIdLhs___closed__7; lean_object* l_Lean_Parser_Term_emptyC_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__6; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__4; lean_object* l_Lean_Parser_Term_app___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_structInst___closed__20; lean_object* l_Lean_Parser_Term_pipeProj; @@ -94,6 +93,7 @@ lean_object* l_Lean_Parser_Term_dbgTrace_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_nomatch_parenthesizer___closed__2; lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_macroLastArg_formatter___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__17; lean_object* l___regBuiltin_Lean_Parser_Term_forall_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_explicitUniv___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__7; @@ -137,7 +137,6 @@ lean_object* l_Lean_Parser_Term_tupleTail___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_not___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_nativeDecide___closed__6; extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1882____closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__17; lean_object* l_Lean_Parser_Term_typeOf___closed__3; lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_sorry_formatter(lean_object*); @@ -151,7 +150,6 @@ lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_explicit___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_bnot___closed__4; lean_object* l_Lean_Parser_ParserState_mkError(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; extern lean_object* l_Lean_Syntax_isQuot_match__1___rarg___closed__1; lean_object* l_Lean_Parser_Term_optType___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__7; @@ -227,7 +225,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_match_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_assert_formatter___closed__2; extern lean_object* l_Lean_nullKind; lean_object* l_Lean_Parser_Term_instBinder; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__8; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___closed__4; lean_object* l_Lean_Parser_Term_fun___closed__7; lean_object* l_Lean_Parser_Term_parser_x21___elambda__1___closed__6; @@ -244,6 +241,7 @@ lean_object* l_Lean_Parser_Term_matchAlts(uint8_t); lean_object* l_Lean_Parser_Term_haveAssign___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_let_formatter___closed__6; lean_object* l_Lean_Parser_Term_namedArgument_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__4; lean_object* l_Lean_Parser_Term_simpleBinder___closed__5; extern lean_object* l_Lean_Parser_leadPrec; @@ -383,7 +381,6 @@ lean_object* l_Lean_Parser_Term_prop_formatter___closed__3; lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__4; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; lean_object* l_Lean_Parser_Term_funSimpleBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__7; lean_object* l_Lean_Parser_Level_quot_formatter___closed__4; @@ -415,11 +412,11 @@ lean_object* l_Lean_Parser_Term_subst___closed__4; lean_object* l_Lean_Parser_Term_attrArg___closed__3; lean_object* l_Lean_Parser_Term_funImplicitBinder___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_panic___elambda__1___closed__9; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__6; lean_object* l_Lean_Parser_Term_prop; lean_object* l_Lean_Parser_Term_proj_formatter___closed__1; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_nativeRefl_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___closed__2; @@ -447,6 +444,7 @@ lean_object* l_Lean_Parser_Term_letrec_formatter___closed__3; lean_object* l_Lean_Parser_Term_subst_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_app___elambda__1___closed__8; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__11; lean_object* l_Lean_Parser_Term_letPatDecl___closed__2; extern lean_object* l_Lean_Parser_Tactic_inductionAlt___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_subst_formatter(lean_object*); @@ -511,12 +509,14 @@ lean_object* l_Lean_Parser_Term_byTactic; lean_object* l_Lean_Parser_Term_have___closed__3; lean_object* l_Lean_Parser_Term_dbgTrace_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_tparser_x21_parenthesizer(lean_object*); +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__15; lean_object* l_Lean_Parser_Term_binderTactic___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_decide___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__8; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__7; lean_object* l_Lean_Parser_Term_sort___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__3; +extern lean_object* l_Lean_Parser_Tactic_let___closed__2; lean_object* l_Lean_Parser_Term_unreachable_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_attributes___closed__4; lean_object* l_Lean_Parser_Term_namedPattern___closed__3; @@ -543,6 +543,7 @@ lean_object* l_Lean_Parser_Term_optIdent___closed__1; lean_object* l_Lean_Parser_Term_bnot_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall_parenthesizer___closed__9; lean_object* l_Lean_Parser_Term_letDecl_formatter___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__8; lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_arrow___closed__1; lean_object* l_Lean_Parser_Term_forall___closed__3; @@ -571,6 +572,7 @@ lean_object* l_Lean_Parser_Term_attributes___closed__9; lean_object* l_Lean_Parser_Term_type_formatter___closed__6; lean_object* l___regBuiltinParser_Lean_Parser_Level_quot(lean_object*); extern lean_object* l_Lean_instInhabitedParserDescr___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__5; lean_object* l_Lean_Parser_Term_emptyC_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__1; lean_object* l_Lean_Parser_ParserState_mkNode(lean_object*, lean_object*, lean_object*); @@ -617,7 +619,6 @@ lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object*, lean_object*, lea extern lean_object* l_Lean_Parser_mkAntiquot___closed__9; lean_object* l_Lean_Parser_Term_nativeDecide_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__19; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__1; @@ -687,6 +688,7 @@ lean_object* l_Lean_Parser_Term_fun_formatter___closed__6; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__11; lean_object* l_Lean_PrettyPrinter_Parenthesizer_visitToken(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_ctorName___closed__4; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__1; lean_object* l___regBuiltinParser_Lean_Parser_Term_let_x21(lean_object*); lean_object* l_Lean_Parser_Term_let___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__2; @@ -725,7 +727,6 @@ lean_object* l_Lean_Parser_Term_byTactic_formatter___closed__2; lean_object* l_Lean_Parser_Term_app_parenthesizer___closed__7; lean_object* l_Lean_Parser_Term_emptyC_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__18; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__9; lean_object* l_Lean_Parser_Term_sorry_formatter___closed__2; lean_object* l_Lean_Parser_Term_hole_formatter___closed__2; lean_object* l_Lean_Parser_Term_borrowed_parenthesizer___closed__3; @@ -860,6 +861,7 @@ lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__7; extern lean_object* l_Lean_Parser_Tactic_orelse___closed__5; lean_object* l_Lean_Parser_Term_binderType(uint8_t); lean_object* l_Lean_Parser_Term_letDecl___closed__2; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; lean_object* l_Lean_Parser_Term_optIdent___closed__2; lean_object* l_Lean_Parser_Term_structInstLVal_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_ensureTypeOf_formatter___closed__1; @@ -870,6 +872,7 @@ lean_object* l_Lean_Parser_Term_parser_x21___closed__7; lean_object* l_Lean_Parser_Term_assert___closed__4; lean_object* l_Lean_Parser_Term_fun_parenthesizer___closed__6; lean_object* l_Lean_Parser_Term_funImplicitBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__8; lean_object* l_Lean_Parser_Term_have___closed__7; lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_prop_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -887,6 +890,7 @@ lean_object* l_Lean_PrettyPrinter_Formatter_checkStackTop_formatter___boxed(lean lean_object* l_Lean_Parser_Term_fun___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__16; lean_object* l_Lean_Parser_Term_explicitUniv___closed__10; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__9; lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_letRecDecls___closed__3; lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__3; @@ -919,6 +923,7 @@ lean_object* l_Lean_Parser_Term_parser_x21_formatter___closed__1; lean_object* l_Lean_Parser_Term_uminus_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_borrowed; extern lean_object* l_Lean_Parser_leadingNode_formatter___closed__1; +extern lean_object* l_myMacro____x40_Init_Notation___hyg_8830____closed__2; lean_object* l_Lean_Parser_Term_funBinder_quot___closed__1; lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_paren___closed__7; @@ -1057,7 +1062,6 @@ lean_object* l___regBuiltin_Lean_Parser_Level_quot_formatter(lean_object*); lean_object* l_Lean_Parser_Term_arrayRef___closed__5; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__3; lean_object* l_Lean_Parser_Term_hole_formatter___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__1; lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__2; lean_object* l_Lean_Parser_strLit___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAltsWhereDecls___closed__6; @@ -1098,6 +1102,7 @@ lean_object* l_Lean_Parser_Term_suffices___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__6; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_dbgTrace___closed__9; +lean_object* l_Lean_Parser_Term_type___closed__11; lean_object* l_Lean_ppIndent_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_matchAlts___elambda__1___closed__2; @@ -1112,7 +1117,6 @@ lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__4; lean_object* l_Lean_Parser_Term_funBinder___closed__3; lean_object* l_Lean_Parser_Term_proj_formatter___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__6; lean_object* l_Lean_Parser_Term_let___closed__2; lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__5; @@ -1195,6 +1199,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_match_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_typeAscription_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_unreachable_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__2; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__21; lean_object* l_Lean_Parser_Term_arrow; lean_object* l___regBuiltin_Lean_Parser_Term_char_parenthesizer(lean_object*); lean_object* l_Lean_Parser_Term_arrow___closed__4; @@ -1208,8 +1213,8 @@ lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_dbgTrace; lean_object* l_Lean_Parser_Term_match_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__1; +lean_object* l_Lean_Parser_Term_type___elambda__1___closed__15; lean_object* l_Lean_Parser_Term_attributes___closed__3; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__11; lean_object* l_Lean_Parser_Term_matchAlt_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_quot_parenthesizer___closed__3; @@ -1279,7 +1284,6 @@ lean_object* l_Lean_Parser_Term_structInst_formatter___closed__9; lean_object* l_Lean_Parser_Term_funBinder___elambda__1___closed__1; lean_object* l_Lean_Parser_lookaheadFn(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_proj___closed__4; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__2; lean_object* l_Lean_Parser_Term_nativeRefl___closed__2; lean_object* l_Lean_Parser_Term_char___closed__1; lean_object* l_Lean_Parser_Term_stateRefT_formatter___closed__1; @@ -1351,6 +1355,7 @@ lean_object* l_Lean_Parser_Term_simpleBinderWithoutType_parenthesizer(lean_objec lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_letDecl; lean_object* l_Lean_Parser_Term_ensureTypeOf___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_Term_type_parenthesizer___closed__8; lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__2; lean_object* l_Lean_Parser_Term_matchAltsWhereDecls_formatter___closed__1; lean_object* l_Lean_Parser_Term_type_formatter___closed__4; @@ -1402,6 +1407,7 @@ lean_object* l_Lean_Parser_Term_forall_formatter___closed__10; lean_object* l_Lean_Parser_Term_haveDecl_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_paren_formatter___closed__8; lean_object* l_Lean_Parser_Term_binderType___elambda__2___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3; lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_structInstField_formatter___closed__3; @@ -1428,7 +1434,6 @@ lean_object* l_Lean_Parser_Term_sorry___closed__3; lean_object* l_Lean_Parser_Term_instBinder___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_explicitUniv_formatter___closed__6; lean_object* l_Lean_Parser_Term_syntheticHole___elambda__1___closed__7; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; lean_object* l_Lean_Parser_Term_paren_formatter___closed__9; lean_object* l_Lean_Parser_Term_structInstField___closed__2; lean_object* l_Lean_Parser_Term_letrec_parenthesizer___closed__1; @@ -1474,6 +1479,7 @@ lean_object* l_Lean_Parser_Term_typeOf___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_not___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_dbgTrace___closed__8; lean_object* l_Lean_Parser_Term_byTactic_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__19; lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1___closed__5; extern lean_object* l_Lean_Parser_Tactic_matchAlt___closed__1; lean_object* l_Lean_Parser_Term_suffices_parenthesizer___closed__5; @@ -1592,7 +1598,6 @@ lean_object* l_Lean_Parser_Term_simpleBinder_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_fromTerm; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__6; lean_object* l_Lean_Parser_Term_funBinder___elambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l___regBuiltin_Lean_Parser_Term_depArrow_formatter(lean_object*); lean_object* l_Lean_Parser_Term_attrInstance___closed__2; lean_object* l_Lean_Parser_Term_have_parenthesizer___closed__4; @@ -1612,7 +1617,6 @@ lean_object* l_Lean_Parser_Term_let_x2a_formatter___closed__3; lean_object* l_Lean_Parser_Term_type_formatter___closed__1; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__24; lean_object* l_Lean_Parser_Term_tparser_x21___elambda__1___closed__8; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; lean_object* l_Lean_Parser_Term_letEqnsDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_app_formatter___closed__3; lean_object* l_Lean_Parser_Term_syntheticHole___closed__6; @@ -1624,7 +1628,6 @@ lean_object* l_Lean_Parser_Term_letPatDecl_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___closed__7; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_ensureExpectedType_formatter___closed__2; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__13; lean_object* l_Lean_Parser_Term_funSimpleBinder___elambda__1___closed__2; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_structInst___closed__14; @@ -1680,6 +1683,7 @@ lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__7; extern lean_object* l_Lean_Parser_mkAntiquot___closed__10; lean_object* l_Lean_Parser_Term_pipeProj___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__9; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; lean_object* l_Lean_Parser_Term_nomatch_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_cdot___closed__5; lean_object* l_Lean_Parser_Term_macroDollarArg___closed__3; @@ -1699,6 +1703,7 @@ lean_object* l_Lean_Parser_Term_matchDiscr___closed__8; lean_object* l_Lean_Parser_Term_explicitBinder_parenthesizer___closed__3; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_simpleBinder_formatter___closed__3; +lean_object* l_Lean_Parser_Term_type_formatter___closed__8; lean_object* l_Lean_Parser_Term_typeSpec_formatter___closed__1; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_nomatch___elambda__1(lean_object*, lean_object*); @@ -1710,6 +1715,7 @@ lean_object* l_Lean_Parser_Term_nativeDecide___closed__1; lean_object* l_Lean_Parser_Term_nativeRefl___closed__5; lean_object* l_Lean_Parser_Term_binderIdent___closed__1; lean_object* l_Lean_Parser_Term_letEqnsDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__2; extern lean_object* l_Lean_Parser_Tactic_letrec___closed__1; lean_object* l_Lean_Parser_Term_quotedName___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInstLVal___elambda__1(lean_object*, lean_object*); @@ -1771,7 +1777,7 @@ lean_object* l_Lean_Parser_Term_assert___elambda__1___lambda__1___boxed(lean_obj lean_object* l_Lean_Parser_Term_explicit_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1(lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_let___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__6; lean_object* l_Lean_Parser_Term_sort_formatter___closed__1; lean_object* l_Lean_Parser_strLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_whereDecls___closed__3; @@ -1807,6 +1813,7 @@ lean_object* l_Lean_Parser_pushNone___elambda__1___rarg(lean_object*); lean_object* l_Lean_Parser_Term_arrayRef___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_nativeDecide___closed__2; lean_object* l___regBuiltinParser_Lean_Parser_Term_anonymousCtor(lean_object*); +extern lean_object* l_Lean_Parser_Tactic_let___closed__4; lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__9; lean_object* l_Lean_Parser_Term_depArrow___closed__1; lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__6; @@ -1947,6 +1954,7 @@ lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_basicFun___closed__6; lean_object* l_Lean_Parser_Term_fun___closed__4; lean_object* l_Lean_Parser_Term_panic_formatter___closed__4; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__16; lean_object* l_Lean_Parser_Term_suffices___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_suffices_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_namedArgument___closed__1; @@ -1983,6 +1991,7 @@ lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_decide_formatter(lean_object*); lean_object* l_Lean_Parser_Term_simpleBinderWithoutType; lean_object* l_Lean_Parser_Term_inaccessible_parenthesizer___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2; lean_object* l_Lean_Parser_Term_match_formatter___closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__8; lean_object* l___regBuiltin_Lean_Parser_Term_let_x2a_formatter(lean_object*); @@ -1998,12 +2007,12 @@ lean_object* l_Lean_Parser_Term_inaccessible_parenthesizer(lean_object*, lean_ob lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_depArrow___elambda__1___closed__7; lean_object* l_Lean_Parser_Term_ident_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__16; lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__21; lean_object* l_Lean_Parser_Term_isIdent___boxed(lean_object*); lean_object* l_Lean_Parser_Term_matchAlts___closed__14; lean_object* l_Lean_Parser_Term_emptyC; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2; lean_object* l_Lean_Parser_Term_app___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_letPatDecl___closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_sort(lean_object*); @@ -2032,7 +2041,6 @@ lean_object* l_Lean_Parser_Term_have___closed__8; lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__2; lean_object* l_Lean_Parser_Term_sorry___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__23; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__7; lean_object* l_Lean_Parser_Term_prop___closed__4; lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_forall_formatter___closed__8; @@ -2157,7 +2165,6 @@ lean_object* l_Lean_Parser_Term_funBinder_quot___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_proj___closed__1; lean_object* l_Lean_Parser_Term_forall_formatter___closed__4; lean_object* l_Lean_Parser_Term_letIdLhs___closed__1; -extern lean_object* l_Lean_Parser_Tactic_let___closed__3; lean_object* l_Lean_PrettyPrinter_Formatter_withPosition_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_str___closed__1; lean_object* l_Lean_Parser_Term_sort___closed__5; @@ -2165,7 +2172,6 @@ lean_object* l_Lean_Parser_Term_funBinder_formatter___closed__4; lean_object* l_Lean_Parser_Term_optType___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchDiscr_parenthesizer___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_structInst_formatter(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__21; lean_object* l_Lean_Parser_Term_sorry___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__12; lean_object* l_Lean_Parser_Term_let_x21_formatter___closed__1; @@ -2269,7 +2275,9 @@ lean_object* l_Lean_Parser_Term_structInstArrayRef_formatter___closed__5; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__7; lean_object* l_Lean_Parser_Term_not___elambda__1___closed__2; extern lean_object* l_Std_Range_myMacro____x40_Init_Data_Range___hyg_331____closed__6; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__14; lean_object* l_Lean_Parser_Tactic_quotSeq___elambda__1___closed__9; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__5; lean_object* l_Lean_Parser_Term_match__syntax___closed__1; lean_object* l_Lean_Parser_Term_instBinder___closed__2; lean_object* l_Lean_Parser_sepBy1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2308,6 +2316,7 @@ lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__1; lean_object* l_Lean_Parser_Tactic_quot___closed__2; lean_object* l_Lean_Parser_Term_sort___closed__3; lean_object* l_Lean_Parser_Term_letRecDecls___elambda__1___closed__1; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_object* l_Lean_Parser_Term_let___closed__7; lean_object* l_Lean_Parser_Term_let_x2a___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__4; @@ -2326,6 +2335,7 @@ lean_object* l_Lean_Parser_Term_prop___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_tupleTail; lean_object* l_Lean_Parser_Term_macroArg; lean_object* l_Lean_Parser_Term_typeAscription___closed__5; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; lean_object* l_Lean_Parser_Term_attrArg_parenthesizer___closed__1; lean_object* l_Lean_Parser_ident___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__7; @@ -2357,6 +2367,7 @@ lean_object* l_Lean_Parser_Term_assert___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__1; lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__2; extern lean_object* l_Lean_Parser_Level_ident_formatter___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__1; lean_object* l_Lean_Parser_tacticParser_formatter(lean_object*); lean_object* l_Lean_Parser_Term_have___elambda__1___closed__3; lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__8; @@ -2396,6 +2407,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_ident_formatter(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_num___closed__1; lean_object* l_Lean_Parser_Term_let___closed__5; lean_object* l_Lean_Parser_Term_structInstArrayRef___closed__8; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__13; lean_object* l_Lean_Parser_Term_arrow_parenthesizer___closed__4; uint8_t l_Lean_Parser_Term_isIdent(lean_object*); lean_object* l_Lean_Parser_Term_byTactic___elambda__1___closed__5; @@ -2419,7 +2431,6 @@ lean_object* l_Lean_Parser_Tactic_quotSeq_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_matchAlt___closed__4; lean_object* l_Lean_Parser_Term_funSimpleBinder___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_app; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__15; lean_object* l_Lean_Parser_Term_depArrow_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_explicit_formatter___closed__4; lean_object* l_Lean_Parser_Term_syntheticHole___closed__4; @@ -2457,11 +2468,11 @@ lean_object* l_Lean_Parser_Term_bracketedBinder_parenthesizer(uint8_t, lean_obje lean_object* l_Lean_Parser_Term_emptyC_formatter___closed__3; lean_object* l_Lean_Parser_Term_type___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_haveDecl; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__3; lean_object* l___regBuiltinParser_Lean_Parser_Term_not(lean_object*); lean_object* l_Lean_Parser_Term_ident_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Tactic_match___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_str_formatter___closed__1; +extern lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1882____closed__21; lean_object* l_Lean_Parser_Term_prop___closed__1; lean_object* l_Lean_Parser_Term_match__syntax___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_nativeRefl___closed__3; @@ -2486,6 +2497,7 @@ lean_object* l___regBuiltinParser_Lean_Parser_Term_match__syntax(lean_object*); lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4____closed__3; lean_object* l_Lean_Parser_Term_sort___closed__6; lean_object* l_Lean_Parser_Term_structInstLVal_formatter___closed__7; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__6; lean_object* l_Lean_Parser_Term_simpleBinder_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_cdot___elambda__1___closed__9; @@ -2498,6 +2510,7 @@ lean_object* l_Lean_Parser_Term_haveDecl_formatter___closed__1; extern lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2458____closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_sorry_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1; lean_object* l_Lean_Parser_Term_emptyC_formatter___closed__5; lean_object* l_Lean_Parser_Term_match___elambda__1___closed__2; lean_object* l_Lean_Parser_Term_tupleTail___closed__6; @@ -2518,7 +2531,6 @@ lean_object* l_Lean_Parser_Term_sufficesDecl___closed__2; lean_object* l_Lean_Parser_Term_letrec___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_anonymousCtor___closed__7; lean_object* l_Lean_Parser_Term_structInstArrayRef___elambda__1___closed__6; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; lean_object* l_Lean_Parser_Term_letDecl_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_pipeProj(lean_object*); lean_object* l_Lean_Parser_Term_emptyC___elambda__1___closed__4; @@ -2556,11 +2568,9 @@ lean_object* l_Lean_Parser_Term_let___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_matchAlts___closed__8; lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__3; lean_object* l_Lean_Parser_Term_type___elambda__1___closed__4; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__8; lean_object* l_Lean_Parser_Term_ensureTypeOf_formatter___closed__1; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; lean_object* l_Lean_Parser_Term_arrow_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_anonymousCtor; lean_object* l_Lean_Parser_Term_forall___closed__9; @@ -2650,7 +2660,6 @@ lean_object* l_Lean_Parser_Tactic_quot___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__1; lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__9; lean_object* l_Lean_Parser_Term_binderTactic_formatter___closed__2; -extern lean_object* l_Lean_Parser_Tactic_let___closed__6; lean_object* l_Lean_Parser_Term_explicitBinder___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__15; lean_object* l_Lean_Parser_Term_have___elambda__1___closed__9; @@ -2708,6 +2717,7 @@ lean_object* l_Lean_Parser_Term_app_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__8; lean_object* l_Lean_Parser_Term_suffices_formatter___closed__1; extern lean_object* l_Lean_Parser_many1Indent___lambda__1___closed__1; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__7; lean_object* l_Lean_Parser_Term_structInst_formatter___closed__3; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__19; lean_object* l_Lean_Parser_Tactic_tacticSeq; @@ -2755,7 +2765,6 @@ lean_object* l_Lean_Parser_Term_match___closed__4; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___closed__4; lean_object* l_Lean_Parser_Term_app___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Term_char___closed__1; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; lean_object* l_Lean_Parser_Term_matchDiscr_formatter___closed__5; lean_object* l_Lean_Parser_Term_forall_formatter___closed__3; lean_object* l_Lean_Parser_Term_letEqnsDecl___elambda__1___closed__2; @@ -2777,11 +2786,11 @@ lean_object* l_Lean_Parser_Term_syntheticHole_formatter___closed__1; lean_object* l_Lean_Parser_Term_stateRefT_parenthesizer___closed__5; lean_object* l_Lean_Parser_Term_optExprPrecedence___closed__2; lean_object* l_Lean_Parser_Term_letIdLhs___closed__4; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; lean_object* l_Lean_Parser_Term_typeAscription_formatter___closed__4; lean_object* l___regBuiltin_Lean_Parser_Term_byTactic_formatter___closed__1; lean_object* l_Lean_Parser_Term_attrArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__9; +extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; lean_object* l_Lean_Parser_Term_letIdDecl_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Tactic_quotSeq(lean_object*); lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__2; @@ -2815,7 +2824,6 @@ lean_object* l_Lean_Parser_Level_quot___elambda__1___closed__6; lean_object* l_Lean_Parser_Term_match__syntax_parenthesizer___closed__3; lean_object* l_Lean_Parser_Term_let___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_matchAlts_formatter___closed__8; -extern lean_object* l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; lean_object* l_Lean_Parser_Term_attributes_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_ensureExpectedType___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__4; @@ -2864,6 +2872,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___closed__5; lean_object* l_Lean_Parser_Term_quotedName_formatter___closed__2; lean_object* l_Lean_Parser_Term_char; lean_object* l_Lean_Parser_Term_ensureExpectedType_parenthesizer___closed__4; +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; lean_object* l_Lean_Parser_Term_let_x21___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_structInstField___closed__5; lean_object* l_Lean_Parser_Term_attrArg___closed__1; @@ -2940,7 +2949,6 @@ lean_object* l___regBuiltin_Lean_Parser_Term_have_formatter(lean_object*); lean_object* l_Lean_Parser_Term_funSimpleBinder___closed__1; lean_object* l_Lean_Parser_Term_unreachable_parenthesizer___closed__1; lean_object* l_Lean_Parser_Term_panic_formatter___closed__1; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__12; lean_object* l_Lean_Parser_Term_attrInstance_formatter___closed__1; lean_object* l_Lean_Parser_Term_match__syntax_formatter___closed__5; extern lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__32; @@ -2994,7 +3002,6 @@ lean_object* l_Lean_Parser_darrow___elambda__1(lean_object*, lean_object*); extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__8; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_let_formatter___closed__5; -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; lean_object* l_Lean_Parser_Term_not___closed__8; lean_object* l_Lean_Parser_Term_match___closed__11; lean_object* l_Lean_Parser_Term_arrow_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3092,10 +3099,8 @@ lean_object* l_Lean_Parser_Term_letRecDecls___closed__4; lean_object* l_Lean_Parser_Term_unreachable_formatter___closed__1; lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__2; lean_object* l_Lean_Parser_Term_anonymousCtor___elambda__1___closed__13; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__5; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_structInst_formatter___closed__20; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__14; lean_object* l_Lean_Parser_Term_structInstField_parenthesizer___closed__4; lean_object* l_Lean_Parser_Term_whereDecls_formatter___closed__12; lean_object* l_Lean_Parser_Term_sort_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3120,7 +3125,6 @@ lean_object* l_Lean_Parser_Term_attributes___elambda__1___closed__1; lean_object* l_Lean_Parser_Tactic_quotSeq_formatter___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer___closed__2; lean_object* l_Lean_Parser_Tactic_tacticSeqBracketed_parenthesizer___closed__5; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__18; extern lean_object* l_Lean_Parser_mkAntiquot___closed__6; lean_object* l_Lean_Parser_Term_matchDiscr___elambda__1___closed__10; extern lean_object* l_Lean_Parser_Tactic_intro___closed__2; @@ -3198,7 +3202,6 @@ lean_object* l_Lean_Parser_Term_ensureTypeOf_parenthesizer___closed__5; lean_object* l___regBuiltinParser_Lean_Parser_Term_stateRefT(lean_object*); lean_object* l___regBuiltin_Lean_Parser_Term_ensureExpectedType_parenthesizer(lean_object*); extern lean_object* l_Lean_expandExplicitBindersAux_loop___closed__8; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__20; lean_object* l_Lean_Parser_Term_let_x2a___closed__4; lean_object* l_Lean_Parser_Term_structInst_parenthesizer___closed__15; lean_object* l_Lean_Parser_Term_matchAlt_formatter___closed__1; @@ -3231,7 +3234,6 @@ lean_object* l_Lean_Parser_Term_letRecDecls_parenthesizer___closed__1; extern lean_object* l_Lean_Parser_antiquotNestedExpr_formatter___closed__4; lean_object* l_Lean_Parser_Term_stateRefT___elambda__1___closed__6; extern lean_object* l_Lean_Parser_Level_max___elambda__1___closed__7; -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__10; lean_object* l___regBuiltinParser_Lean_Parser_Term_match(lean_object*); lean_object* l___regBuiltinParser_Lean_Parser_Term_depArrow(lean_object*); lean_object* l_Lean_Parser_Term_simpleBinder___elambda__1___closed__3; @@ -3283,8 +3285,10 @@ lean_object* l_Lean_Parser_Term_type___closed__4; lean_object* l_Lean_Parser_Term_fun_formatter___closed__2; lean_object* l_Lean_Parser_Term_optSemicolon_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_paren___elambda__1(lean_object*, lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__15; lean_object* l_Lean_Parser_Tactic_tacticSeq___closed__3; lean_object* l_Lean_Parser_Term_namedArgument_parenthesizer___closed__3; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__18; lean_object* l_Lean_Parser_Term_binderDefault_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_let_x21___closed__1; lean_object* l_Lean_Parser_Term_binderDefault_parenthesizer___closed__2; @@ -3372,6 +3376,7 @@ lean_object* l_Lean_Parser_Term_suffices; lean_object* l_Lean_Parser_Term_forall_formatter___closed__2; lean_object* l_Lean_Parser_Term_binderDefault_formatter___closed__1; lean_object* l_Lean_Parser_Term_paren_parenthesizer___closed__9; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__3; lean_object* l_Lean_Parser_Term_attrInstance___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_paren___elambda__1___closed__5; lean_object* l_Lean_Parser_Term_letIdLhs; @@ -3458,14 +3463,13 @@ lean_object* l_Lean_Parser_Term_syntheticHole_parenthesizer___closed__1; lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_show_parenthesizer___closed__1; lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_4_(lean_object*); -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470_(lean_object*); +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476_(lean_object*); lean_object* l_Lean_Parser_Term_parenSpecial_formatter___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_match_formatter(lean_object*); lean_object* l_Lean_Parser_Term_let_x2a___closed__6; lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_ellipsis___elambda__1___closed__3; lean_object* l___regBuiltin_Lean_Parser_Term_nativeDecide_parenthesizer___closed__1; -extern lean_object* l_Lean_Parser_Tactic_let___closed__5; lean_object* l_Lean_Parser_Term_depArrow_formatter___closed__5; lean_object* l___regBuiltin_Lean_Parser_Term_arrayRef_formatter___closed__1; lean_object* l_Lean_Parser_Term_dbgTrace_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -3475,7 +3479,6 @@ lean_object* l_Lean_Parser_Term_tparser_x21_formatter___closed__1; lean_object* l_Lean_Parser_Term_macroLastArg_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_ensureTypeOf___closed__5; lean_object* l_Lean_Parser_Term_parenSpecial___closed__4; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; lean_object* l_Lean_Parser_Term_macroDollarArg_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_dbgTrace___closed__7; lean_object* l_Lean_Parser_Term_structInst___elambda__1___closed__9; @@ -3528,6 +3531,7 @@ lean_object* l_Lean_Parser_Term_inaccessible___elambda__1___closed__11; lean_object* l_Lean_Parser_Term_haveDecl___elambda__1(lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_whereDecls___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_tupleTail_parenthesizer___closed__4; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__12; lean_object* l_Lean_Parser_Term_namedPattern_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_macroLastArg_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_tparser_x21___closed__6; @@ -3536,7 +3540,6 @@ lean_object* l_Lean_Parser_Term_nomatch___elambda__1___closed__7; extern lean_object* l_Lean_Parser_Level_paren___elambda__1___closed__4; lean_object* l_Lean_Parser_Term_namedPattern___elambda__1___closed__1; lean_object* l_Lean_Parser_Term_attrInstance_parenthesizer___closed__6; -extern lean_object* l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; lean_object* l_Lean_Parser_nameLit_parenthesizer(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_suffices___closed__6; lean_object* l_Lean_Parser_Term_fun_formatter___closed__4; @@ -3559,6 +3562,7 @@ lean_object* l_Lean_Parser_Term_structInst___closed__19; lean_object* l_Lean_Parser_Term_depArrow_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Term_matchAlts_parenthesizer___closed__10; lean_object* l_Lean_Parser_Term_sort___closed__7; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__20; lean_object* l_Lean_Parser_Term_fromTerm___elambda__1___closed__10; lean_object* l_Lean_Parser_Term_pipeProj___closed__1; lean_object* l_Lean_Parser_Term_letIdLhs_formatter___closed__6; @@ -3590,6 +3594,7 @@ lean_object* l___regBuiltin_Lean_Parser_Term_inaccessible_parenthesizer___closed lean_object* l_Lean_Parser_Term_forall___elambda__1___closed__7; extern lean_object* l_instReprChar___closed__1; lean_object* l_Lean_Parser_Level_quot_parenthesizer___closed__5; +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__10; lean_object* l_Lean_Parser_Term_funBinder_quot_parenthesizer___closed__2; lean_object* l_Lean_Parser_Term_letrec___closed__10; lean_object* l___regBuiltin_Lean_Parser_Term_let_x21_formatter___closed__1; @@ -4236,7 +4241,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -4246,7 +4251,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -4257,7 +4262,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_2 = l_String_trim(x_1); return x_2; } @@ -4360,7 +4365,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__11; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -4467,7 +4472,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented___closed__8() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___closed__7; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -4843,7 +4848,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; x_1 = l_Lean_Parser_Tactic_case___closed__9; -x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_2 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; x_3 = l_Lean_Parser_Tactic_tacticSeq___closed__3; x_4 = 0; x_5 = l_Lean_Parser_nodeWithAntiquot(x_1, x_2, x_3, x_4); @@ -4897,7 +4902,7 @@ x_5 = 1; x_6 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__6; x_7 = l_Lean_Parser_Tactic_seq1___elambda__1___closed__3; x_8 = l_Lean_Parser_sepBy1Fn(x_5, x_6, x_7, x_1, x_2); -x_9 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_9 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_10 = l_Lean_Parser_ParserState_mkNode(x_8, x_9, x_4); return x_10; } @@ -4927,7 +4932,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_seq1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_2 = l_Lean_Parser_Tactic_seq1___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -5313,7 +5318,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeqBracketed_formatter___cl _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__15; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -5465,7 +5470,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___cl _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__2; x_2 = l_Lean_Parser_Tactic_tacticSeq1Indented___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -5490,7 +5495,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -5543,7 +5548,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; x_6 = l_Lean_Parser_Tactic_case___closed__9; -x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; x_8 = l_Lean_Parser_Tactic_tacticSeq_formatter___closed__3; x_9 = 0; x_10 = l_Lean_Parser_nodeWithAntiquot_formatter(x_6, x_7, x_8, x_9, x_1, x_2, x_3, x_4, x_5); @@ -5821,7 +5826,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__3; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Tactic_tacticSeq1Indented_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -5873,7 +5878,7 @@ lean_object* l_Lean_Parser_Tactic_tacticSeq_parenthesizer(lean_object* x_1, lean _start: { lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; x_7 = l_Lean_Parser_Tactic_tacticSeq_parenthesizer___closed__3; x_8 = 0; x_9 = l_Lean_Parser_nodeWithAntiquot_parenthesizer___rarg(x_6, x_7, x_8, x_1, x_2, x_3, x_4, x_5); @@ -6655,7 +6660,7 @@ static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_byTactic___elambda__1___closed__9; +x_1 = l_Lean_Parser_initFn____x40_Lean_Parser_Extension___hyg_1882____closed__21; x_2 = l_Lean_Parser_Level_max___elambda__1___closed__7; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -6666,18 +6671,8 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_instInhabitedParserDescr___closed__1; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkWsBefore___elambda__1___boxed), 3, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__10() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type___elambda__1___closed__9; +x_1 = l_Lean_Parser_Term_byTactic___elambda__1___closed__9; x_2 = l_Lean_Parser_Term_type___elambda__1___closed__8; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -6685,35 +6680,45 @@ lean_closure_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__11() { +static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_type___elambda__1___closed__10; -x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn), 3, 1); +x_1 = l_Lean_instInhabitedParserDescr___closed__1; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_checkWsBefore___elambda__1___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__12() { +static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type___elambda__1___closed__7; -x_2 = l_Lean_Parser_Term_type___elambda__1___closed__11; +x_1 = l_Lean_Parser_Term_type___elambda__1___closed__10; +x_2 = l_Lean_Parser_Term_type___elambda__1___closed__9; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_type___elambda__1___closed__11; +x_2 = lean_alloc_closure((void*)(l_Lean_Parser_optionalFn), 3, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_type___elambda__1___closed__7; x_2 = l_Lean_Parser_Term_type___elambda__1___closed__12; -x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -6723,8 +6728,20 @@ static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_1 = l_Lean_Parser_Term_type___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_type___elambda__1___closed__13; +x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_type___elambda__1___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Level_paren___elambda__1___closed__8; +x_2 = l_Lean_Parser_Term_type___elambda__1___closed__14; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -6738,7 +6755,7 @@ lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_3 = l_Lean_Parser_Term_type___elambda__1___closed__4; x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); -x_5 = l_Lean_Parser_Term_type___elambda__1___closed__14; +x_5 = l_Lean_Parser_Term_type___elambda__1___closed__15; x_6 = 1; x_7 = l_Lean_Parser_orelseFnCore(x_4, x_5, x_6, x_1, x_2); return x_7; @@ -6760,7 +6777,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Level_max___closed__2; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_epsilonInfo; +x_3 = l_Lean_Parser_instInhabitedParser___closed__1; x_4 = l_Lean_Parser_andthenInfo(x_3, x_2); return x_4; } @@ -6778,29 +6795,29 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_type___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_type___closed__3; -x_2 = l_Lean_Parser_optionaInfo(x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_type___closed__3; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Term_type___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type___closed__1; -x_2 = l_Lean_Parser_Term_type___closed__4; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_type___closed__4; +x_2 = l_Lean_Parser_optionaInfo(x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Term_type___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type___elambda__1___closed__2; +x_1 = l_Lean_Parser_Term_type___closed__1; x_2 = l_Lean_Parser_Term_type___closed__5; -x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } } @@ -6808,25 +6825,35 @@ static lean_object* _init_l_Lean_Parser_Term_type___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_epsilonInfo; +x_1 = l_Lean_Parser_Term_type___elambda__1___closed__2; x_2 = l_Lean_Parser_Term_type___closed__6; -x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Term_type___closed__8() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_epsilonInfo; +x_2 = l_Lean_Parser_Term_type___closed__7; +x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_type___closed__9() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_type___elambda__1___closed__4; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l_Lean_Parser_Term_type___closed__7; +x_3 = l_Lean_Parser_Term_type___closed__8; x_4 = l_Lean_Parser_orelseInfo(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Term_type___closed__9() { +static lean_object* _init_l_Lean_Parser_Term_type___closed__10() { _start: { lean_object* x_1; @@ -6834,12 +6861,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Parser_Term_type___elambda__1), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Parser_Term_type___closed__10() { +static lean_object* _init_l_Lean_Parser_Term_type___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type___closed__8; -x_2 = l_Lean_Parser_Term_type___closed__9; +x_1 = l_Lean_Parser_Term_type___closed__9; +x_2 = l_Lean_Parser_Term_type___closed__10; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -6850,7 +6877,7 @@ static lean_object* _init_l_Lean_Parser_Term_type() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Term_type___closed__10; +x_1 = l_Lean_Parser_Term_type___closed__11; return x_1; } } @@ -6896,7 +6923,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_leadingNode_formatter___closed__1; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2458____closed__30; x_2 = l_Lean_Parser_Level_paren_formatter___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -6908,7 +6935,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2458____closed__1; +x_1 = l_Lean_Parser_leadingNode_formatter___closed__1; x_2 = l_Lean_Parser_Term_type_formatter___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -6919,32 +6946,44 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_type_formatter___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_optional_formatter), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type_formatter___closed__2; -x_2 = l_Lean_Parser_Term_type_formatter___closed__5; +x_1 = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_2458____closed__1; +x_2 = l_Lean_Parser_Term_type_formatter___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_type_formatter___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_optional_formatter), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__7() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Term_type_formatter___closed__2; +x_2 = l_Lean_Parser_Term_type_formatter___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_type_formatter___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_type___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_type_formatter___closed__6; +x_3 = l_Lean_Parser_Term_type_formatter___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -6957,7 +6996,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_type_formatter___closed__1; -x_7 = l_Lean_Parser_Term_type_formatter___closed__7; +x_7 = l_Lean_Parser_Term_type_formatter___closed__8; x_8 = l_Lean_PrettyPrinter_Formatter_orelse_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -7008,7 +7047,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Term_type_parenthesizer___closed__2; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__30; x_2 = l_Lean_Parser_Level_max_parenthesizer___closed__2; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -7020,7 +7059,7 @@ static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__1; +x_1 = l_Lean_Parser_Term_type_parenthesizer___closed__2; x_2 = l_Lean_Parser_Term_type_parenthesizer___closed__3; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); @@ -7031,32 +7070,44 @@ return x_3; static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Term_type_parenthesizer___closed__4; -x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer), 6, 1); -lean_closure_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; -x_2 = l_Lean_Parser_Term_type_parenthesizer___closed__5; +x_1 = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__1; +x_2 = l_Lean_Parser_Term_type_parenthesizer___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Term_type_parenthesizer___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_optional_parenthesizer), 6, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__7() { _start: { +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; +x_2 = l_Lean_Parser_Term_type_parenthesizer___closed__6; +x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_andthen_parenthesizer), 7, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Term_type_parenthesizer___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_type___elambda__1___closed__2; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_type_parenthesizer___closed__6; +x_3 = l_Lean_Parser_Term_type_parenthesizer___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -7069,7 +7120,7 @@ _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; x_6 = l_Lean_Parser_Term_type_parenthesizer___closed__1; -x_7 = l_Lean_Parser_Term_type_parenthesizer___closed__7; +x_7 = l_Lean_Parser_Term_type_parenthesizer___closed__8; x_8 = l_Lean_PrettyPrinter_Parenthesizer_orelse_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; } @@ -7156,7 +7207,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_sort___elambda__1___closed__6; -x_2 = l_Lean_Parser_Term_type___elambda__1___closed__11; +x_2 = l_Lean_Parser_Term_type___elambda__1___closed__12; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_andthenFn), 4, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -7214,7 +7265,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_sort___closed__1; -x_2 = l_Lean_Parser_Term_type___closed__4; +x_2 = l_Lean_Parser_Term_type___closed__5; x_3 = l_Lean_Parser_andthenInfo(x_1, x_2); return x_3; } @@ -7322,7 +7373,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Term_sort_formatter___closed__2; -x_2 = l_Lean_Parser_Term_type_formatter___closed__5; +x_2 = l_Lean_Parser_Term_type_formatter___closed__6; x_3 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_andthen_formatter), 7, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); @@ -7391,7 +7442,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Term_sort___elambda__1___closed__1; x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Term_type_parenthesizer___closed__6; +x_3 = l_Lean_Parser_Term_type_parenthesizer___closed__7; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); @@ -8375,7 +8426,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -8385,7 +8436,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -8396,7 +8447,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; x_2 = l_String_trim(x_1); return x_2; } @@ -8415,7 +8466,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -8461,7 +8512,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_2 = l_Lean_Parser_Term_sorry___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -8522,7 +8573,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_sorry; x_6 = lean_unsigned_to_nat(0u); @@ -8534,7 +8585,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; x_2 = l_Lean_Parser_Term_sorry___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -8549,7 +8600,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__1; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -8559,7 +8610,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_sorry_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -8592,7 +8643,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_sorry_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -8615,7 +8666,7 @@ static lean_object* _init_l_Lean_Parser_Term_sorry_parenthesizer___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -8648,7 +8699,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10872____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11095____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_sorry_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -11580,7 +11631,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__1 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -11590,7 +11641,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__2 _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -11601,7 +11652,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__3 _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_2 = l_String_trim(x_1); return x_2; } @@ -11632,7 +11683,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___elambda__1___closed__6 _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -11690,7 +11741,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; x_2 = l_Lean_Parser_Term_haveAssign___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -12292,7 +12343,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__1() _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__3; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__3; x_2 = l_Lean_Parser_Term_haveAssign___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -12307,7 +12358,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__2() _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11001____closed__4; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_11224____closed__4; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -12329,7 +12380,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_formatter___closed__4() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_haveAssign_formatter___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -12664,7 +12715,7 @@ static lean_object* _init_l_Lean_Parser_Term_haveAssign_parenthesizer___closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11053____closed__4; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11276____closed__4; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_typeAscription_parenthesizer___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -26539,7 +26590,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_o x_8 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; x_9 = lean_unsigned_to_nat(0u); x_10 = l_Lean_Parser_categoryParser___elambda__1(x_8, x_9, x_1, x_6); -x_11 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_11 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_12 = l_Lean_Parser_ParserState_mkNode(x_10, x_11, x_4); return x_12; } @@ -26548,7 +26599,7 @@ else lean_object* x_13; lean_object* x_14; lean_dec(x_7); lean_dec(x_1); -x_13 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_13 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_14 = l_Lean_Parser_ParserState_mkNode(x_6, x_13, x_4); return x_14; } @@ -26582,7 +26633,7 @@ static lean_object* _init_l_Lean_Parser_Term_letIdDecl___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_2 = l_Lean_Parser_Term_letIdDecl___closed__2; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -27014,8 +27065,8 @@ static lean_object* _init_l_Lean_Parser_Term_letDecl___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_let___closed__5; -x_2 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__5; +x_2 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_3 = l_Lean_Parser_Term_letDecl___closed__10; x_4 = 0; x_5 = l_Lean_Parser_nodeWithAntiquot(x_1, x_2, x_3, x_4); @@ -27192,7 +27243,7 @@ static lean_object* _init_l_Lean_Parser_Term_let___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -27202,7 +27253,7 @@ static lean_object* _init_l_Lean_Parser_Term_let___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_let___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; x_2 = l_Lean_Parser_Term_let___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -27213,7 +27264,7 @@ static lean_object* _init_l_Lean_Parser_Term_let___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_let___closed__3; +x_1 = l_Lean_Parser_Tactic_let___closed__2; x_2 = l_String_trim(x_1); return x_2; } @@ -27250,7 +27301,7 @@ static lean_object* _init_l_Lean_Parser_Term_let___elambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_2 = l_Lean_Parser_Term_let___elambda__1___closed__5; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -27320,7 +27371,7 @@ static lean_object* _init_l_Lean_Parser_Term_let___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_2 = l_Lean_Parser_Term_let___closed__3; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -27390,7 +27441,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_3 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_let; x_6 = lean_unsigned_to_nat(0u); @@ -27542,7 +27593,7 @@ lean_object* l_Lean_Parser_Term_letIdDecl_formatter(lean_object* x_1, lean_objec _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_6 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_7 = l_Lean_Parser_Term_letIdDecl_formatter___closed__4; x_8 = l_Lean_PrettyPrinter_Formatter_node_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -27722,8 +27773,8 @@ lean_object* l_Lean_Parser_Term_letDecl_formatter(lean_object* x_1, lean_object* _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; -x_6 = l_Lean_Parser_Tactic_let___closed__5; -x_7 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_6 = l_myMacro____x40_Init_Notation___hyg_8830____closed__5; +x_7 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_8 = l_Lean_Parser_Term_letDecl_formatter___closed__8; x_9 = 0; x_10 = l_Lean_Parser_nodeWithAntiquot_formatter(x_6, x_7, x_8, x_9, x_1, x_2, x_3, x_4, x_5); @@ -27734,7 +27785,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_let___closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__1; x_2 = l_Lean_Parser_Term_let___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -27749,7 +27800,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_let___closed__3; +x_1 = l_Lean_Parser_Tactic_let___closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -27801,7 +27852,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_formatter___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_2 = l_Lean_Parser_leadPrec; x_3 = l_Lean_Parser_Term_let_formatter___closed__6; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -27834,7 +27885,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_3 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_let_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -27984,7 +28035,7 @@ lean_object* l_Lean_Parser_Term_letIdDecl_parenthesizer(lean_object* x_1, lean_o _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__6; +x_6 = l_myMacro____x40_Init_Notation___hyg_8830____closed__8; x_7 = l_Lean_Parser_Term_letIdDecl_parenthesizer___closed__4; x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -28154,7 +28205,7 @@ lean_object* l_Lean_Parser_Term_letDecl_parenthesizer(lean_object* x_1, lean_obj _start: { lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; -x_6 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__4; +x_6 = l_myMacro____x40_Init_Notation___hyg_8830____closed__6; x_7 = l_Lean_Parser_Term_letDecl_parenthesizer___closed__7; x_8 = 0; x_9 = l_Lean_Parser_nodeWithAntiquot_parenthesizer___rarg(x_6, x_7, x_8, x_1, x_2, x_3, x_4, x_5); @@ -28220,7 +28271,7 @@ static lean_object* _init_l_Lean_Parser_Term_let_parenthesizer___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_1 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_2 = l_Lean_Parser_leadPrec; x_3 = l_Lean_Parser_Term_let_parenthesizer___closed__5; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -28253,7 +28304,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Array_myMacro____x40_Init_Data_Array_Subarray___hyg_1011____closed__1; +x_3 = l_myMacro____x40_Init_Notation___hyg_8830____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_let_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -32912,7 +32963,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -32922,7 +32973,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__2() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1; x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__1; x_3 = 1; x_4 = l_Lean_Parser_mkAntiquot(x_1, x_2, x_3); @@ -32933,7 +32984,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2; x_2 = l_String_trim(x_1); return x_2; } @@ -32952,7 +33003,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___elambda__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__4; x_3 = lean_alloc_closure((void*)(l_Lean_Parser_nodeFn), 4, 2); lean_closure_set(x_3, 0, x_1); @@ -32998,7 +33049,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_2 = l_Lean_Parser_Term_decide___closed__1; x_3 = l_Lean_Parser_nodeInfo(x_1, x_2); return x_3; @@ -33059,7 +33110,7 @@ _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_2 = l___kind_term____x40_Init_Notation___hyg_3____closed__16; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_4 = 1; x_5 = l_Lean_Parser_Term_decide; x_6 = lean_unsigned_to_nat(0u); @@ -33071,7 +33122,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__1() { _start: { lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__1; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__1; x_2 = l_Lean_Parser_Term_decide___elambda__1___closed__1; x_3 = 1; x_4 = lean_box(x_3); @@ -33086,7 +33137,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10673____closed__2; +x_1 = l_Lean_Parser_Tactic___kind_tactic____x40_Init_Notation___hyg_10896____closed__2; x_2 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Formatter_symbol_formatter), 6, 1); lean_closure_set(x_2, 0, x_1); return x_2; @@ -33096,7 +33147,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_formatter___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_Term_decide_formatter___closed__2; x_4 = lean_alloc_closure((void*)(l_Lean_Parser_leadingNode_formatter___boxed), 8, 3); @@ -33129,7 +33180,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_formatterAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_decide_formatter___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -33152,7 +33203,7 @@ static lean_object* _init_l_Lean_Parser_Term_decide_parenthesizer___closed__2() _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_1 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_2 = lean_unsigned_to_nat(1024u); x_3 = l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__3; x_4 = lean_alloc_closure((void*)(l_Lean_PrettyPrinter_Parenthesizer_leadingNode_parenthesizer___boxed), 8, 3); @@ -33185,7 +33236,7 @@ _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_PrettyPrinter_parenthesizerAttribute; -x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10708____closed__2; +x_3 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10931____closed__2; x_4 = l___regBuiltin_Lean_Parser_Term_decide_parenthesizer___closed__1; x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; @@ -42889,7 +42940,7 @@ lean_object* l_Lean_Parser_Tactic_seq1_formatter(lean_object* x_1, lean_object* _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_7 = l_Lean_Parser_Tactic_seq1_formatter___closed__2; x_8 = l_Lean_PrettyPrinter_Formatter_node_formatter(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -43011,7 +43062,7 @@ lean_object* l_Lean_Parser_Tactic_seq1_parenthesizer(lean_object* x_1, lean_obje _start: { lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10541____closed__2; +x_6 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_10764____closed__2; x_7 = l_Lean_Parser_Tactic_seq1_parenthesizer___closed__1; x_8 = l_Lean_PrettyPrinter_Parenthesizer_node_parenthesizer(x_6, x_7, x_1, x_2, x_3, x_4, x_5); return x_8; @@ -43540,7 +43591,7 @@ x_5 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_1); return x_5; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -43550,7 +43601,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__2() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__2() { _start: { lean_object* x_1; lean_object* x_2; @@ -43560,7 +43611,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__3() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -43570,7 +43621,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__4() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__4() { _start: { lean_object* x_1; lean_object* x_2; @@ -43580,7 +43631,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__5() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -43590,7 +43641,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__6() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__6() { _start: { lean_object* x_1; lean_object* x_2; @@ -43600,7 +43651,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__7() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__7() { _start: { lean_object* x_1; lean_object* x_2; @@ -43610,7 +43661,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__8() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -43620,7 +43671,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__9() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__9() { _start: { lean_object* x_1; lean_object* x_2; @@ -43630,7 +43681,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__10() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__10() { _start: { lean_object* x_1; lean_object* x_2; @@ -43640,7 +43691,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__11() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -43650,7 +43701,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__12() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -43660,7 +43711,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__13() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -43670,7 +43721,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__14() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__14() { _start: { lean_object* x_1; lean_object* x_2; @@ -43680,7 +43731,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__15() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -43690,7 +43741,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__16() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__16() { _start: { lean_object* x_1; lean_object* x_2; @@ -43700,7 +43751,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__17() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__17() { _start: { lean_object* x_1; lean_object* x_2; @@ -43710,7 +43761,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__18() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -43720,7 +43771,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__19() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -43730,7 +43781,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__20() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__20() { _start: { lean_object* x_1; lean_object* x_2; @@ -43740,7 +43791,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__21() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__21() { _start: { lean_object* x_1; lean_object* x_2; @@ -43750,13 +43801,13 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470_(lean_object* x_1) { +lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_2 = l_Lean_Parser_parserAliasesRef; -x_3 = l_Lean_Parser_Tactic_let___closed__6; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__1; +x_3 = l_Lean_Parser_Tactic_let___closed__4; +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__1; x_5 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_3, x_4, x_1); if (lean_obj_tag(x_5) == 0) { @@ -43765,7 +43816,7 @@ x_6 = lean_ctor_get(x_5, 1); lean_inc(x_6); lean_dec(x_5); x_7 = l_Lean_PrettyPrinter_Formatter_formatterAliasesRef; -x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__2; +x_8 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__2; x_9 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_3, x_8, x_6); if (lean_obj_tag(x_9) == 0) { @@ -43774,7 +43825,7 @@ x_10 = lean_ctor_get(x_9, 1); lean_inc(x_10); lean_dec(x_9); x_11 = l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef; -x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__3; +x_12 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__3; x_13 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_3, x_12, x_10); if (lean_obj_tag(x_13) == 0) { @@ -43783,7 +43834,7 @@ x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); lean_dec(x_13); x_15 = l_Lean_Parser_Tactic_have___closed__6; -x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__4; +x_16 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__4; x_17 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_15, x_16, x_14); if (lean_obj_tag(x_17) == 0) { @@ -43791,7 +43842,7 @@ lean_object* x_18; lean_object* x_19; lean_object* x_20; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__5; +x_19 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__5; x_20 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_15, x_19, x_18); if (lean_obj_tag(x_20) == 0) { @@ -43799,7 +43850,7 @@ lean_object* x_21; lean_object* x_22; lean_object* x_23; x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__6; +x_22 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__6; x_23 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_15, x_22, x_21); if (lean_obj_tag(x_23) == 0) { @@ -43808,7 +43859,7 @@ x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); x_25 = l_Lean_Parser_Tactic_suffices___closed__6; -x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__7; +x_26 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__7; x_27 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_25, x_26, x_24); if (lean_obj_tag(x_27) == 0) { @@ -43816,7 +43867,7 @@ lean_object* x_28; lean_object* x_29; lean_object* x_30; x_28 = lean_ctor_get(x_27, 1); lean_inc(x_28); lean_dec(x_27); -x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__8; +x_29 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__8; x_30 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_25, x_29, x_28); if (lean_obj_tag(x_30) == 0) { @@ -43824,7 +43875,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); lean_dec(x_30); -x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__9; +x_32 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__9; x_33 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_25, x_32, x_31); if (lean_obj_tag(x_33) == 0) { @@ -43833,7 +43884,7 @@ x_34 = lean_ctor_get(x_33, 1); lean_inc(x_34); lean_dec(x_33); x_35 = l_Lean_Parser_Tactic_letrec___closed__12; -x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__10; +x_36 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__10; x_37 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_35, x_36, x_34); if (lean_obj_tag(x_37) == 0) { @@ -43841,7 +43892,7 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_37, 1); lean_inc(x_38); lean_dec(x_37); -x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__11; +x_39 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__11; x_40 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_35, x_39, x_38); if (lean_obj_tag(x_40) == 0) { @@ -43849,7 +43900,7 @@ lean_object* x_41; lean_object* x_42; lean_object* x_43; x_41 = lean_ctor_get(x_40, 1); lean_inc(x_41); lean_dec(x_40); -x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__12; +x_42 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__12; x_43 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_35, x_42, x_41); if (lean_obj_tag(x_43) == 0) { @@ -43858,7 +43909,7 @@ x_44 = lean_ctor_get(x_43, 1); lean_inc(x_44); lean_dec(x_43); x_45 = l_Lean_Parser_Tactic_inductionAlt___closed__6; -x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__13; +x_46 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__13; x_47 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_45, x_46, x_44); if (lean_obj_tag(x_47) == 0) { @@ -43866,7 +43917,7 @@ lean_object* x_48; lean_object* x_49; lean_object* x_50; x_48 = lean_ctor_get(x_47, 1); lean_inc(x_48); lean_dec(x_47); -x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__14; +x_49 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__14; x_50 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_45, x_49, x_48); if (lean_obj_tag(x_50) == 0) { @@ -43874,7 +43925,7 @@ lean_object* x_51; lean_object* x_52; lean_object* x_53; x_51 = lean_ctor_get(x_50, 1); lean_inc(x_51); lean_dec(x_50); -x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__15; +x_52 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__15; x_53 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_45, x_52, x_51); if (lean_obj_tag(x_53) == 0) { @@ -43883,7 +43934,7 @@ x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); lean_dec(x_53); x_55 = l_Lean_Parser_Tactic_inductionAlt___closed__9; -x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__16; +x_56 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__16; x_57 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_55, x_56, x_54); if (lean_obj_tag(x_57) == 0) { @@ -43891,7 +43942,7 @@ lean_object* x_58; lean_object* x_59; lean_object* x_60; x_58 = lean_ctor_get(x_57, 1); lean_inc(x_58); lean_dec(x_57); -x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__17; +x_59 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__17; x_60 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_55, x_59, x_58); if (lean_obj_tag(x_60) == 0) { @@ -43899,7 +43950,7 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_60, 1); lean_inc(x_61); lean_dec(x_60); -x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__18; +x_62 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__18; x_63 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_55, x_62, x_61); if (lean_obj_tag(x_63) == 0) { @@ -43908,7 +43959,7 @@ x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); lean_dec(x_63); x_65 = l_Lean_Parser_Tactic_match___closed__6; -x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__19; +x_66 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__19; x_67 = l_Lean_Parser_registerAliasCore___rarg(x_2, x_65, x_66, x_64); if (lean_obj_tag(x_67) == 0) { @@ -43916,7 +43967,7 @@ lean_object* x_68; lean_object* x_69; lean_object* x_70; x_68 = lean_ctor_get(x_67, 1); lean_inc(x_68); lean_dec(x_67); -x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__20; +x_69 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__20; x_70 = l_Lean_Parser_registerAliasCore___rarg(x_7, x_65, x_69, x_68); if (lean_obj_tag(x_70) == 0) { @@ -43924,7 +43975,7 @@ lean_object* x_71; lean_object* x_72; lean_object* x_73; x_71 = lean_ctor_get(x_70, 1); lean_inc(x_71); lean_dec(x_70); -x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__21; +x_72 = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__21; x_73 = l_Lean_Parser_registerAliasCore___rarg(x_11, x_65, x_72, x_71); return x_73; } @@ -44834,6 +44885,8 @@ l_Lean_Parser_Term_type___elambda__1___closed__13 = _init_l_Lean_Parser_Term_typ lean_mark_persistent(l_Lean_Parser_Term_type___elambda__1___closed__13); l_Lean_Parser_Term_type___elambda__1___closed__14 = _init_l_Lean_Parser_Term_type___elambda__1___closed__14(); lean_mark_persistent(l_Lean_Parser_Term_type___elambda__1___closed__14); +l_Lean_Parser_Term_type___elambda__1___closed__15 = _init_l_Lean_Parser_Term_type___elambda__1___closed__15(); +lean_mark_persistent(l_Lean_Parser_Term_type___elambda__1___closed__15); l_Lean_Parser_Term_type___closed__1 = _init_l_Lean_Parser_Term_type___closed__1(); lean_mark_persistent(l_Lean_Parser_Term_type___closed__1); l_Lean_Parser_Term_type___closed__2 = _init_l_Lean_Parser_Term_type___closed__2(); @@ -44854,6 +44907,8 @@ l_Lean_Parser_Term_type___closed__9 = _init_l_Lean_Parser_Term_type___closed__9( lean_mark_persistent(l_Lean_Parser_Term_type___closed__9); l_Lean_Parser_Term_type___closed__10 = _init_l_Lean_Parser_Term_type___closed__10(); lean_mark_persistent(l_Lean_Parser_Term_type___closed__10); +l_Lean_Parser_Term_type___closed__11 = _init_l_Lean_Parser_Term_type___closed__11(); +lean_mark_persistent(l_Lean_Parser_Term_type___closed__11); l_Lean_Parser_Term_type = _init_l_Lean_Parser_Term_type(); lean_mark_persistent(l_Lean_Parser_Term_type); res = l___regBuiltinParser_Lean_Parser_Term_type(lean_io_mk_world()); @@ -44873,6 +44928,8 @@ l_Lean_Parser_Term_type_formatter___closed__6 = _init_l_Lean_Parser_Term_type_fo lean_mark_persistent(l_Lean_Parser_Term_type_formatter___closed__6); l_Lean_Parser_Term_type_formatter___closed__7 = _init_l_Lean_Parser_Term_type_formatter___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_type_formatter___closed__7); +l_Lean_Parser_Term_type_formatter___closed__8 = _init_l_Lean_Parser_Term_type_formatter___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_type_formatter___closed__8); l___regBuiltin_Lean_Parser_Term_type_formatter___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_type_formatter___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_type_formatter___closed__1); res = l___regBuiltin_Lean_Parser_Term_type_formatter(lean_io_mk_world()); @@ -44892,6 +44949,8 @@ l_Lean_Parser_Term_type_parenthesizer___closed__6 = _init_l_Lean_Parser_Term_typ lean_mark_persistent(l_Lean_Parser_Term_type_parenthesizer___closed__6); l_Lean_Parser_Term_type_parenthesizer___closed__7 = _init_l_Lean_Parser_Term_type_parenthesizer___closed__7(); lean_mark_persistent(l_Lean_Parser_Term_type_parenthesizer___closed__7); +l_Lean_Parser_Term_type_parenthesizer___closed__8 = _init_l_Lean_Parser_Term_type_parenthesizer___closed__8(); +lean_mark_persistent(l_Lean_Parser_Term_type_parenthesizer___closed__8); l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__1 = _init_l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__1(); lean_mark_persistent(l___regBuiltin_Lean_Parser_Term_type_parenthesizer___closed__1); res = l___regBuiltin_Lean_Parser_Term_type_parenthesizer(lean_io_mk_world()); @@ -50556,49 +50615,49 @@ lean_mark_persistent(l___regBuiltin_Lean_Parser_Level_quot_parenthesizer___close res = l___regBuiltin_Lean_Parser_Level_quot_parenthesizer(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__2(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__2); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__3(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__3); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__4(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__4); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__5(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__5); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__6(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__6); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__7(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__7); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__8(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__8); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__9(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__9); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__10(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__10); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__11(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__11); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__12(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__12); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__13(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__13); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__14(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__14); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__15(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__15); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__16(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__16); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__17(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__17); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__18(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__18); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__19(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__19); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__20(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__20); -l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__21(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470____closed__21); -res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3470_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__2 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__2(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__2); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__3 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__3(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__3); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__4 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__4(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__4); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__5 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__5(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__5); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__6 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__6(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__6); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__7 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__7(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__7); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__8 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__8(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__8); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__9 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__9(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__9); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__10 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__10(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__10); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__11 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__11(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__11); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__12 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__12(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__12); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__13 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__13(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__13); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__14 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__14(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__14); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__15 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__15(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__15); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__16 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__16(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__16); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__17 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__17(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__17); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__18 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__18(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__18); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__19 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__19(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__19); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__20 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__20(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__20); +l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__21 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__21(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476____closed__21); +res = l_Lean_Parser_initFn____x40_Lean_Parser_Term___hyg_3476_(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/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index 2acd0a6a1c..67cee243fe 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -288,7 +288,6 @@ lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer(le lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_2389____closed__6; lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer___boxed(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__21; lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__3; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -403,6 +402,7 @@ lean_object* lean_pretty_printer_parenthesizer_interpret_parser_descr(lean_objec lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___closed__9; lean_object* l_Lean_PrettyPrinter_Parenthesizer_identEq_parenthesizer(lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_interpretParserDescr___elambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern lean_object* l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; lean_object* l_Lean_PrettyPrinter_Parenthesizer_instMonadQuotationParenthesizerM; lean_object* l_Lean_PrettyPrinter_Parenthesizer_nonReservedSymbol_parenthesizer___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -7886,7 +7886,7 @@ _start: 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; x_5 = l_Array_empty___closed__1; x_6 = lean_array_push(x_5, x_1); -x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11283____closed__1; +x_7 = l_Lean_Parser_Tactic_myMacro____x40_Init_Notation___hyg_11506____closed__1; x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_6); diff --git a/stage0/stdlib/Lean/ResolveName.c b/stage0/stdlib/Lean/ResolveName.c index 83f19a8bcf..a7521aefb3 100644 --- a/stage0/stdlib/Lean/ResolveName.c +++ b/stage0/stdlib/Lean/ResolveName.c @@ -4315,41 +4315,53 @@ _start: switch (lean_obj_tag(x_3)) { case 0: { -lean_object* x_4; +uint8_t x_4; +x_4 = l_Lean_Environment_isNamespace(x_1, x_2); +if (x_4 == 0) +{ +lean_object* x_5; lean_dec(x_2); -x_4 = lean_box(0); -return x_4; +x_5 = lean_box(0); +return x_5; +} +else +{ +lean_object* x_6; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_2); +return x_6; +} } case 1: { -lean_object* x_5; lean_object* x_6; uint8_t x_7; -x_5 = lean_ctor_get(x_3, 0); +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_3, 0); lean_inc(x_2); -x_6 = l_Lean_Name_append(x_3, x_2); -x_7 = l_Lean_Environment_isNamespace(x_1, x_6); -if (x_7 == 0) +x_8 = l_Lean_Name_append(x_3, x_2); +x_9 = l_Lean_Environment_isNamespace(x_1, x_8); +if (x_9 == 0) { -lean_dec(x_6); -x_3 = x_5; +lean_dec(x_8); +x_3 = x_7; goto _start; } else { -lean_object* x_9; +lean_object* x_11; lean_dec(x_2); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_6); -return x_9; +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_8); +return x_11; } } default: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_2); -x_10 = lean_box(0); -x_11 = l_Lean_ResolveName_resolveNamespaceUsingScope___closed__3; -x_12 = lean_panic_fn(x_10, x_11); -return x_12; +x_12 = lean_box(0); +x_13 = l_Lean_ResolveName_resolveNamespaceUsingScope___closed__3; +x_14 = lean_panic_fn(x_12, x_13); +return x_14; } } } @@ -4567,70 +4579,58 @@ return x_2; lean_object* l_Lean_ResolveName_resolveNamespace_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -uint8_t x_5; -x_5 = l_Lean_Environment_isNamespace(x_1, x_4); -if (x_5 == 0) +lean_object* x_5; +lean_inc(x_4); +x_5 = l_Lean_ResolveName_resolveNamespaceUsingScope(x_1, x_4, x_2); +if (lean_obj_tag(x_5) == 0) { lean_object* x_6; -lean_inc(x_4); -x_6 = l_Lean_ResolveName_resolveNamespaceUsingScope(x_1, x_4, x_2); +x_6 = l_Lean_ResolveName_resolveNamespaceUsingOpenDecls(x_1, x_4, x_3); if (lean_obj_tag(x_6) == 0) { lean_object* x_7; -x_7 = l_Lean_ResolveName_resolveNamespaceUsingOpenDecls(x_1, x_4, x_3); -if (lean_obj_tag(x_7) == 0) -{ -lean_object* x_8; -x_8 = lean_box(0); -return x_8; -} -else -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_7); -if (x_9 == 0) -{ +x_7 = lean_box(0); return x_7; } else { -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_7, 0); -lean_inc(x_10); -lean_dec(x_7); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -return x_11; -} -} -} -else -{ -uint8_t x_12; -lean_dec(x_4); -x_12 = !lean_is_exclusive(x_6); -if (x_12 == 0) +uint8_t x_8; +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) { return x_6; } else { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_6, 0); -lean_inc(x_13); +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); lean_dec(x_6); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; } } } else { -lean_object* x_15; -x_15 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_15, 0, x_4); -return x_15; +uint8_t x_11; +lean_dec(x_4); +x_11 = !lean_is_exclusive(x_5); +if (x_11 == 0) +{ +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} } } }